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:
3d5e7b0
)
xingmux: fix compiler warnings
author
Chris Clayton
<chris2553@googlemail.com>
Wed, 10 Jun 2015 14:32:44 +0000
(15:32 +0100)
committer
Luis de Bethencourt
<luis.bg@samsung.com>
Wed, 10 Jun 2015 14:33:21 +0000
(15:33 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=750596
gst/xingmux/gstxingmux.c
patch
|
blob
|
history
diff --git
a/gst/xingmux/gstxingmux.c
b/gst/xingmux/gstxingmux.c
index 26c6196180eb2b84b11500b40922910707549ee1..05720606338712ccf51e3430b1b59adc72e239a1 100644
(file)
--- a/
gst/xingmux/gstxingmux.c
+++ b/
gst/xingmux/gstxingmux.c
@@
-275,7
+275,10
@@
generate_xing_header (GstXingMux * xing)
header &= 0xffff0fff;
header |= bitrate << 12;
- parse_header (header, &size, &spf, &rate);
+ if (!parse_header (header, &size, &spf, &rate)) {
+ GST_ERROR ("Failed to parse header!");
+ return NULL;
+ }
xing_offset = get_xing_offset (header);
} while (size < (4 + xing_offset + 4 + 4 + 4 + 4 + 100) && bitrate < 0xe);