mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
jpeg2000: enable 4 component pixel formats
Bug-Id: 721 CC: libav-stable@libav.org Sample-Id: 31230.mov
This commit is contained in:
parent
a7153444df
commit
cbc808d726
@ -181,7 +181,7 @@ static int get_siz(Jpeg2000DecoderContext *s)
|
|||||||
return AVERROR_INVALIDDATA;
|
return AVERROR_INVALIDDATA;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ncomponents > 3) {
|
if (ncomponents > 4) {
|
||||||
avpriv_request_sample(s->avctx, "Support for %d components",
|
avpriv_request_sample(s->avctx, "Support for %d components",
|
||||||
s->ncomponents);
|
s->ncomponents);
|
||||||
return AVERROR_PATCHWELCOME;
|
return AVERROR_PATCHWELCOME;
|
||||||
|
Loading…
Reference in New Issue
Block a user