Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
00db4d4a
Commit
00db4d4a
authored
Jan 30, 2012
by
Reimar Döffinger
Committed by
Justin Ruggles
Feb 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asv1: use av_fast_padded_malloc()
Signed-off-by:
Justin Ruggles
<
justin.ruggles@gmail.com
>
parent
316fc744
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
asv1.c
libavcodec/asv1.c
+2
-1
No files found.
libavcodec/asv1.c
View file @
00db4d4a
...
...
@@ -408,7 +408,8 @@ static int decode_frame(AVCodecContext *avctx,
p
->
pict_type
=
AV_PICTURE_TYPE_I
;
p
->
key_frame
=
1
;
av_fast_malloc
(
&
a
->
bitstream_buffer
,
&
a
->
bitstream_buffer_size
,
buf_size
+
FF_INPUT_BUFFER_PADDING_SIZE
);
av_fast_padded_malloc
(
&
a
->
bitstream_buffer
,
&
a
->
bitstream_buffer_size
,
buf_size
);
if
(
!
a
->
bitstream_buffer
)
return
AVERROR
(
ENOMEM
);
...
...
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