diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-03-08 11:21:33 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-03-08 11:21:33 +0000 |
commit | 952c69c479254496641014f03a51ed0cfd126c1d (patch) | |
tree | db9443e66ccc98a28a929106833f1b9fbaf6dabc /libavformat/avidec.c | |
parent | b559b29b1f9a8ce38f6d23fa4740b74bd5566bd5 (diff) | |
download | ffmpeg-952c69c479254496641014f03a51ed0cfd126c1d.tar.gz |
huffyuv encoding fixed
Originally committed as revision 1647 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index cfbcc37911..956191a985 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -174,6 +174,9 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap) 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); |