jpeg2000: enable 4 component pixel formats

Bug-Id: 721
CC: libav-stable@libav.org
Sample-Id: 31230.mov
This commit is contained in:
Vittorio Giovara 2014-08-06 11:07:08 +01:00
parent a7153444df
commit cbc808d726
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ static int get_siz(Jpeg2000DecoderContext *s)
return AVERROR_INVALIDDATA;
}
if (ncomponents > 3) {
if (ncomponents > 4) {
avpriv_request_sample(s->avctx, "Support for %d components",
s->ncomponents);
return AVERROR_PATCHWELCOME;