Commit cf85a20d authored by Mats Peterson's avatar Mats Peterson Committed by Michael Niedermayer

lavc/rawdec: Align AV_PIX_FMT_RGB24 correctly

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 3a4232a1
......@@ -384,7 +384,8 @@ static int raw_decode(AVCodecContext *avctx, void *data, int *got_frame,
}
}
if ((avctx->pix_fmt==AV_PIX_FMT_BGR24 ||
if ((avctx->pix_fmt==AV_PIX_FMT_RGB24 ||
avctx->pix_fmt==AV_PIX_FMT_BGR24 ||
avctx->pix_fmt==AV_PIX_FMT_GRAY8 ||
avctx->pix_fmt==AV_PIX_FMT_RGB555LE ||
avctx->pix_fmt==AV_PIX_FMT_RGB555BE ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment