summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-03-22 15:07:36 +0000
committerMartin Storsjö <martin@martin.st>2010-03-22 15:07:36 +0000
commit685e76b5541ca5f5f4aaddc32ad313187314a77d (patch)
tree8d9ee72c466af5c49fdf771089144865acf2f7bf /libavformat
parentb7dc88fc68759ddd79caf291d75e715930362aac (diff)
Reindent
Originally committed as revision 22635 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtsp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 7e754336b8..5c0b76d12b 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -589,7 +589,7 @@ void ff_rtsp_close_streams(AVFormatContext *s)
url_close_dyn_buf(rtpctx->pb, &ptr);
av_free(ptr);
} else {
- url_fclose(rtpctx->pb);
+ url_fclose(rtpctx->pb);
}
av_metadata_free(&rtpctx->streams[0]->metadata);
av_metadata_free(&rtpctx->metadata);
@@ -651,14 +651,14 @@ static void *rtsp_rtp_mux_open(AVFormatContext *s, AVStream *st,
rtpctx->streams[0]->codec = st->codec;
if (handle) {
- url_fdopen(&rtpctx->pb, handle);
+ url_fdopen(&rtpctx->pb, handle);
} else
url_open_dyn_packet_buf(&rtpctx->pb, RTSP_TCP_MAX_PACKET_SIZE);
ret = av_write_header(rtpctx);
if (ret) {
if (handle) {
- url_fclose(rtpctx->pb);
+ url_fclose(rtpctx->pb);
} else {
uint8_t *ptr;
url_close_dyn_buf(rtpctx->pb, &ptr);