History

avcodec/wcmv: fix output on big-endian with rgb565 format

Paul B Mahol committed 8 years ago

Commit af71a3f1 parent d8ad8fd1 file · +1 −1Browse files

Unified · Split

libavcodec/wcmv.c+1−1
@@ -209,7 +209,7 @@ static av_cold int decode_init(AVCodecContext *avctx) · 208 unmodified lines
209209 int zret;
210210
211211 switch (avctx->bits_per_coded_sample) {
212− case 16: avctx->pix_fmt = AV_PIX_FMT_RGB565; break;
212+ case 16: avctx->pix_fmt = AV_PIX_FMT_RGB565LE; break;
213213 case 24: avctx->pix_fmt = AV_PIX_FMT_BGR24; break;
214214 case 32: avctx->pix_fmt = AV_PIX_FMT_BGRA; break;
215215 default: av_log(avctx, AV_LOG_ERROR, "Unsupported bits_per_coded_sample: %d\n",

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t