forked from FFmpeg/FFmpeg
ffmpeg: Combine variable declaration and definition
Originally committed as revision 22537 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
47b229dbab
commit
d55065a29f
1 changed files with 1 additions and 2 deletions
3
ffmpeg.c
3
ffmpeg.c
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue