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
a8055992
Commit
a8055992
authored
Sep 16, 2011
by
Justin Ruggles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shorten: pass on error value from allocate_buffers() instead of returning -1
parent
9e5e2c2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
shorten.c
libavcodec/shorten.c
+3
-3
No files found.
libavcodec/shorten.c
View file @
a8055992
...
...
@@ -306,7 +306,7 @@ static int decode_subframe_lpc(ShortenContext *s, int channel,
static
int
read_header
(
ShortenContext
*
s
)
{
int
i
;
int
i
,
ret
;
int
maxnlpc
=
0
;
/* shorten signature */
if
(
get_bits_long
(
&
s
->
gb
,
32
)
!=
AV_RB32
(
"ajkg"
))
{
...
...
@@ -342,8 +342,8 @@ static int read_header(ShortenContext *s)
}
s
->
nwrap
=
FFMAX
(
NWRAP
,
maxnlpc
);
if
(
allocate_buffers
(
s
)
)
return
-
1
;
if
(
(
ret
=
allocate_buffers
(
s
))
<
0
)
return
ret
;
init_offset
(
s
);
...
...
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