avio: make url_fdopen internal.

The unbuffered URLContext API will be made private, so there's no point
in this function being public.
This commit is contained in:
Anton Khirnov 2011-03-17 08:44:44 +01:00
parent 403ee835e7
commit 724f6a0fa4
4 changed files with 22 additions and 16 deletions

View file

@ -20,6 +20,7 @@
*/
#include "avformat.h"
#include "avio_internal.h"
#include "rtpenc_chain.h"
#include "avio_internal.h"
@ -54,7 +55,7 @@ AVFormatContext *ff_rtp_chain_mux_open(AVFormatContext *s, AVStream *st,
avcodec_copy_context(rtpctx->streams[0]->codec, st->codec);
if (handle) {
url_fdopen(&rtpctx->pb, handle);
ffio_fdopen(&rtpctx->pb, handle);
} else
ffio_open_dyn_packet_buf(&rtpctx->pb, packet_size);
ret = av_write_header(rtpctx);