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:28:04 +0000 (00:28 +0100)
commita40189348710e37fe25fc72ef71a05ec53c138f1
treeb91113894e3d2e0e0e28f0c1d9c5a863d0e0abb3
parent50d34cbf5ac86a42d3273765ce8292a06ae11158
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