Commit 95306e8f authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

audiodecoder: assert some more that subclass parsed frame has proper len

parent c79d2d31
......@@ -1000,6 +1000,7 @@ gst_audio_decoder_push_buffers (GstAudioDecoder * dec, gboolean force)
break;
} else if (ret == GST_FLOW_OK) {
GST_LOG_OBJECT (dec, "frame at offset %d of length %d", offset, len);
g_assert (len);
g_assert (offset + len <= av);
priv->sync_flush = 0;
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment