aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/aviobuf.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-05 19:04:28 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-05 19:32:14 +0200
commit668438a31ef654a2836992879f9bcd23f4d3421e (patch)
treee724c047aa4f5de0d988f4cca3fa0dd4a0c0dc85 /libavformat/aviobuf.c
parentba9ef8d04ecd009036b7c380e71bac081c56c53e (diff)
downloadffmpeg-668438a31ef654a2836992879f9bcd23f4d3421e.tar.gz
avio: always compile dyn_buf functions
Fixes build with --disable-muxers --disable-network. Thanks to Hendrik Leppkes for noticing.
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r--libavformat/aviobuf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index dd250277f2..49aaf205d6 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -1040,9 +1040,6 @@ int64_t ffio_read_seek(AVIOContext *s, int stream_index,
return ret;
}
-/* avio_open_dyn_buf and avio_close_dyn_buf are used in rtp.c to send a response
- * back to the server even if CONFIG_MUXERS is false. */
-#if CONFIG_MUXERS || CONFIG_NETWORK
/* buffer handling */
#if FF_API_OLD_AVIO
int url_open_buf(AVIOContext **s, uint8_t *buf, int buf_size, int flags)
@@ -1189,4 +1186,3 @@ int avio_close_dyn_buf(AVIOContext *s, uint8_t **pbuffer)
av_free(s);
return size - padding;
}
-#endif /* CONFIG_MUXERS || CONFIG_NETWORK */