Browse code

graphparser: fix the order in which unlabeled input links are returned.

Anton Khirnov authored on 2012/04/15 21:52:00
Showing 1 changed files
... ...
@@ -242,7 +242,7 @@ static int link_filter_inouts(AVFilterContext *filt_ctx,
242 242
         } else {
243 243
             p->filter_ctx = filt_ctx;
244 244
             p->pad_idx = pad;
245
-            insert_inout(open_inputs, p);
245
+            append_inout(open_inputs, &p);
246 246
         }
247 247
     }
248 248