Mercurial > libavformat.hg
diff avidec.c @ 76:d03c70b7b50d libavformat
huffyuv encoding fixed
author | michaelni |
---|---|
date | Sat, 08 Mar 2003 11:21:33 +0000 |
parents | 78bec272ce3a |
children | f1ea9a26edca |
line wrap: on
line diff
--- a/avidec.c Sat Mar 08 10:57:44 2003 +0000 +++ b/avidec.c Sat Mar 08 11:21:33 2003 +0000 @@ -174,6 +174,9 @@ st->codec.extradata_size= size - 10*4; st->codec.extradata= av_malloc(st->codec.extradata_size); //FIXME where should we free this? get_buffer(pb, st->codec.extradata, st->codec.extradata_size); + + if(st->codec.extradata_size & 1) //FIXME check if the encoder really did this correctly + get_byte(pb); #ifdef DEBUG print_tag("video", tag1, 0);