]> git.sesse.net Git - ffmpeg/commit
avformat/vividas: Fix crash when seeking without audio stream
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Fri, 2 Apr 2021 19:03:39 +0000 (21:03 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Fri, 2 Apr 2021 19:03:39 +0000 (21:03 +0200)
commitaf867e59d9ac3db5aaf7df4691f032e14ea51588
tree60e1ba885da288695c2fdc106c96a1da0b636b90
parenta2a38b160620d91bc3f895dadc4501c589998b9c
avformat/vividas: Fix crash when seeking without audio stream

The current code tries the access the codecpar of a nonexistent
audio stream when seeking. Stop that. Fixes ticket #9121.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavformat/vividas.c