projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc87ac5
)
vda: better frame allocation
author
Sebastien Zwickert
<dilaroga@gmail.com>
Tue, 14 Aug 2012 09:47:39 +0000
(11:47 +0200)
committer
Diego Biurrun
<diego@biurrun.de>
Tue, 14 Aug 2012 10:48:46 +0000
(12:48 +0200)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavcodec/vda_h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/vda_h264.c
b/libavcodec/vda_h264.c
index
2d2d228
..
5c8f567
100644
(file)
--- a/
libavcodec/vda_h264.c
+++ b/
libavcodec/vda_h264.c
@@
-144,7
+144,7
@@
static void vda_decoder_callback(void *vda_hw_ctx,
vda_frame *new_frame;
vda_frame *queue_walker;
- if (!(new_frame = av_mallocz(sizeof(
vda
_frame))))
+ if (!(new_frame = av_mallocz(sizeof(
*new
_frame))))
return;
new_frame->next_frame = NULL;
new_frame->cv_buffer = CVPixelBufferRetain(image_buffer);