summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3c65623)
raw | patch | inline | side by side (parent: 3c65623)
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | |
Fri, 17 Sep 2010 15:19:37 +0000 (17:19 +0200) | ||
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | |
Fri, 8 Apr 2011 14:44:50 +0000 (15:44 +0100) |
gst/audioparsers/gstbaseparse.c | patch | blob | history |
index 8d4f22d62d8ca3a210af8d937ca7e8a0bf7c3907..9473633f4e9946850741c92a89116d8b65aeb9d3 100644 (file)
return TRUE;
}
+ if (G_UNLIKELY (src_value == 0)) {
+ *dest_value = 0;
+ return TRUE;
+ }
+
/* need at least some frames */
if (!parse->priv->framecount)
return FALSE;