Mercurial > libavcodec.hg
comparison flacdec.c @ 9139:4564ec1f21b0 libavcodec
flacdec: cosmetics: Add a comment with the data of the smallest FLAC
frame for future reference.
author | jbr |
---|---|
date | Thu, 05 Mar 2009 04:40:42 +0000 |
parents | 063854fdfe73 |
children | b980183eb831 |
comparison
equal
deleted
inserted
replaced
9138:063854fdfe73 | 9139:4564ec1f21b0 |
---|---|
648 return input_buf_size; | 648 return input_buf_size; |
649 } | 649 } |
650 } | 650 } |
651 | 651 |
652 /* check that there is at least the smallest decodable amount of data. | 652 /* check that there is at least the smallest decodable amount of data. |
653 this amount corresponds to the smallest valid FLAC frame possible. */ | 653 this amount corresponds to the smallest valid FLAC frame possible. |
654 FF F8 69 02 00 00 9A 00 00 34 46 */ | |
654 if (buf_size < 11) | 655 if (buf_size < 11) |
655 goto end; | 656 goto end; |
656 | 657 |
657 /* check for inline header */ | 658 /* check for inline header */ |
658 if (AV_RB32(buf) == MKBETAG('f','L','a','C')) { | 659 if (AV_RB32(buf) == MKBETAG('f','L','a','C')) { |