mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 17:32:06 +00:00
avcodec/libxavs: Use frame_num instead of frame_number
Forgotten in 6b6f7db81932f94876ff4bcfd2da0582b8ab897e. Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
fba9d9609f
commit
7f825d3335
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user