Commit 5b180f3a authored by michael's avatar michael

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)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10094 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e8fb8848
......@@ -340,7 +340,7 @@ static int decode_p_frame(FourXContext *f, uint8_t *buf, int length){
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);
......
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