Fix red/blue swap for 4xa files.
Originally committed as revision 21070 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
99c5f5ccbe
commit
59043195d4
1 changed files with 1 additions and 1 deletions
|
|
@ -815,7 +815,7 @@ static av_cold int decode_init(AVCodecContext *avctx){
|
|||
init_vlcs(f);
|
||||
|
||||
if(f->version>2) avctx->pix_fmt= PIX_FMT_RGB565;
|
||||
else avctx->pix_fmt= PIX_FMT_RGB555;
|
||||
else avctx->pix_fmt= PIX_FMT_BGR555;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue