Commit f786c20a authored by astrange's avatar astrange

ffmpeg: Combine variable declaration and definition


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22537 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a3e856b4
...@@ -916,8 +916,7 @@ static void do_video_out(AVFormatContext *s, ...@@ -916,8 +916,7 @@ static void do_video_out(AVFormatContext *s,
*frame_size = 0; *frame_size = 0;
if(video_sync_method){ if(video_sync_method){
double vdelta; double vdelta = sync_ipts - ost->sync_opts;
vdelta = sync_ipts - ost->sync_opts;
//FIXME set to 0.5 after we fix some dts/pts bugs like in avidec.c //FIXME set to 0.5 after we fix some dts/pts bugs like in avidec.c
if (vdelta < -1.1) if (vdelta < -1.1)
nb_frames = 0; nb_frames = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment