Revision 403ee835 libavformat/rtspenc.c

View differences:

libavformat/rtspenc.c
29 29
#include "os_support.h"
30 30
#include "rtsp.h"
31 31
#include "internal.h"
32
#include "avio_internal.h"
32 33
#include "libavutil/intreadwrite.h"
33 34
#include "libavutil/avstring.h"
34 35

  
......
142 143
        int id;
143 144
        /* The interleaving header is exactly 4 bytes, which happens to be
144 145
         * the same size as the packet length header from
145
         * url_open_dyn_packet_buf. So by writing the interleaving header
146
         * ffio_open_dyn_packet_buf. So by writing the interleaving header
146 147
         * over these bytes, we get a consecutive interleaved packet
147 148
         * that can be written in one call. */
148 149
        interleaved_packet = interleave_header = ptr;
......
162 163
        size -= packet_len;
163 164
    }
164 165
    av_free(buf);
165
    url_open_dyn_packet_buf(&rtpctx->pb, RTSP_TCP_MAX_PACKET_SIZE);
166
    ffio_open_dyn_packet_buf(&rtpctx->pb, RTSP_TCP_MAX_PACKET_SIZE);
166 167
    return 0;
167 168
}
168 169

  

Also available in: Unified diff