mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
qtdemux: Fix crash with no cenc aux offset
https://bugzilla.gnome.org/show_bug.cgi?id=770951
This commit is contained in:
parent
c974df1c06
commit
92075e0256
1 changed files with 1 additions and 1 deletions
|
@ -5304,7 +5304,7 @@ gst_qtdemux_decorate_and_push_buffer (GstQTDemux * qtdemux,
|
|||
gst_pad_push_event (stream->pad, event);
|
||||
}
|
||||
|
||||
if (qtdemux->cenc_aux_info_offset > 0 && info->crypto_info == NULL) {
|
||||
if (qtdemux->cenc_aux_info_offset == 0 || info->crypto_info == NULL) {
|
||||
GST_DEBUG_OBJECT (qtdemux, "cenc metadata hasn't been parsed yet");
|
||||
gst_buffer_unref (buf);
|
||||
goto exit;
|
||||
|
|
Loading…
Reference in a new issue