summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <[email protected]>2014-08-06 11:07:08 +0100
committerVittorio Giovara <[email protected]>2014-08-06 12:44:35 +0100
commit6598aaea1ad2cf82d40abb191ac26a5e4e5147ba (patch)
tree41292256878373f7383c66b93ce430894d375580
parenta5992a274ff5f6c4bec3445cb410da0adce8ef70 (diff)
jpeg2000: enable 4 component pixel formats
Bug-Id: 721 CC: [email protected] Sample-Id: 31230.mov
-rw-r--r--libavcodec/jpeg2000dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index cc154c3522..3b4efc3f6f 100644
--- a/libavcodec/jpeg2000dec.c
+++ b/libavcodec/jpeg2000dec.c
@@ -178,7 +178,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;