Commit c8e0678b authored by mstorsjo's avatar mstorsjo

Reindent


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22635 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f32ec1ca
...@@ -589,7 +589,7 @@ void ff_rtsp_close_streams(AVFormatContext *s) ...@@ -589,7 +589,7 @@ void ff_rtsp_close_streams(AVFormatContext *s)
url_close_dyn_buf(rtpctx->pb, &ptr); url_close_dyn_buf(rtpctx->pb, &ptr);
av_free(ptr); av_free(ptr);
} else { } else {
url_fclose(rtpctx->pb); url_fclose(rtpctx->pb);
} }
av_metadata_free(&rtpctx->streams[0]->metadata); av_metadata_free(&rtpctx->streams[0]->metadata);
av_metadata_free(&rtpctx->metadata); av_metadata_free(&rtpctx->metadata);
...@@ -651,14 +651,14 @@ static void *rtsp_rtp_mux_open(AVFormatContext *s, AVStream *st, ...@@ -651,14 +651,14 @@ static void *rtsp_rtp_mux_open(AVFormatContext *s, AVStream *st,
rtpctx->streams[0]->codec = st->codec; rtpctx->streams[0]->codec = st->codec;
if (handle) { if (handle) {
url_fdopen(&rtpctx->pb, handle); url_fdopen(&rtpctx->pb, handle);
} else } else
url_open_dyn_packet_buf(&rtpctx->pb, RTSP_TCP_MAX_PACKET_SIZE); url_open_dyn_packet_buf(&rtpctx->pb, RTSP_TCP_MAX_PACKET_SIZE);
ret = av_write_header(rtpctx); ret = av_write_header(rtpctx);
if (ret) { if (ret) {
if (handle) { if (handle) {
url_fclose(rtpctx->pb); url_fclose(rtpctx->pb);
} else { } else {
uint8_t *ptr; uint8_t *ptr;
url_close_dyn_buf(rtpctx->pb, &ptr); url_close_dyn_buf(rtpctx->pb, &ptr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment