libavformat/rtsp: return error if rtsp_hd_out is null instead of crash
authorRoss Nicholson <phunkyfish@gmail.com>
Thu, 19 Sep 2019 15:12:33 +0000 (16:12 +0100)
committerAman Gupta <aman@tmm1.net>
Tue, 3 Dec 2019 00:41:32 +0000 (16:41 -0800)
commit289838b7bd207110d832ef248e4a3f6a001f372e
tree638558db99ef67d53043322f261420e15383764e
parent82a3a623f0129b6ee16d3b553051b5e4a6a2b95a
libavformat/rtsp: return error if rtsp_hd_out is null instead of crash

Signed-off-by: Aman Gupta <aman@tmm1.net>
(cherry picked from commit 460f74495fa93c4bb85503c5443580e2bb857efa)
libavformat/rtsp.c