swr: Fix ASSERT_LEVEL warning

Found-by: cehoyos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-06-08 20:16:06 +02:00
parent 653bf3c5a1
commit 56f0fe6b84

View File

@ -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"); av_log(s, AV_LOG_ERROR, "Context has not been initialized\n");
return AVERROR(EINVAL); return AVERROR(EINVAL);
} }
#if ASSERT_LEVEL >1 #if defined(ASSERT_LEVEL) && ASSERT_LEVEL >1
max_output = swr_get_out_samples(s, in_count); max_output = swr_get_out_samples(s, in_count);
#endif #endif