This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
set pix_fmt properly depending on version
Originally committed as revision 10095 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer
18 years ago
parent
70bbeb6fbf
commit
cf786021a6
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
libavcodec/4xm.c
+ 2
- 1
libavcodec/4xm.c
View File
@@ -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;
}
Write
Preview
Loading…
Cancel
Save