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:46:33 +0000 (00:46 +0100)
commitf964046c58fb4ce4aaa31e5ed196f9336e03481b
tree8a3779ab74b17195ff327120198b473266718dae
parent0cc619e0d7567894bc0f92de963be050c3679492
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