Revision a80459fd
libavcodec/libopenjpeg.c | ||
---|---|---|
131 | 131 |
} |
132 | 132 |
break; |
133 | 133 |
case 4: has_alpha = 1; |
134 |
avctx->pix_fmt = PIX_FMT_RGB32;
|
|
134 |
avctx->pix_fmt = PIX_FMT_RGBA;
|
|
135 | 135 |
break; |
136 | 136 |
default: av_log(avctx, AV_LOG_ERROR, "%d components unsupported.\n", image->numcomps); |
137 | 137 |
goto done; |
Also available in: Unified diff