OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47b229d
)
ffmpeg: Combine variable declaration and definition
author
Alexander Strange
<astrange@ithinksw.com>
Mon, 15 Mar 2010 02:33:49 +0000
(
02:33
+0000)
committer
Alexander Strange
<astrange@ithinksw.com>
Mon, 15 Mar 2010 02:33:49 +0000
(
02:33
+0000)
Originally committed as revision 22537 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
9e79eaa
..
3bc751c
100644
(file)
--- 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;