diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index d48cbed..ffa0574 100644
|
a
|
b
|
static int raw_decode(AVCodecContext *avctx,
|
| 199 | 199 | avctx->pix_fmt==PIX_FMT_RGB555LE || |
| 200 | 200 | avctx->pix_fmt==PIX_FMT_RGB555BE || |
| 201 | 201 | avctx->pix_fmt==PIX_FMT_RGB565LE || |
| | 202 | avctx->pix_fmt==PIX_FMT_NV12 || |
| 202 | 203 | avctx->pix_fmt==PIX_FMT_PAL8) && |
| 203 | 204 | ((frame->linesize[0]+3)&~3)*avctx->height <= buf_size) |
| 204 | 205 | frame->linesize[0] = (frame->linesize[0]+3)&~3; |
| | 206 | if (avctx->pix_fmt==PIX_FMT_NV12) |
| | 207 | frame->linesize[1] = (frame->linesize[1]+3)&~3; |
| 205 | 208 | |
| 206 | 209 | if(context->flip) |
| 207 | 210 | flip(avctx, picture); |