aboutsummaryrefslogtreecommitdiffstats
path: root/ffbuild
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-08-30 15:18:29 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-06-15 16:15:47 +0200
commit1ef30571a0a7150cb20c580bfc52af2a7101c20d (patch)
tree259fd7046abfb5b6c8b57b1a22814b96d88e3deb /ffbuild
parent3714d452b894821591a2fbafdd1b8ef15abe4be6 (diff)
downloadffmpeg-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 'ffbuild')
0 files changed, 0 insertions, 0 deletions