mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-08 23:58:51 +00:00
parent
c93ccf5a4c
commit
183880cfc4
@ -123,7 +123,7 @@ static int decode_frame(AVCodecContext *avctx,
|
|||||||
s->nb_planes = (tmp >> 4) + 1;
|
s->nb_planes = (tmp >> 4) + 1;
|
||||||
bpp = bits_per_plane * s->nb_planes;
|
bpp = bits_per_plane * s->nb_planes;
|
||||||
if (bits_per_plane > 8 || bpp < 1 || bpp > 32) {
|
if (bits_per_plane > 8 || bpp < 1 || bpp > 32) {
|
||||||
avpriv_request_sample(s, "Unsupported bit depth");
|
avpriv_request_sample(avctx, "Unsupported bit depth");
|
||||||
return AVERROR_PATCHWELCOME;
|
return AVERROR_PATCHWELCOME;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user