Merge commit '9fb0de86b49e9fb0709a8ad1e1875e35da841887'
* commit '9fb0de86b49e9fb0709a8ad1e1875e35da841887': pcx: Consume the whole packet if giving up due to missing palette Conflicts: libavcodec/pcx.c See: b4e516e30e7004a0454a9009080c4de38987189a Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
a612bb3099
@ -174,7 +174,7 @@ static int pcx_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
|
||||
}
|
||||
if (bytestream2_get_byte(&gb) != 12) {
|
||||
av_log(avctx, AV_LOG_ERROR, "expected palette after image data\n");
|
||||
ret = AVERROR_INVALIDDATA;
|
||||
ret = avpkt->size;
|
||||
goto end;
|
||||
}
|
||||
} else if (nplanes == 1) { /* all packed formats, max. 16 colors */
|
||||
|
Loading…
x
Reference in New Issue
Block a user