[FFmpeg-cvslog] r17640 - trunk/libavcodec/h264.c
michael
subversion
Fri Feb 27 15:01:32 CET 2009
Author: michael
Date: Fri Feb 27 15:01:32 2009
New Revision: 17640
Log:
Fix SVQ3 regression since ticks_per_frame=2.
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c Fri Feb 27 11:07:12 2009 (r17639)
+++ trunk/libavcodec/h264.c Fri Feb 27 15:01:32 2009 (r17640)
@@ -2201,7 +2201,8 @@ static av_cold int decode_init(AVCodecCo
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;
}
More information about the ffmpeg-cvslog
mailing list