diff options
Diffstat (limited to 'gst/law/mulaw-decode.c')
-rw-r--r-- | gst/law/mulaw-decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/law/mulaw-decode.c b/gst/law/mulaw-decode.c index 23df98e3..51509356 100644 --- a/gst/law/mulaw-decode.c +++ b/gst/law/mulaw-decode.c @@ -75,7 +75,7 @@ mulawdec_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); |