X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fwcmv.c;h=384ceecd32f13b353a197e8d6f2c6405a0c6c30e;hb=27e30c73d722ec13e59753dea91be00859c72bf2;hp=233427f3fa5c2e5176cee2a1b686ae061660c593;hpb=ce265b0bf5d0c77a092a1f5fbeb652c7cdea5fc7;p=ffmpeg diff --git a/libavcodec/wcmv.c b/libavcodec/wcmv.c index 233427f3fa5..384ceecd32f 100644 --- a/libavcodec/wcmv.c +++ b/libavcodec/wcmv.c @@ -209,7 +209,7 @@ static av_cold int decode_init(AVCodecContext *avctx) int zret; switch (avctx->bits_per_coded_sample) { - case 16: avctx->pix_fmt = AV_PIX_FMT_RGB565; break; + case 16: avctx->pix_fmt = AV_PIX_FMT_RGB565LE; break; case 24: avctx->pix_fmt = AV_PIX_FMT_BGR24; break; case 32: avctx->pix_fmt = AV_PIX_FMT_BGRA; break; default: av_log(avctx, AV_LOG_ERROR, "Unsupported bits_per_coded_sample: %d\n",