mirror of https://github.com/FFmpeg/FFmpeg.git
This simplifies proper error handling in rtsp.c/rtspdec.c. When broadcasting over RTSP in TCP mode, the AVIOContext is closed and recreated for each sent packet, and if the recreation fails, we might try to close a NULL buffer when freeing things at the end. Previously, if recreating the buffer in rtspdec.c failed, this would crash later due to trying to close a NULL buffer. Signed-off-by: Martin Storsjö <martin@martin.st>pull/45/head
parent
28240a60c1
commit
d07b51bf07
1 changed files with 5 additions and 0 deletions
Loading…
Reference in new issue