Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
26e8247c
Commit
26e8247c
authored
Jul 23, 2015
by
Tom Butterworth
Committed by
Michael Niedermayer
Jul 23, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/hap: (trivial) clarify comment
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
e59315c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
hapenc.c
libavcodec/hapenc.c
+4
-2
No files found.
libavcodec/hapenc.c
View file @
26e8247c
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment