Add "AVFormatContext *ctx" (that being the RTSP demuxer's) as first argument