Browse Source

Fix SVQ3 regression since ticks_per_frame=2.

Originally committed as revision 17640 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 16 years ago
parent
commit
19df37a8a6
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavcodec/h264.c

+ 2
- 1
libavcodec/h264.c View File

@@ -2201,7 +2201,8 @@ static av_cold int decode_init(AVCodecContext *avctx){
h->sei_dpb_output_delay = 0;
h->sei_cpb_removal_delay = -1;
h->sei_buffering_period_present = 0;
avctx->ticks_per_frame = 2;
if(avctx->codec_id == CODEC_ID_H264)
avctx->ticks_per_frame = 2;
return 0;
}



Loading…
Cancel
Save