diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-08 21:16:06 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-08 21:16:06 +0300 |
commit | 56f0fe6b8434d25917c41a343323950291d8db21 (patch) | |
tree | 8a2eab3a22a69684db1645b6bff68c43eacb2d0b | |
parent | 653bf3c5a1505bbe2ae8c1c0899e79f4c84bc94a (diff) |
swr: Fix ASSERT_LEVEL warning
Found-by: cehoyos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libswresample/swresample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/swresample.c b/libswresample/swresample.c index 8e9efb2099..ab02bac89a 100644 --- a/libswresample/swresample.c +++ b/libswresample/swresample.c @@ -693,7 +693,7 @@ int attribute_align_arg swr_convert(struct SwrContext *s, uint8_t *out_arg[SWR_C av_log(s, AV_LOG_ERROR, "Context has not been initialized\n"); return AVERROR(EINVAL); } -#if ASSERT_LEVEL >1 +#if defined(ASSERT_LEVEL) && ASSERT_LEVEL >1 max_output = swr_get_out_samples(s, in_count); #endif |