diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-20 13:04:13 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-20 21:05:47 +0300 |
commit | ae99313aa585fbf74339a2630a37402819f197c6 (patch) | |
tree | 9702b223a8e6ae2b2ed45abf0e65ba3f514f785c /libavformat/sapdec.c | |
parent | 471fe57e1af2bb37055c93688671c9c79ef9b5cd (diff) |
avio: move init_put_byte() to a new private header and rename it
init_put_byte should never be used outside of lavf, since
sizeof(AVIOContext) isn't part of public ABI.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit e731b8d8729e75bfb69f5540e6446d6118dac549)
Diffstat (limited to 'libavformat/sapdec.c')
-rw-r--r-- | libavformat/sapdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/sapdec.c b/libavformat/sapdec.c index ef1ecc47d7..e3cdcea6a6 100644 --- a/libavformat/sapdec.c +++ b/libavformat/sapdec.c @@ -25,6 +25,7 @@ #include "network.h" #include "os_support.h" #include "internal.h" +#include "avio_internal.h" #if HAVE_POLL_H #include <poll.h> #endif @@ -142,7 +143,7 @@ static int sap_read_header(AVFormatContext *s, } av_log(s, AV_LOG_VERBOSE, "SDP:\n%s\n", sap->sdp); - init_put_byte(&sap->sdp_pb, sap->sdp, strlen(sap->sdp), 0, NULL, NULL, + ffio_init_context(&sap->sdp_pb, sap->sdp, strlen(sap->sdp), 0, NULL, NULL, NULL, NULL); infmt = av_find_input_format("sdp"); |