diff nutdec.c @ 1820:ec025d5fbbe2 libavformat

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)
author lu_zero
date Wed, 28 Feb 2007 03:28:31 +0000
parents 1c6ee4cf8a38
children eb9eeef16bdb
line wrap: on
line diff
--- a/nutdec.c	Tue Feb 27 16:05:19 2007 +0000
+++ b/nutdec.c	Wed Feb 28 03:28:31 2007 +0000
@@ -104,6 +104,8 @@
 //    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);