Revision b3db9cee libavformat/rawdec.c

View differences:

libavformat/rawdec.c
21 21
 */
22 22

  
23 23
#include "avformat.h"
24
#include "avio_internal.h"
24 25
#include "rawdec.h"
25 26

  
26 27
/* raw input */
......
81 82

  
82 83
    pkt->pos= url_ftell(s->pb);
83 84
    pkt->stream_index = 0;
84
    ret = get_partial_buffer(s->pb, pkt->data, size);
85
    ret = ffio_read_partial(s->pb, pkt->data, size);
85 86
    if (ret < 0) {
86 87
        av_free_packet(pkt);
87 88
        return ret;

Also available in: Unified diff