Browse Source

swr: Fix ASSERT_LEVEL warning

Found-by: cehoyos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Michael Niedermayer 10 years ago
parent
commit
56f0fe6b84
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libswresample/swresample.c

+ 1
- 1
libswresample/swresample.c 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");
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…
Cancel
Save