Hi,

On Tue, Apr 12, 2011 at 5:58 PM, Martin Storsjö <mar...@martin.st> wrote:
> ---
>  libavcodec/libopencore-amr.c |   16 ++++++++--------
>  libavcodec/libvo-amrwbenc.c  |    8 ++++----
>  2 files changed, 12 insertions(+), 12 deletions(-)

All OK.

>     if (avctx->sample_rate != 8000) {
>         av_log(avctx, AV_LOG_ERROR, "Only 8000Hz sample rate supported\n");
> -        return -1;
> +        return AVERROR(ENOSYS);
>     }

That (and similar checks for samplerate elsewhere) are a little crazy,
for me personally a warning would be good enough. But I won't insist
that it be changed, just thought it was weird...

Ronald
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to