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>
Sat, 26 Nov 2016 23:38:56 +0000 (00:38 +0100)
commite6197a6ce986af0d2f29ed0b649f3ed531a6d66e
tree43adbf8c53c18961fdef1e526c1c6664730e4f6c
parente78d9f3f35e379ab7da729360e3eb5ad39c150fa
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>
(cherry picked from commit 5249706e9d2ec5ed1b07d8ffdbb8fb9104261f6d)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavcodec/mpegaudio_parser.c