Merge remote branch 'qatar/master'
* qatar/master: fate: fix partial run when no samples path is specified ARM: NEON fixed-point forward MDCT ARM: NEON fixed-point FFT lavf: bump minor version and add an APIChanges entry for avio changes avio: simplify url_open_dyn_buf_internal by using avio_alloc_context() avio: make url_fdopen internal. avio: make url_open_dyn_packet_buf internal. avio: avio_ prefix for url_close_dyn_buf avio: avio_ prefix for url_open_dyn_buf avio: introduce an AVIOContext.seekable field ac3enc: use generic fixed-point mdct lavfi: add fade filter Change yadif to not use out of picture lines. lavc: deprecate AVCodecContext.antialias_algo lavc: mark mb_qmin/mb_qmax for removal on next major bump. Conflicts: doc/filters.texi libavcodec/ac3enc_fixed.h libavcodec/ac3enc_float.h libavfilter/Makefile libavfilter/allfilters.c libavfilter/vf_fade.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -57,7 +57,7 @@ static inline void free_fragment_if_needed(PayloadContext * data)
|
||||
{
|
||||
if (data->fragment) {
|
||||
uint8_t* p;
|
||||
url_close_dyn_buf(data->fragment, &p);
|
||||
avio_close_dyn_buf(data->fragment, &p);
|
||||
av_free(p);
|
||||
data->fragment = NULL;
|
||||
}
|
||||
@@ -176,7 +176,7 @@ static int xiph_handle_packet(AVFormatContext * ctx,
|
||||
// end packet has been lost somewhere, so drop buffered data
|
||||
free_fragment_if_needed(data);
|
||||
|
||||
if((res = url_open_dyn_buf(&data->fragment)) < 0)
|
||||
if((res = avio_open_dyn_buf(&data->fragment)) < 0)
|
||||
return res;
|
||||
|
||||
avio_write(data->fragment, buf, pkt_len);
|
||||
@@ -203,7 +203,7 @@ static int xiph_handle_packet(AVFormatContext * ctx,
|
||||
if (fragmented == 3) {
|
||||
// end of xiph data packet
|
||||
av_init_packet(pkt);
|
||||
pkt->size = url_close_dyn_buf(data->fragment, &pkt->data);
|
||||
pkt->size = avio_close_dyn_buf(data->fragment, &pkt->data);
|
||||
|
||||
if (pkt->size < 0) {
|
||||
av_log(ctx, AV_LOG_ERROR,
|
||||
|
Reference in New Issue
Block a user