qtdemux: turn impossible condition into an assert
authorAlicia Boya García <aboya@igalia.com>
Sat, 22 Sep 2018 15:22:46 +0000 (17:22 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 24 Sep 2018 07:33:02 +0000 (08:33 +0100)
commitbc0ea0dbbb4a5f10daa5292f1da4613584d5e3ae
treeb664e2b95c65efa9c948f70f41bdde384c748214
parent7ceefec7141069b4adf4451a874766f8760c66d6
qtdemux: turn impossible condition into an assert

qtdemux_update_streams() is only ever called after checking
`qtdemux->streams_aware` is TRUE. There is no need to check for that
condition again.

`qtdemux->streams_aware` is only modified when the demuxer is
hard-resetted, which is mutually exclusive with demuxing, so it cannot
be modified during the call.

https://bugzilla.gnome.org/show_bug.cgi?id=797191
gst/isomp4/qtdemux.c