]> git.sesse.net Git - ffmpeg/commit
avformat/rtsp: fix parse_rtsp_message
authorZhao Zhili <quinkblack@foxmail.com>
Sun, 27 Sep 2020 11:50:27 +0000 (19:50 +0800)
committerMartin Storsjö <martin@martin.st>
Fri, 2 Oct 2020 06:11:24 +0000 (09:11 +0300)
commita191d4166f8fafaf415ebc489ebbc8f6d8d174fe
tree04c52a2ff2f87966b90fafff238905619586b672
parent0b1d8468c4dca00e361186cce05a9683326593c3
avformat/rtsp: fix parse_rtsp_message

1. Remove the assumption that the message method is TEARDOWN.
2. Don't ignore the error code of ff_rtsp_parse_streaming_commands.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtsp.c