[FFmpeg-cvslog] r10094 - trunk/libavcodec/4xm.c
michael
subversion
Mon Aug 13 02:55:39 CEST 2007
Author: michael
Date: Mon Aug 13 02:55:39 2007
New Revision: 10094
Log:
use version instead of some random 32bit value to switch between 16 and
32bit versions (this is more reliable, the old code failed on some files)
Modified:
trunk/libavcodec/4xm.c
Modified: trunk/libavcodec/4xm.c
==============================================================================
--- trunk/libavcodec/4xm.c (original)
+++ trunk/libavcodec/4xm.c Mon Aug 13 02:55:39 2007
@@ -340,7 +340,7 @@ static int decode_p_frame(FourXContext *
const int stride= f->current_picture.linesize[0]>>1;
unsigned int bitstream_size, bytestream_size, wordstream_size, extra;
- if(!get32(buf-4)){
+ if(f->version){
extra=20;
bitstream_size= get32(buf+8);
wordstream_size= get32(buf+12);
More information about the ffmpeg-cvslog
mailing list