OSDN Git Service

avfilter/avfiltergraph: fix check using the wrong variables
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 25 Jul 2013 14:53:39 +0000 (16:53 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 25 Jul 2013 14:53:39 +0000 (16:53 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/avfiltergraph.c

index 9af0e90..2f6f2fd 100644 (file)
@@ -379,7 +379,7 @@ static int can_merge_formats(AVFilterFormats *a_arg,
                              int is_sample_rate)
 {
     AVFilterFormats *a, *b, *ret;
-    if (a == b)
+    if (a_arg == b_arg)
         return 1;
     a = clone_filter_formats(a_arg);
     b = clone_filter_formats(b_arg);