mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-05 23:34:35 +08:00
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:
@ -43,7 +43,7 @@ static void latm_free_context(PayloadContext *data)
|
||||
return;
|
||||
if (data->dyn_buf) {
|
||||
uint8_t *p;
|
||||
url_close_dyn_buf(data->dyn_buf, &p);
|
||||
avio_close_dyn_buf(data->dyn_buf, &p);
|
||||
av_free(p);
|
||||
}
|
||||
av_free(data->buf);
|
||||
@ -60,12 +60,12 @@ static int latm_parse_packet(AVFormatContext *ctx, PayloadContext *data,
|
||||
if (!data->dyn_buf || data->timestamp != *timestamp) {
|
||||
av_freep(&data->buf);
|
||||
if (data->dyn_buf)
|
||||
url_close_dyn_buf(data->dyn_buf, &data->buf);
|
||||
avio_close_dyn_buf(data->dyn_buf, &data->buf);
|
||||
data->dyn_buf = NULL;
|
||||
av_freep(&data->buf);
|
||||
|
||||
data->timestamp = *timestamp;
|
||||
if ((ret = url_open_dyn_buf(&data->dyn_buf)) < 0)
|
||||
if ((ret = avio_open_dyn_buf(&data->dyn_buf)) < 0)
|
||||
return ret;
|
||||
}
|
||||
avio_write(data->dyn_buf, buf, len);
|
||||
@ -73,7 +73,7 @@ static int latm_parse_packet(AVFormatContext *ctx, PayloadContext *data,
|
||||
if (!(flags & RTP_FLAG_MARKER))
|
||||
return AVERROR(EAGAIN);
|
||||
av_free(data->buf);
|
||||
data->len = url_close_dyn_buf(data->dyn_buf, &data->buf);
|
||||
data->len = avio_close_dyn_buf(data->dyn_buf, &data->buf);
|
||||
data->dyn_buf = NULL;
|
||||
data->pos = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user