projects
/
platform
/
upstream
/
gst-plugins-ugly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c849e85
)
rmdemux: Initialize return variable.
author
Edward Hervey
<edward.hervey@collabora.co.uk>
Thu, 6 Jan 2011 12:15:17 +0000
(13:15 +0100)
committer
Edward Hervey
<edward.hervey@collabora.co.uk>
Thu, 6 Jan 2011 12:15:17 +0000
(13:15 +0100)
In the unlikely event that height is 0 (which is invalid) we would end up
never setting the flow return.
gst/realmedia/rmdemux.c
patch
|
blob
|
history
diff --git
a/gst/realmedia/rmdemux.c
b/gst/realmedia/rmdemux.c
index
cff8e3d
..
e6b8ec6
100644
(file)
--- a/
gst/realmedia/rmdemux.c
+++ b/
gst/realmedia/rmdemux.c
@@
-1918,7
+1918,7
@@
gst_rmdemux_stream_clear_cached_subpackets (GstRMDemux * rmdemux,
static GstFlowReturn
gst_rmdemux_descramble_audio (GstRMDemux * rmdemux, GstRMDemuxStream * stream)
{
- GstFlowReturn ret;
+ GstFlowReturn ret
= GST_FLOW_ERROR
;
GstBuffer *outbuf;
guint packet_size = stream->packet_size;
guint height = stream->subpackets->len;