Message ID | AS8P250MB07442726E07303947DAC79678FB89@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | 7f825d3335e7612c3ce47975ebfe59bd1c418ea4 |
Headers | show |
Series | [FFmpeg-devel,1/3] avcodec/libxavs: Use frame_num instead of frame_number | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
On Sun, 12 Mar 2023, Andreas Rheinhardt wrote: > Forgotten in 6b6f7db81932f94876ff4bcfd2da0582b8ab897e. This and the next similar patch in the series LGTM. Thanks, Marton > > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> > --- > libavcodec/libxavs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/libxavs.c b/libavcodec/libxavs.c > index 9ed73d1042..6c29539f24 100644 > --- a/libavcodec/libxavs.c > +++ b/libavcodec/libxavs.c > @@ -141,7 +141,7 @@ static int XAVS_frame(AVCodecContext *avctx, AVPacket *pkt, > > x4->pic.i_pts = frame->pts; > x4->pic.i_type = XAVS_TYPE_AUTO; > - x4->pts_buffer[avctx->frame_number % (avctx->max_b_frames+1)] = frame->pts; > + x4->pts_buffer[avctx->frame_num % (avctx->max_b_frames+1)] = frame->pts; > } > > if (xavs_encoder_encode(x4->enc, &nal, &nnal, > -- > 2.34.1 > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". >
diff --git a/libavcodec/libxavs.c b/libavcodec/libxavs.c index 9ed73d1042..6c29539f24 100644 --- a/libavcodec/libxavs.c +++ b/libavcodec/libxavs.c @@ -141,7 +141,7 @@ static int XAVS_frame(AVCodecContext *avctx, AVPacket *pkt, x4->pic.i_pts = frame->pts; x4->pic.i_type = XAVS_TYPE_AUTO; - x4->pts_buffer[avctx->frame_number % (avctx->max_b_frames+1)] = frame->pts; + x4->pts_buffer[avctx->frame_num % (avctx->max_b_frames+1)] = frame->pts; } if (xavs_encoder_encode(x4->enc, &nal, &nnal,
Forgotten in 6b6f7db81932f94876ff4bcfd2da0582b8ab897e. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/libxavs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)