[FFmpeg-cvslog] jpeg2000: enable 4 component pixel formats
Vittorio Giovara
git at videolan.org
Wed Aug 6 20:36:01 CEST 2014
ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Wed Aug 6 11:07:08 2014 +0100| [cbc808d726afdf53d866264722785c1304c17390] | committer: Vittorio Giovara
jpeg2000: enable 4 component pixel formats
Bug-Id: 721
CC: libav-stable at libav.org
Sample-Id: 31230.mov
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cbc808d726afdf53d866264722785c1304c17390
---
libavcodec/jpeg2000dec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the ffmpeg-cvslog
mailing list