Revision 668438a3

View differences:

libavformat/aviobuf.c
1040 1040
    return ret;
1041 1041
}
1042 1042

  
1043
/* avio_open_dyn_buf and avio_close_dyn_buf are used in rtp.c to send a response
1044
 * back to the server even if CONFIG_MUXERS is false. */
1045
#if CONFIG_MUXERS || CONFIG_NETWORK
1046 1043
/* buffer handling */
1047 1044
#if FF_API_OLD_AVIO
1048 1045
int url_open_buf(AVIOContext **s, uint8_t *buf, int buf_size, int flags)
......
1189 1186
    av_free(s);
1190 1187
    return size - padding;
1191 1188
}
1192
#endif /* CONFIG_MUXERS || CONFIG_NETWORK */

Also available in: Unified diff