Mercurial > libavcodec.hg
changeset 5533:8708867078ba libavcodec
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)
author | michael |
---|---|
date | Mon, 13 Aug 2007 00:55:39 +0000 |
parents | f0bee2532ecf |
children | 1c8999a3f193 |
files | 4xm.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/4xm.c Mon Aug 13 00:53:55 2007 +0000 +++ b/4xm.c Mon Aug 13 00:55:39 2007 +0000 @@ -340,7 +340,7 @@ 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);