diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-21 19:28:16 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-22 02:44:37 +0100 |
commit | d4e321d9c2f52f77e06ca48c3ddf71f8d4219f7b (patch) | |
tree | c2355a75796e9cbc2ffa0dcf095bd4a4d0a16071 /libavformat/rawdec.c | |
parent | e63a362857d9807b23e65872598d782fa53bb6af (diff) | |
download | ffmpeg-d4e321d9c2f52f77e06ca48c3ddf71f8d4219f7b.tar.gz |
avio: make get_partial_buffer internal.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit b3db9ceef13037f2b6963a84b7abf8871a1e0f8a)
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; |