lavf/rtsp: Fix a crash with the RTSP muxer.