avdemux: fix build with FFmpeg 4.4
authorTim-Philipp Müller <tim@centricular.com>
Tue, 13 Apr 2021 00:07:15 +0000 (01:07 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 13 Apr 2021 00:14:52 +0000 (01:14 +0100)
commit07b43c727c9a2f273dccb9af8061e646c79ea0a8
treeb9ec0dbfac948a61674f6c140e53d590356ab3df
parentad7f7c87f0e86d3e0e2eeb45e9170111b40d4825
avdemux: fix build with FFmpeg 4.4

Direct access to avstream->index_entries was removed
in favour of the newly added avformat_index_get_entry()
and friends.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-libav/-/issues/85

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-libav/-/merge_requests/127>
ext/libav/gstavdemux.c