diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-21 21:28:16 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-02-21 21:40:28 +0300 |
commit | b3db9ceef13037f2b6963a84b7abf8871a1e0f8a (patch) | |
tree | e739747b91d56073ec1c4a212c2630973ac6e820 /libavformat/rawdec.c | |
parent | b7effd4e8338f6ed5bda630ad7ed0809bf458648 (diff) |
avio: make get_partial_buffer internal.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/rawdec.c')
-rw-r--r-- | libavformat/rawdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index 4f830e3c20..1c2f1211df 100644 --- a/libavformat/rawdec.c +++ b/libavformat/rawdec.c @@ -21,6 +21,7 @@ */ #include "avformat.h" +#include "avio_internal.h" #include "rawdec.h" /* raw input */ @@ -81,7 +82,7 @@ int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt) pkt->pos= url_ftell(s->pb); pkt->stream_index = 0; - ret = get_partial_buffer(s->pb, pkt->data, size); + ret = ffio_read_partial(s->pb, pkt->data, size); if (ret < 0) { av_free_packet(pkt); return ret; |