summaryrefslogtreecommitdiffstats
path: root/libavformat/sdp.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2020-07-09 12:07:28 +0200
committerAndreas Rheinhardt <[email protected]>2020-07-10 21:31:36 +0200
commit40e049856e4f78f2a91d0f7b8b80915e87c59d04 (patch)
tree333a9d18902595befa41c048d5d4587cc4a750d6 /libavformat/sdp.c
parentf9f95ceebfbd7b7f43c1b7ad34e25d366e6e2d2b (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 'libavformat/sdp.c')
0 files changed, 0 insertions, 0 deletions