diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-07-09 12:07:28 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-13 08:54:33 +0200 |
commit | a719482c8e51afbd490ec28cadf7fe01dc96e1de (patch) | |
tree | c70827a888792f439d1145d374f3615005afa286 /libavcodec/arm | |
parent | 43035402988335354c51ed1626d8316e05a63866 (diff) | |
download | ffmpeg-a719482c8e51afbd490ec28cadf7fe01dc96e1de.tar.gz |
avformat/mm: Check for existence of audio stream
No audio stream is created unconditionally and if none has been created,
no packet with stream_index 1 may be returned. This fixes an assert in
ff_read_packet() in libavformat/utils reported in ticket #8782.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit ec59dc73f0cc8930bf5dae389cd76d049d537ca7)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/arm')
0 files changed, 0 insertions, 0 deletions