Commit 26e8247c authored by Tom Butterworth's avatar Tom Butterworth Committed by Michael Niedermayer

avcodec/hap: (trivial) clarify comment

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent e59315c4
...@@ -133,8 +133,10 @@ static int hap_compress_frame(AVCodecContext *avctx, uint8_t *dst) ...@@ -133,8 +133,10 @@ static int hap_compress_frame(AVCodecContext *avctx, uint8_t *dst)
static int hap_decode_instructions_length(HapContext *ctx) static int hap_decode_instructions_length(HapContext *ctx)
{ {
/* = Second-Stage Compressor Table + Chunk Size Table + headers for both sections /* Second-Stage Compressor Table (one byte per entry)
* = chunk_count + (4 * chunk_count) + 4 + 4 */ * + 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; return (5 * ctx->chunk_count) + 8;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment