diff --git a/gst/rtp/gstrtpqdmdepay.c b/gst/rtp/gstrtpqdmdepay.c index f854ab14b2..ba85018ead 100644 --- a/gst/rtp/gstrtpqdmdepay.c +++ b/gst/rtp/gstrtpqdmdepay.c @@ -185,9 +185,7 @@ flush_data (GstRtpQDM2Depay * depay) gst_adapter_push (depay->adapter, buf); - if (pack->data) { - pack->data = NULL; - } + pack->data = NULL; } }