diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-08-06 11:07:08 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-08-06 12:23:21 +0100 |
commit | cbc808d726afdf53d866264722785c1304c17390 (patch) | |
tree | 89355c16dc1a9d4768dd64f8abce2acf830245a4 | |
parent | a7153444df9040bf6ae103e0bbf6104b66f974cb (diff) | |
download | ffmpeg-cbc808d726afdf53d866264722785c1304c17390.tar.gz |
jpeg2000: enable 4 component pixel formats
Bug-Id: 721
CC: libav-stable@libav.org
Sample-Id: 31230.mov
-rw-r--r-- | libavcodec/jpeg2000dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index 7d081eadd1..aed9b2bda0 100644 --- a/libavcodec/jpeg2000dec.c +++ b/libavcodec/jpeg2000dec.c @@ -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; |