diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index f45ff4c..05ed7ff 100644
|
a
|
b
|
static int raw_decode(AVCodecContext *avctx, void *data, int *got_frame,
|
| 262 | 262 | avctx->pix_fmt==AV_PIX_FMT_RGB555BE || |
| 263 | 263 | avctx->pix_fmt==AV_PIX_FMT_RGB565LE || |
| 264 | 264 | avctx->pix_fmt==AV_PIX_FMT_MONOWHITE || |
| 265 | | avctx->pix_fmt==AV_PIX_FMT_PAL8) && |
| 266 | | FFALIGN(frame->linesize[0], linesize_align) * avctx->height <= buf_size) |
| | 265 | avctx->pix_fmt==AV_PIX_FMT_PAL8)/* && |
| | 266 | FFALIGN(frame->linesize[0], linesize_align) * avctx->height <= buf_size*/) |
| 267 | 267 | frame->linesize[0] = FFALIGN(frame->linesize[0], linesize_align); |
| 268 | 268 | |
| 269 | 269 | if (avctx->pix_fmt == AV_PIX_FMT_NV12 && avctx->codec_tag == MKTAG('N', 'V', '1', '2') && |