Author: ramiro
Date: Wed Jun 25 03:12:16 2008
New Revision: 2573

Log:
There must be at least 4 bytes to start with.

Modified:
   mlp/mlpdec.c

Modified: mlp/mlpdec.c
==============================================================================
--- mlp/mlpdec.c        (original)
+++ mlp/mlpdec.c        Wed Jun 25 03:12:16 2008
@@ -975,7 +975,7 @@ static int read_access_unit(AVCodecConte
     uint8_t parity_bits = 0;
     int i;
 
-    if (buf_size < 2)
+    if (buf_size < 4)
         return 0;
 
     bytes_left = length = (AV_RB16(buf) & 0xfff) * 2;
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to