Revision f7a7c75c libavcodec/cinepak.c

View differences:

libavcodec/cinepak.c
365 365
    s->height = (avctx->height + 3) & ~3;
366 366

  
367 367
    // check for paletted data
368
    if (avctx->palctrl == NULL) {
368
    if ((avctx->palctrl == NULL) || (avctx->bits_per_sample == 40)) {
369 369
        s->palette_video = 0;
370 370
        avctx->pix_fmt = PIX_FMT_YUV420P;
371 371
    } else {

Also available in: Unified diff