|
@@ -157,6 +157,7 @@ static int sap_read_header(AVFormatContext *s, |
|
|
} |
|
|
} |
|
|
sap->sdp_ctx->max_delay = s->max_delay; |
|
|
sap->sdp_ctx->max_delay = s->max_delay; |
|
|
sap->sdp_ctx->pb = &sap->sdp_pb; |
|
|
sap->sdp_ctx->pb = &sap->sdp_pb; |
|
|
|
|
|
sap->sdp_ctx->interrupt_callback = s->interrupt_callback; |
|
|
ret = avformat_open_input(&sap->sdp_ctx, "temp.sdp", infmt, NULL); |
|
|
ret = avformat_open_input(&sap->sdp_ctx, "temp.sdp", infmt, NULL); |
|
|
if (ret < 0) |
|
|
if (ret < 0) |
|
|
goto fail; |
|
|
goto fail; |
|
|