summaryrefslogtreecommitdiffstats
path: root/gst/law/alaw-decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/law/alaw-decode.c')
-rw-r--r--gst/law/alaw-decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/law/alaw-decode.c b/gst/law/alaw-decode.c
index 7cf7a37f..e7496e2c 100644
--- a/gst/law/alaw-decode.c
+++ b/gst/law/alaw-decode.c
@@ -100,7 +100,7 @@ alawdec_getcaps (GstPad * pad)
structure = gst_caps_get_structure (othercaps, 0);
orate = gst_structure_get_value (structure, "rate");
ochans = gst_structure_get_value (structure, "channels");
- if (!rate || !chans)
+ if (!orate || !ochans)
goto done;
structure = gst_caps_get_structure (base_caps, 0);