mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-11 17:55:21 +00:00
avcodec/hap: (trivial) clarify comment
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
e59315c4ab
commit
26e8247c1c
@ -133,7 +133,9 @@ 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 Size Table (four bytes per entry)
|
||||||
|
* + headers for both sections (short versions)
|
||||||
* = chunk_count + (4 * chunk_count) + 4 + 4 */
|
* = chunk_count + (4 * chunk_count) + 4 + 4 */
|
||||||
return (5 * ctx->chunk_count) + 8;
|
return (5 * ctx->chunk_count) + 8;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user