Mercurial > libavcodec.hg
changeset 10737:adf750125dc9 libavcodec
Fix colours for QT JPEG2000, fixes issue 1540.
author | cehoyos |
---|---|
date | Tue, 29 Dec 2009 12:00:28 +0000 |
parents | 8a9b0b693a30 |
children | 683acf1e6c17 |
files | libopenjpeg.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libopenjpeg.c Tue Dec 29 11:53:51 2009 +0000 +++ b/libopenjpeg.c Tue Dec 29 12:00:28 2009 +0000 @@ -131,7 +131,7 @@ } break; case 4: has_alpha = 1; - avctx->pix_fmt = PIX_FMT_RGB32; + avctx->pix_fmt = PIX_FMT_RGBA; break; default: av_log(avctx, AV_LOG_ERROR, "%d components unsupported.\n", image->numcomps); goto done;