Commit 5625dfe7 authored by michael's avatar michael

set pix_fmt properly depending on version


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10095 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5b180f3a
......@@ -787,7 +787,8 @@ static int decode_init(AVCodecContext *avctx){
common_init(avctx);
init_vlcs(f);
avctx->pix_fmt= PIX_FMT_RGB565;
if(f->version) avctx->pix_fmt= PIX_FMT_RGB565;
else avctx->pix_fmt= PIX_FMT_RGB555;
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment