[FFmpeg-devel] [FFmpeg-cvslog] avcodec/wcmv: fix output on big-endian with rgb565 format

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Sep 8 17:06:42 EEST 2018


2018-09-08 15:51 GMT+02:00, Paul B Mahol <git at videolan.org>:
> ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Sep  8
> 15:48:53 2018 +0200| [af71a3ff3eb86c349bf7de09bea47575c4a882f7] | committer:
> Paul B Mahol
>
> avcodec/wcmv: fix output on big-endian with rgb565 format
>
>> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=af71a3ff3eb86c349bf7de09bea47575c4a882f7
> ---
>
>  libavcodec/wcmv.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/wcmv.c b/libavcodec/wcmv.c
> index 233427f3fa..384ceecd32 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;

Thank you, I had seen it but forgot...

Carl Eugen


More information about the ffmpeg-devel mailing list