]> git.sesse.net Git - ffmpeg/commit
avformat/rtsp: set return variable in error path
authorAndriy Gelman <andriy.gelman@gmail.com>
Mon, 12 Oct 2020 20:36:08 +0000 (16:36 -0400)
committerAndriy Gelman <andriy.gelman@gmail.com>
Sat, 21 Nov 2020 15:15:46 +0000 (10:15 -0500)
commit78537aa52f03f9fcf1f278c8bb8cc30ee1a64d38
treecaf80794008edb919b0d254b26cf5b43cd089a42
parent9a70b6f5b84cf98cb7012ca3b5adc5f28f0f50bf
avformat/rtsp: set return variable in error path

In this error path ret still stores the number of bytes read in
ffurl_read().

Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
libavformat/rtsp.c