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
de0aa9e5
Commit
de0aa9e5
authored
Nov 07, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kgv1dec: fix end condition
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
2b442ff5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
kgv1dec.c
libavcodec/kgv1dec.c
+1
-1
kgv1
tests/ref/fate/kgv1
+4
-4
No files found.
libavcodec/kgv1dec.c
View file @
de0aa9e5
...
...
@@ -83,7 +83,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
for
(
i
=
0
;
i
<
8
;
i
++
)
offsets
[
i
]
=
-
1
;
while
(
outcnt
<
maxcnt
&&
buf_end
-
2
>
buf
)
{
while
(
outcnt
<
maxcnt
&&
buf_end
-
2
>
=
buf
)
{
int
code
=
AV_RL16
(
buf
);
buf
+=
2
;
...
...
tests/ref/fate/kgv1
View file @
de0aa9e5
...
...
@@ -294,15 +294,15 @@
0, 292, 292, 1, 153600, 0x1348310e
0, 293, 293, 1, 153600, 0xb5489dad
0, 294, 294, 1, 153600, 0xa1eb1408
0, 295, 295, 1, 153600, 0x15e
1832c
0, 295, 295, 1, 153600, 0x15e
0832b
0, 296, 296, 1, 153600, 0xb789cba5
0, 297, 297, 1, 153600, 0x3ee86e4f
0, 298, 298, 1, 153600, 0x06ea3883
0, 299, 299, 1, 153600, 0xcedd02b7
0, 300, 300, 1, 153600, 0xbc
e6ce58
0, 301, 301, 1, 153600, 0xaa
df9a00
0, 300, 300, 1, 153600, 0xbc
d6ce50
0, 301, 301, 1, 153600, 0xaa
cf99f8
0, 302, 302, 1, 153600, 0x98c865a0
0, 303, 303, 1, 153600, 0x4c
8432e
0
0, 303, 303, 1, 153600, 0x4c
6432d
0
0, 304, 304, 1, 153600, 0x00000000
0, 305, 305, 1, 153600, 0x00000000
0, 306, 306, 1, 153600, 0x00000000
...
...
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