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
694be29f
Commit
694be29f
authored
Aug 14, 2012
by
Sebastien Zwickert
Committed by
Diego Biurrun
Aug 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vda: better frame allocation
Signed-off-by:
Diego Biurrun
<
diego@biurrun.de
>
parent
dc87ac55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vda_h264.c
libavcodec/vda_h264.c
+1
-1
No files found.
libavcodec/vda_h264.c
View file @
694be29f
...
@@ -144,7 +144,7 @@ static void vda_decoder_callback(void *vda_hw_ctx,
...
@@ -144,7 +144,7 @@ static void vda_decoder_callback(void *vda_hw_ctx,
vda_frame
*
new_frame
;
vda_frame
*
new_frame
;
vda_frame
*
queue_walker
;
vda_frame
*
queue_walker
;
if
(
!
(
new_frame
=
av_mallocz
(
sizeof
(
vda
_frame
))))
if
(
!
(
new_frame
=
av_mallocz
(
sizeof
(
*
new
_frame
))))
return
;
return
;
new_frame
->
next_frame
=
NULL
;
new_frame
->
next_frame
=
NULL
;
new_frame
->
cv_buffer
=
CVPixelBufferRetain
(
image_buffer
);
new_frame
->
cv_buffer
=
CVPixelBufferRetain
(
image_buffer
);
...
...
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