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
c63dd3f0
Commit
c63dd3f0
authored
Dec 16, 2014
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a64multi: check elbg return values
parent
3beb9cba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
a64multienc.c
libavcodec/a64multienc.c
+8
-2
No files found.
libavcodec/a64multienc.c
View file @
c63dd3f0
...
@@ -321,8 +321,14 @@ static int a64multi_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
...
@@ -321,8 +321,14 @@ static int a64multi_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
buf
=
pkt
->
data
;
buf
=
pkt
->
data
;
/* calc optimal new charset + charmaps */
/* calc optimal new charset + charmaps */
ff_init_elbg
(
meta
,
32
,
1000
*
c
->
mc_lifetime
,
best_cb
,
CHARSET_CHARS
,
50
,
charmap
,
&
c
->
randctx
);
ret
=
ff_init_elbg
(
meta
,
32
,
1000
*
c
->
mc_lifetime
,
best_cb
,
ff_do_elbg
(
meta
,
32
,
1000
*
c
->
mc_lifetime
,
best_cb
,
CHARSET_CHARS
,
50
,
charmap
,
&
c
->
randctx
);
CHARSET_CHARS
,
50
,
charmap
,
&
c
->
randctx
);
if
(
ret
<
0
)
return
ret
;
ret
=
ff_do_elbg
(
meta
,
32
,
1000
*
c
->
mc_lifetime
,
best_cb
,
CHARSET_CHARS
,
50
,
charmap
,
&
c
->
randctx
);
if
(
ret
<
0
)
return
ret
;
/* create colorram map and a c64 readable charset */
/* create colorram map and a c64 readable charset */
render_charset
(
avctx
,
charset
,
colram
);
render_charset
(
avctx
,
charset
,
colram
);
...
...
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