[SCM] libav/experimental: jpeg2000: enable 4 component pixel formats
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Aug 10 16:04:14 UTC 2014
The following commit has been merged in the experimental branch:
commit cbc808d726afdf53d866264722785c1304c17390
Author: Vittorio Giovara <vittorio.giovara at gmail.com>
Date: Wed Aug 6 11:07:08 2014 +0100
jpeg2000: enable 4 component pixel formats
Bug-Id: 721
CC: libav-stable at libav.org
Sample-Id: 31230.mov
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index 7d081ea..aed9b2b 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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list