mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-30 12:56:44 +08:00
Fix SVQ3 regression since ticks_per_frame=2.
Originally committed as revision 17640 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -2201,6 +2201,7 @@ static av_cold int decode_init(AVCodecContext *avctx){
|
|||||||
h->sei_dpb_output_delay = 0;
|
h->sei_dpb_output_delay = 0;
|
||||||
h->sei_cpb_removal_delay = -1;
|
h->sei_cpb_removal_delay = -1;
|
||||||
h->sei_buffering_period_present = 0;
|
h->sei_buffering_period_present = 0;
|
||||||
|
if(avctx->codec_id == CODEC_ID_H264)
|
||||||
avctx->ticks_per_frame = 2;
|
avctx->ticks_per_frame = 2;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user