Fix crash on RTSP error with TS muxing (CID#179)