diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2007-02-28 03:28:31 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2007-02-28 03:28:31 +0000 |
commit | bb0eb714bd8343dfc69857914b99ccd3438430bf (patch) | |
tree | 7eae00cbd335b85068f201283c3e3ad91cdab47f /libavformat/nutdec.c | |
parent | c2a29455e348f136043a0b3a23637924413180dc (diff) | |
download | ffmpeg-bb0eb714bd8343dfc69857914b99ccd3438430bf.tar.gz |
get_packetheader() forgot to read the header_checksum in big packets
patch from Clemens Ladisch cladisch AT fastmail dot net
(stray base64 patch reverted in the next commits)
Originally committed as revision 8156 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nutdec.c')
-rw-r--r-- | libavformat/nutdec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index e158326273..ec1c04e0f9 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -104,6 +104,8 @@ static int get_packetheader(NUTContext *nut, ByteIOContext *bc, int calculate_ch // start= url_ftell(bc) - 8; size= get_v(bc); + if(size > 4096) + get_be32(bc); //FIXME check this init_checksum(bc, calculate_checksum ? av_crc04C11DB7_update : NULL, 0); |