# HG changeset patch # User jbr # Date 1236219695 0 # Node ID f32faa6e149bd223f750b61ab5e40f7ffbb96ab0 # Parent ebad2cb9e015d5e62ddd0b8e43d5385f633d751c flacdec: 10l to me. I miscalculated the smallest FLAC frame. It is 16 bytes, not 24. diff -r ebad2cb9e015 -r f32faa6e149b flacdec.c --- a/flacdec.c Thu Mar 05 01:23:53 2009 +0000 +++ b/flacdec.c Thu Mar 05 02:21:35 2009 +0000 @@ -651,7 +651,7 @@ /* check that there is at least the smallest decodable amount of data. this amount corresponds to the smallest valid FLAC frame possible. */ - if (buf_size < 24) + if (buf_size < 16) goto end; /* check for inline header */