You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avcodec/libxavs: Use frame_num instead of frame_number
Forgotten in 6b6f7db819.
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
			
			
This commit is contained in:
		| @@ -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, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user