[FFmpeg-cvslog] r21086 - trunk/libavfilter/formats.c
stefano
subversion
Fri Jan 8 09:19:18 CET 2010
Author: stefano
Date: Fri Jan 8 09:19:18 2010
New Revision: 21086
Log:
Fix compilation on gcc 2.95.3 (still supported) broken by r21077,
which was due to declaring variable after code.
Modified:
trunk/libavfilter/formats.c
Modified: trunk/libavfilter/formats.c
==============================================================================
--- trunk/libavfilter/formats.c Fri Jan 8 07:11:56 2010 (r21085)
+++ trunk/libavfilter/formats.c Fri Jan 8 09:19:18 2010 (r21086)
@@ -133,10 +133,12 @@ static int find_ref_index(AVFilterFormat
void avfilter_formats_unref(AVFilterFormats **ref)
{
+ int idx;
+
if (!*ref)
return;
- int idx = find_ref_index(ref);
+ idx = find_ref_index(ref);
if(idx >= 0)
memmove((*ref)->refs + idx, (*ref)->refs + idx+1,
More information about the ffmpeg-cvslog
mailing list