[FFmpeg-cvslog] r22537 - trunk/ffmpeg.c
astrange
subversion
Mon Mar 15 03:33:49 CET 2010
Author: astrange
Date: Mon Mar 15 03:33:49 2010
New Revision: 22537
Log:
ffmpeg: Combine variable declaration and definition
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c Mon Mar 15 03:32:21 2010 (r22536)
+++ trunk/ffmpeg.c Mon Mar 15 03:33:49 2010 (r22537)
@@ -916,8 +916,7 @@ static void do_video_out(AVFormatContext
*frame_size = 0;
if(video_sync_method){
- double vdelta;
- vdelta = sync_ipts - ost->sync_opts;
+ double vdelta = sync_ipts - ost->sync_opts;
//FIXME set to 0.5 after we fix some dts/pts bugs like in avidec.c
if (vdelta < -1.1)
nb_frames = 0;
More information about the ffmpeg-cvslog
mailing list