mpegaudio_parser: don't return AVERROR_PATCHWELCOME
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Mon, 7 Nov 2016 00:16:14 +0000 (01:16 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Mon, 7 Nov 2016 18:41:17 +0000 (19:41 +0100)
commit5249706e9d2ec5ed1b07d8ffdbb8fb9104261f6d
tree01688a44e335e1e8307fbbc7930b04aa31f6274a
parent73ce1d864c6aec282febea5e891d41c44783db79
mpegaudio_parser: don't return AVERROR_PATCHWELCOME

The API does not allow returning AVERROR codes.

It triggers an assert in av_parser_parse2.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavcodec/mpegaudio_parser.c