mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
audiodecoder: assert some more that subclass parsed frame has proper len
This commit is contained in:
parent
c79d2d314c
commit
95306e8fef
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue