avfilter/avfiltergraph: fix check using the wrong variables

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-07-25 16:53:39 +02:00
parent 0815b23062
commit 6bde1e9d14
1 changed files with 1 additions and 1 deletions

View 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);