diff options
author | Andreas Rheinhardt <[email protected]> | 2020-07-09 12:07:28 +0200 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2020-07-10 20:52:00 +0200 |
commit | be84216c53a4ed81573c82320e9c4a20e9b349d9 (patch) | |
tree | 5c65c6285bcd818efa7589670645a4b47e4f311e /libavdevice/opengl_enc.c | |
parent | 401b59e4c35f58b289d297efec8265f45d660f99 (diff) |
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 <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>
(cherry picked from commit ec59dc73f0cc8930bf5dae389cd76d049d537ca7)
Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavdevice/opengl_enc.c')
0 files changed, 0 insertions, 0 deletions