avcodec/hap: (trivial) clarify comment

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Tom Butterworth 2015-07-23 14:44:23 -04:00 committed by Michael Niedermayer
parent e59315c4ab
commit 26e8247c1c
1 changed files with 4 additions and 2 deletions

View File

@ -133,8 +133,10 @@ static int hap_compress_frame(AVCodecContext *avctx, uint8_t *dst)
static int hap_decode_instructions_length(HapContext *ctx)
{
/* = Second-Stage Compressor Table + Chunk Size Table + headers for both sections
* = chunk_count + (4 * chunk_count) + 4 + 4 */
/* Second-Stage Compressor Table (one byte per entry)
* + Chunk Size Table (four bytes per entry)
* + headers for both sections (short versions)
* = chunk_count + (4 * chunk_count) + 4 + 4 */
return (5 * ctx->chunk_count) + 8;
}