summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Xichuan <xichuan.yang@tieto.com>2011-01-12 16:48:57 +0800
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-01-24 19:44:41 +0100
commit904d0b9b603adb2b9afad2a29e7351e6b737df15 (patch)
treeebeabfebf2d24919b767864d301a0e8389c92c55
parent7e6125fc8f1d077a13b874a4bf615e5ccde9eb19 (diff)
xingmux: Use FALSE instead of 0 as return value for a function returning gboolean
Fixes bug #639291.
-rw-r--r--gst/mpegaudioparse/gstxingmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/mpegaudioparse/gstxingmux.c b/gst/mpegaudioparse/gstxingmux.c
index e3ee8912..4f19d575 100644
--- a/gst/mpegaudioparse/gstxingmux.c
+++ b/gst/mpegaudioparse/gstxingmux.c
@@ -165,7 +165,7 @@ parse_header (guint32 header, guint * ret_size, guint * ret_spf,
bitrate = (header >> 12) & 0xF;
bitrate = mp3types_bitrates[lsf][layer - 1][bitrate] * 1000;
if (bitrate == 0)
- return 0;
+ return FALSE;
samplerate = (header >> 10) & 0x3;
samplerate = mp3types_freqs[lsf + mpg25][samplerate];