|
|
@@ -738,6 +738,7 @@ int ff_rtsp_open_transport_ctx(AVFormatContext *s, RTSPStream *rtsp_st) |
|
|
rtsp_st->rtp_handle = NULL; |
|
|
rtsp_st->rtp_handle = NULL; |
|
|
if (ret < 0) |
|
|
if (ret < 0) |
|
|
return ret; |
|
|
return ret; |
|
|
|
|
|
st->time_base = ((AVFormatContext*)rtsp_st->transport_priv)->streams[0]->time_base; |
|
|
} else if (rt->transport == RTSP_TRANSPORT_RAW) { |
|
|
} else if (rt->transport == RTSP_TRANSPORT_RAW) { |
|
|
return 0; // Don't need to open any parser here |
|
|
return 0; // Don't need to open any parser here |
|
|
} else if (rt->transport == RTSP_TRANSPORT_RDT && CONFIG_RTPDEC) |
|
|
} else if (rt->transport == RTSP_TRANSPORT_RDT && CONFIG_RTPDEC) |
|
|
|