Revision bc371aca libavformat/rtmppkt.c

View differences:

libavformat/rtmppkt.c
25 25

  
26 26
#include "rtmppkt.h"
27 27
#include "flv.h"
28
#include "url.h"
28 29

  
29 30
void ff_amf_write_bool(uint8_t **dst, int val)
30 31
{
......
78 79
    enum RTMPPacketType type;
79 80
    int size = 0;
80 81

  
81
    if (url_read(h, &hdr, 1) != 1)
82
    if (ffurl_read(h, &hdr, 1) != 1)
82 83
        return AVERROR(EIO);
83 84
    size++;
84 85
    channel_id = hdr & 0x3F;

Also available in: Unified diff