mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-05 21:55:37 +01: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:
@@ -1653,7 +1653,7 @@ static int mov_write_udta_tag(AVIOContext *pb, MOVMuxContext *mov,
|
||||
return 0;
|
||||
}
|
||||
|
||||
ret = url_open_dyn_buf(&pb_buf);
|
||||
ret = avio_open_dyn_buf(&pb_buf);
|
||||
if(ret < 0)
|
||||
return ret;
|
||||
|
||||
@@ -1684,7 +1684,7 @@ static int mov_write_udta_tag(AVIOContext *pb, MOVMuxContext *mov,
|
||||
if (s->nb_chapters)
|
||||
mov_write_chpl_tag(pb_buf, s);
|
||||
|
||||
if ((size = url_close_dyn_buf(pb_buf, &buf)) > 0) {
|
||||
if ((size = avio_close_dyn_buf(pb_buf, &buf)) > 0) {
|
||||
avio_wb32(pb, size+8);
|
||||
ffio_wfourcc(pb, "udta");
|
||||
avio_write(pb, buf, size);
|
||||
@@ -1948,7 +1948,7 @@ int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
unsigned int samplesInChunk = 0;
|
||||
int size= pkt->size;
|
||||
|
||||
if (url_is_streamed(s->pb)) return 0; /* Can't handle that */
|
||||
if (!s->pb->seekable) return 0; /* Can't handle that */
|
||||
if (!size) return 0; /* Discard 0 sized packets */
|
||||
|
||||
if (enc->codec_id == CODEC_ID_AMR_NB) {
|
||||
@@ -2083,7 +2083,7 @@ static int mov_write_header(AVFormatContext *s)
|
||||
MOVMuxContext *mov = s->priv_data;
|
||||
int i, hint_track = 0;
|
||||
|
||||
if (url_is_streamed(s->pb)) {
|
||||
if (!s->pb->seekable) {
|
||||
av_log(s, AV_LOG_ERROR, "muxer does not support non seekable output\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user