mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-18 13:21:08 +00:00
swr: Fix ASSERT_LEVEL warning
Found-by: cehoyos Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
653bf3c5a1
commit
56f0fe6b84
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user