diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-17 08:19:54 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-03 22:47:32 +0200 |
commit | 403ee835e7913eb9536b22c2b22edfdd700166a9 (patch) | |
tree | e93cbad528f5f9de1f3f8b9e4d3119a8ca942a33 /libavformat/movenchint.c | |
parent | 6dc7d80de7236d04a6ee30f0e4cd03f055893bcf (diff) | |
download | ffmpeg-403ee835e7913eb9536b22c2b22edfdd700166a9.tar.gz |
avio: make url_open_dyn_packet_buf internal.
It doesn't look fit to be a part of the public API.
Adding a temporary hack to ffserver to be able to use it, should be
cleaned up when somebody is up for it.
Diffstat (limited to 'libavformat/movenchint.c')
-rw-r--r-- | libavformat/movenchint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/movenchint.c b/libavformat/movenchint.c index eb93ef8d7e..615714627c 100644 --- a/libavformat/movenchint.c +++ b/libavformat/movenchint.c @@ -23,6 +23,7 @@ #include "libavutil/intreadwrite.h" #include "internal.h" #include "rtpenc_chain.h" +#include "avio_internal.h" int ff_mov_init_hinting(AVFormatContext *s, int index, int src_index) { @@ -409,7 +410,7 @@ int ff_mov_add_hinted_packet(AVFormatContext *s, AVPacket *pkt, /* Fetch the output from the RTP muxer, open a new output buffer * for next time. */ size = avio_close_dyn_buf(rtp_ctx->pb, &buf); - if ((ret = url_open_dyn_packet_buf(&rtp_ctx->pb, + if ((ret = ffio_open_dyn_packet_buf(&rtp_ctx->pb, RTP_MAX_PACKET_SIZE)) < 0) goto done; |