diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-08-30 15:18:29 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-06-15 16:15:47 +0200 |
commit | 1ef30571a0a7150cb20c580bfc52af2a7101c20d (patch) | |
tree | 259fd7046abfb5b6c8b57b1a22814b96d88e3deb /tests/base64.c | |
parent | 3714d452b894821591a2fbafdd1b8ef15abe4be6 (diff) | |
download | ffmpeg-1ef30571a0a7150cb20c580bfc52af2a7101c20d.tar.gz |
avformat/matroskadec: Use right number of tracks
When demuxing a Matroska/WebM file, streams are added for tracks and for
attachments, so that the array containing the former can be NULL even
when the corresponding AVFormatContext has streams. So check for there
to be tracks in the MatroskaDemuxContext instead of just streams in the
AVFormatContext before dereferencing the pointer to the tracks.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'tests/base64.c')
0 files changed, 0 insertions, 0 deletions