Revision ae99313a libavformat/rtpdec_qt.c

View differences:

libavformat/rtpdec_qt.c
26 26
 */
27 27

  
28 28
#include "avformat.h"
29
#include "avio_internal.h"
29 30
#include "rtp.h"
30 31
#include "rtpdec.h"
31 32
#include "isom.h"
......
69 70
     * http://developer.apple.com/quicktime/icefloe/dispatch026.html
70 71
     */
71 72
    init_get_bits(&gb, buf, len << 3);
72
    init_put_byte(&pb, buf, len, 0, NULL, NULL, NULL, NULL);
73
    ffio_init_context(&pb, buf, len, 0, NULL, NULL, NULL, NULL);
73 74

  
74 75
    if (len < 4)
75 76
        return AVERROR_INVALIDDATA;

Also available in: Unified diff