diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-30 17:00:43 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-30 18:37:56 +0200 |
commit | 9ccc9f30f7b66fce2995b8701c2b0e82f6700390 (patch) | |
tree | c3c194878d280ac3c03a10bd40458c6ca24e47eb | |
parent | 7836583934060d31fe1f19734fa4b41b9088bfa8 (diff) | |
download | ffmpeg-9ccc9f30f7b66fce2995b8701c2b0e82f6700390.tar.gz |
jpeg2000: drop red-blue swap
This should no longer be needed as the pix fmt was updated
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/jpeg2000dec.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index 08ac3dcdd4..fd9295e687 100644 --- a/libavcodec/jpeg2000dec.c +++ b/libavcodec/jpeg2000dec.c @@ -1070,11 +1070,6 @@ static int jpeg2000_decode_tile(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile, if (tile->codsty[0].mct) mct_decode(s, tile); - if (s->avctx->pix_fmt == AV_PIX_FMT_BGRA) { // RGBA -> BGRA - FFSWAP(float *, tile->comp[0].f_data, tile->comp[2].f_data); - FFSWAP(int *, tile->comp[0].i_data, tile->comp[2].i_data); - } - if (s->precision <= 8) { for (compno = 0; compno < s->ncomponents; compno++) { Jpeg2000Component *comp = tile->comp + compno; |