mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
vp8dec: Fix last commit
This commit is contained in:
parent
f37fca4e00
commit
dc5db0e980
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue