aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/vsynth/vsynth3-r210
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-29 10:21:34 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2022-04-07 16:26:59 +0200
commitc55cf1d0ccf4c92219021804c9b0463c242ae47d (patch)
treedde045c3ce356dc742ff6a908824836960365f47 /tests/ref/vsynth/vsynth3-r210
parentf126288f23443675c40e9017a725d5458a47c9f7 (diff)
downloadffmpeg-c55cf1d0ccf4c92219021804c9b0463c242ae47d.tar.gz
avformat/movenc: Fix segfault when remuxing rtp hint stream
When remuxing an rtp hint stream (or any stream with the tag "rtp "), the mov muxer treats this as one of the rtp hint tracks it creates internally when ordered to do so; yet this track lacks the AVFormatContext for the hinting rtp muxer, leading to segfaults in mov_write_udta_sdp() if a "trak" atom is written for this stream; if not, the stream's codecpar is freed by mov_free() as if the mov muxer owned it (it does for the internally created "rtp " tracks), but without resetting st->codecpar, leading to double-frees lateron. This commit therefore ignores said tag which makes rtp hint streams unremuxable. This fixes tickets #8181 and #8186. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (cherry picked from commit 22c3cd176079dd104ec7610ead697235b04396f1)
Diffstat (limited to 'tests/ref/vsynth/vsynth3-r210')
0 files changed, 0 insertions, 0 deletions