Commit d55065a2 authored by Alexander Strange's avatar Alexander Strange
Browse files

ffmpeg: Combine variable declaration and definition

Originally committed as revision 22537 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 47b229db
......@@ -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;
......
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