diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-11-12 10:31:59 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-11-12 10:31:59 +0100 |
commit | dc5db0e9805ff68a04dcf98c3a20e69711b82b5b (patch) | |
tree | be143d67d437cb3a5dcc33788856c0ee7c9b68e8 /ext | |
parent | f37fca4e002683df7393354a0d51a96abe4c3d38 (diff) |
vp8dec: Fix last commit
Diffstat (limited to 'ext')
-rw-r--r-- | ext/vpx/gstvp8dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/vpx/gstvp8dec.c b/ext/vpx/gstvp8dec.c index a06968d96..ea979c898 100644 --- a/ext/vpx/gstvp8dec.c +++ b/ext/vpx/gstvp8dec.c @@ -312,8 +312,8 @@ gst_vp8_dec_set_format (GstVideoDecoder * decoder, GstVideoCodecState * state) GST_DEBUG_OBJECT (gst_vp8_dec, "set_format"); - if (decoder->decoder_inited) - vpx_codec_destroy (&decoder->decoder); + if (gst_vp8_dec->decoder_inited) + vpx_codec_destroy (&gst_vp8_dec->decoder); gst_vp8_dec->decoder_inited = FALSE; if (gst_vp8_dec->input_state) |