aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorAlexander Strange <astrange@ithinksw.com>2010-03-15 02:33:49 +0000
committerAlexander Strange <astrange@ithinksw.com>2010-03-15 02:33:49 +0000
commitd55065a29fcd8b0189451403d294e6e6d51d2f95 (patch)
tree468fdb1a7bfdfe90c0029faead269baa63826edf /ffmpeg.c
parent47b229dbabfebf3ae0b45583514e8f282ca612a8 (diff)
downloadffmpeg-d55065a29fcd8b0189451403d294e6e6d51d2f95.tar.gz
ffmpeg: Combine variable declaration and definition
Originally committed as revision 22537 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 9e79eaadd5..3bc751c0d4 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -916,8 +916,7 @@ static void do_video_out(AVFormatContext *s,
*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;