James Almer
08dbcaa57a
tools/target_dec_fuzzer: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
32582a4e2a
tools/pktdumper: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
b76ff693f6
avfilter/vf_uspp: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
79c6e040f8
avfilter/vf_mcdeint: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
54cb30ce64
avdevice/xcbgrab: stop using av_init_packet()
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
6b3a563b10
avdevice/decklink_dec: stop using av_init_packet()
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
d365f74dce
avformat/tests/movenc: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
4b386b2059
avformat/tests/fifo_muxer: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
2fdfad5525
avformat/wc3movie: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
98a776b5e3
avformat/subtitles: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
fd23efb20b
avformat/rtpenc_mpegts: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
5e518c7416
avformat/rtpdec: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
e7f1540507
avformat/mpegtsenc: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
42422b6dca
avformat/mpegts: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
ecdad29b67
avformat/movenc: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
2e80435a9a
avformat/matroskaenc: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
8d78e90a6b
avformat/matroskadec: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
f57a258223
avformat/hls: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
83a320226c
avformat/flacdec: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
453021c74e
avformat/id3v2: replace call to av_init_packet()
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
4de3504adf
avformat/flac_picture: replace call to av_init_packet()
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
9e92fd97d0
avformat/avienc: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
a7c238cbd8
avformat/avidec: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
3c69e5cd6f
avformat/asfdec_o: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
82faeb56ce
avformat/amvenc: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
01f4d33b41
avformat/utils: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
9066969713
avformat/mux: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
2995a1f294
avcodec/tests/avpacket: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
4ab7670762
avcodec/webp: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
fc2e022a14
avcodec/tiff: use av_packet_alloc() to allocate AVPackets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
6ef104cb5f
avcodec/tdsc: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
b0de31e278
avcodec/pthread_frame: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
ca966af497
avcodec/mpegvideo_enc: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
2101b99777
avcodec/libxvid: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
039ea9ec7b
avcodec/encode: silence a deprecation warning about av_init_packet()
...
No need to adapt this code as it will be removed long before av_init_packet()
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
1f32e91df6
avcodec/cri: use av_packet_alloc() to allocate packets
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
d422b2ed87
avcodec/packet_internal: make avpriv_packet_list_* functions use an internal struct
...
The next pointer is kept at the end for backwards compatability until the
major bump, when it should ideally be moved at the front.
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
f7db77bd87
avcodec/packet: deprecate av_init_packet()
...
Once removed, sizeof(AVPacket) will stop being a part of the public ABI.
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
a1cd4191e0
avcodec/vaapi_encode: use AVCodecContext.get_encode_buffer()
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
238e08b12e
avcodec/nvenc: use AVCodecContext.get_encode_buffer()
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
b86af93cea
avcodec/mfenc: use AVCodecContext.get_encode_buffer()
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
d51a6884ab
avcodec/librav1e: use AVCodecContext.get_encode_buffer()
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
James Almer
b615e8a782
avcodec/amfenc: use AVCodecContext.get_encode_buffer()
...
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
Derek Buitenhuis
8f1580c31a
avformat/mov: Handle when we have an mfra box but have not read the full sidx for a fragment
...
Use the tfra timestamp if it is available and sidx timestamp is not.
Fixes reading the entire file after seeking in a live-style DASH FMP4
with an MFRA.
This specifically fixes when use_mfra_for is set.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years ago
Gyan Doshi
434b626b7a
avcodec/libdavs2: unbreak compilation failure
...
FF_CODEC_CAP_AUTO_THREADS added in 8a129077cc
requires internal.h
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
4 years ago
Andriy Gelman
9383885c0d
avformat/aviobuf: don't reduce short seek threshold
...
Commit 8c8e5d5286
added a way to reduce
seek time by waiting for the windowed tcp packets instead of creating a
new socket connection. It implemented this by overwriting
s->short_seek_threshold in avio_seek(). However,
s->short_seek_threshold could already be set and be higher than the
threshold set by the protocol (i.e. s->short_seek_threshold is set in
ff_configure_buffers_for_index()).
This new feature was only enabled for tls connections in
70d8077b79
. As in Ticket #9148 it reduced
performance because instead of waiting to refill the AVIOContext buffers
with an existing connections, a new HTTP request was often made instead.
Fixes Ticket #9148 .
Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
4 years ago
Anton Khirnov
30a69b1625
lavc: drop unused argument from lock_avcodec()
4 years ago
Anton Khirnov
55c083f08a
lavc: drop ff_ prefix from ff_(un)lock_avcodec
...
It is unnecessary and misleading, as those are static functions.
4 years ago
Anton Khirnov
b006a84a97
lavc: move decoder bsf init into decoder-specific code
4 years ago
Anton Khirnov
20aec597d0
lavc: factor decoder validation/setup from avcodec_open2()
4 years ago