Revision 7c7d3abf libavcodec/motionpixels.c

View differences:

libavcodec/motionpixels.c
112 112
    mp->offset_bits_len = av_log2(avctx->width * avctx->height) + 1;
113 113
    mp->vpt = av_mallocz(avctx->height * sizeof(YuvPixel));
114 114
    mp->hpt = av_mallocz(avctx->height * avctx->width / 16 * sizeof(YuvPixel));
115
    avctx->pix_fmt = PIX_FMT_RGB555;
115 116
    return 0;
116 117
}
117 118

  

Also available in: Unified diff