projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2e5dca
)
omxvideodec: Make output buffer pointer always initialized
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 19 May 2014 07:08:33 +0000
(09:08 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Mon, 19 May 2014 07:08:33 +0000
(09:08 +0200)
CID 1214605
omx/gstomxvideodec.c
patch
|
blob
|
history
diff --git
a/omx/gstomxvideodec.c
b/omx/gstomxvideodec.c
index
079f0a9
..
53e3db4
100644
(file)
--- a/
omx/gstomxvideodec.c
+++ b/
omx/gstomxvideodec.c
@@
-1303,7
+1303,7
@@
gst_omx_video_dec_loop (GstOMXVideoDec * self)
flow_ret = gst_video_decoder_drop_frame (GST_VIDEO_DECODER (self), frame);
frame = NULL;
} else if (!frame && (buf->omx_buf->nFilledLen > 0 || buf->eglimage)) {
- GstBuffer *outbuf;
+ GstBuffer *outbuf
= NULL
;
/* This sometimes happens at EOS or if the input is not properly framed,
* let's handle it gracefully by allocating a new buffer for the current