Commit a78209e6 authored by stefano's avatar stefano

Fix compilation on gcc 2.95.3 (still supported) broken by r21077,

which was due to declaring variable after code.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21086 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 83658fe2
......@@ -133,10 +133,12 @@ static int find_ref_index(AVFilterFormats **ref)
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,
......
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