]>
git.sesse.net Git - ffmpeg/log
Zane van Iperen [Thu, 18 Feb 2021 03:47:13 +0000 (13:47 +1000)]
avcodec/adpcm_ima_apm: remove old extradata format
Was added in error very early on, passing in only the required fields.
Later, the muxer and demuxer were changed to pass the entire APMState
struct as extradata.
Technically a breaking change, but this was only around for a *very* short
time before it was updated,
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
Andreas Rheinhardt [Wed, 28 Apr 2021 00:19:22 +0000 (02:19 +0200)]
avcodec/avcodec: Use avcodec_close() on avcodec_open2() failure
Compared to the earlier behaviour the following changes:
a) AVCodecInternal.byte_buffer is freed.
b) The last_pkt_props FIFO is emptied before freeing it.
c) If set AVCodecContext.hwaccel is uninitialized and its private data
is freed; hw_frames_ctx and hw_device_ctx are also unreferenced.
d) coded_side_data is freed.
e) active_thread_type is reset.
a), b), d) should be no-ops as the buffer/fifo should be empty and
no coded_side_data should exist at any point of avcodec_open2().
e) is obviously not bad.
c) is in accordance with the documentation of hw_(frames|device)_ctx
which states that libacodec takes over ownership of these references.
At least in the case of VC-1 it is possible for the hw acceleration to
be set during init and in this case freeing it actually fixes a memleak.
avcodec_close() needed only minor adjustments to make it work with
a potentially not fully initialized codec.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Andreas Rheinhardt [Sun, 18 Apr 2021 05:01:22 +0000 (07:01 +0200)]
avcodec/avcodec: Store whether AVCodec->close needs to be called
Right now all AVCodecContexts except those using frame-threaded decoding
call the codec's init function and expect its close function to be
called. In order to make sure that the close function is not called for
frame-threaded decoding ff_frame_thread_free() resets
AVCodecContext.codec (and because of this it has to free the private
AVOptions of the main AVCodecContext itself). This is not obvious and
potentially fragile. Instead add a field to AVCodecInternal that
indicates whether close should be called for this AVCodecContext.
It is always zero when using frame-threaded decoding, so that resetting
the codec is no longer necessary and has been removed.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Andreas Rheinhardt [Sun, 18 Apr 2021 04:21:50 +0000 (06:21 +0200)]
avcodec/avcodec: Free frame_thread_encoder on avcodec_open2() error
The frame_thread_encoder has so far not been freed in case an error
happened in avcodec_open2() after ff_frame_thread_encoder_init().
This commit changes this.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Andreas Rheinhardt [Sun, 18 Apr 2021 03:49:30 +0000 (05:49 +0200)]
avcodec/avcodec: Remove unnecessary forward declaration
Forgotten in
ba6cada92eb7c3446bfb1d4525031d405a052516 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Andreas Rheinhardt [Tue, 27 Apr 2021 13:06:13 +0000 (15:06 +0200)]
avcodec/Makefile: Remove obsolete dependency of eatqi dec on rl.o
Unnecessary since
6e8fcd9c5624c1a89e49803de9e10562ace61b6a .
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
James Almer [Tue, 27 Apr 2021 22:20:37 +0000 (19:20 -0300)]
avcodec/packet_internal: move the next pointer in PacketList to the top of the struct
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Tue, 27 Apr 2021 21:40:45 +0000 (18:40 -0300)]
doc/APIchanges: add hashes and version numbers for recent entries
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Mon, 19 Apr 2021 17:45:24 +0000 (19:45 +0200)]
avformat: Constify all muxer/demuxers
This is possible now that the next-API is gone.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Mon, 19 Apr 2021 16:56:01 +0000 (18:56 +0200)]
avdevice: Constify all devices
This is possible now that the next-API is gone.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Mon, 19 Apr 2021 16:33:56 +0000 (18:33 +0200)]
avfilter: Constify all AVFilters
This is possible now that the next-API is gone.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Anton Khirnov [Mon, 5 Apr 2021 11:09:48 +0000 (13:09 +0200)]
Bump major versions of all libraries.
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
James Almer [Mon, 19 Apr 2021 12:57:46 +0000 (09:57 -0300)]
avcodec: postpone removal of deprecated libopenh264 wrapper options
They were deprecated only a year ago
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Mon, 19 Apr 2021 12:56:40 +0000 (09:56 -0300)]
avcodec: postpone removal of deprecated codec caps
This was deprecated only a year ago
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Mon, 19 Apr 2021 12:50:39 +0000 (09:50 -0300)]
avfilter/buffersrc: postpone removal of sws_param
It was depreacted less than two years ago
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Sun, 18 Apr 2021 15:41:52 +0000 (12:41 -0300)]
avutil: remove deprecated AVClass.child_class_next
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Sun, 18 Apr 2021 13:59:35 +0000 (10:59 -0300)]
avformat: remove deprecated AVStream.codec
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 23:28:14 +0000 (00:28 +0100)]
avcodec: Move all AVCodecParser.split functions to remove_extradata_bsf
The remove_extradata bsf is the only user of these functions.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 23:20:43 +0000 (00:20 +0100)]
avcodec: Constify all the AVCodecParsers
Possible now that the next pointer no longer exists.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 23:10:12 +0000 (00:10 +0100)]
avcodec: Constify AVCodecParserContext.parser
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 09:50:26 +0000 (10:50 +0100)]
avcodec: Constify AVCodecs
Given that the AVCodec.next pointer has now been removed, most of the
AVCodecs are not modified at all any more and can therefore be made
const (as this patch does); the only exceptions are the very few codecs
for external libraries that have a init_static_data callback.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 01:58:13 +0000 (02:58 +0100)]
avdevice/avdevice: Constify av_*_device_next API
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 01:54:18 +0000 (02:54 +0100)]
avdevice/avdevice: Constify avdevice_list_input_sources/output_sinks
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 00:53:40 +0000 (01:53 +0100)]
avformat/avformat, utils: Make av_find_best_stream const-correct
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 06:45:51 +0000 (07:45 +0100)]
avcodec/codec, allcodecs: Constify the AVCodec API
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 04:32:20 +0000 (05:32 +0100)]
avformat/avformat: Constify AVFormatContext.*_codec pointers
This also allows to exclusively use pointers to const AVCodec in
fftools/ffmpeg_opt.c.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Wed, 14 Apr 2021 02:33:24 +0000 (04:33 +0200)]
libavresample: Remove deprecated library
Deprecated in
c29038f3041a4080342b2e333c1967d136749c0f .
The resample filter based upon this library has been removed as well.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Wed, 14 Apr 2021 13:02:24 +0000 (15:02 +0200)]
avutil/cpu: Remove deprecated functions
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Wed, 14 Apr 2021 12:59:32 +0000 (14:59 +0200)]
avutil/buffer: Switch AVBuffer API to size_t
Announced in
14040a1d913794d9a3fd6406a6d8c2f0e37e0062 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Tue, 13 Apr 2021 23:46:26 +0000 (01:46 +0200)]
avutil/pixdesc: Remove deprecated AV_PIX_FMT_FLAG_PSEUDOPAL
Deprecated in
d6fc031caf64eed921bbdef86d79d56bfc2633b0 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 21:13:09 +0000 (22:13 +0100)]
avutil/frame: Remove deprecated getters and setters
Deprecated in
7df37dd319f2d9d3e1becd5d433884e3ccfa1ee2 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 20:56:20 +0000 (21:56 +0100)]
avutil: Switch crypto APIs to size_t
Announced in
e435beb1ea5380a90774dbf51fdc8c941e486551 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 19:40:41 +0000 (20:40 +0100)]
avutil/frame: Remove deprecated AVFrame.pkt_pts field
Deprecated in
32c8359093d1ff4f45ed19518b449b3ac3769d27 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 19:22:14 +0000 (20:22 +0100)]
avutil/frame: Remove deprecated AVFrame.error
Deprecated in
1aa24df74c052a73175c43e57d35b4835e537ec8 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 19:01:53 +0000 (20:01 +0100)]
avutil/pixdesc: Remove deprecated off-by-one fields from pix fmt descs
Deprecated in
2268db2cd052674fde55c7d48b7a5098ce89b4ba .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 18:33:32 +0000 (19:33 +0100)]
avutil/frame: Remove AVFrame QP table API
Originally deprecated in
1296b1f6c0631ab79464e22d48a6a1548450b943 ;
scheduled again for removal in
a9915268327b097bba84a07f68968d8c07f4b549 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 18:23:55 +0000 (19:23 +0100)]
avutil/pixfmt: Remove deprecated VAAPI pixel formats
Deprecated in
9f8e57efe4400ca86352277873792792279c3b15 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Wed, 14 Apr 2021 02:09:53 +0000 (04:09 +0200)]
avcodec: Remove deprecated old encode/decode APIs
Deprecated in commits
7fc329e2dd6226dfecaa4a1d7adf353bf2773726
and
31f6a4b4b83aca1d73f3cfc99ce2b39331970bf3 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Wed, 14 Apr 2021 01:36:13 +0000 (03:36 +0200)]
avcodec: Remove deprecated AVCodecContext.coded_frame
Deprecated in
40cf1bbacc6220a0aa6bed5c331871d43f9ce370 .
(The currently disabled filter vf_mcdeint and vf_uspp were users of
this field; they have not been changed, so that whoever wants to fix
them can see the state of these filters when they were disabled.)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Anton Khirnov [Mon, 5 Apr 2021 11:09:43 +0000 (13:09 +0200)]
Disable vf_uspp/mcdeint.
These filters depend on avcodec APIs that are to be removed. Some people
have expressed potential interest in updating these filters, so they are
merely disabled for now instead of being removed.
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Wed, 14 Apr 2021 12:14:53 +0000 (14:14 +0200)]
libswscale: Remove unused deprecated functions, make used ones static
Deprecated in
3b905b9fe611efb3282aa4c5c659e1870d91a83b .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Wed, 24 Feb 2021 14:20:39 +0000 (15:20 +0100)]
avfilter/Makefile: Don't compile transform.c unconditionally
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Wed, 24 Feb 2021 13:52:04 +0000 (14:52 +0100)]
avfilter/transform: Stop exporting internal functions
avfilter_transform, avfilter_(add|sub|mult)_matrix are not part of the
public API (transform.h is not a public header), yet they are currently
exported because of their name. This commit changes this:
avfilter_transform is renamed to ff_affine_transform; the other
functions are just removed as they have never been used at all.
Found-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 18:06:56 +0000 (19:06 +0100)]
avfilter/formats: Remove avfilter_make_format64_list()
The API it is part of has been made private long ago (see commit
b74a1da49db5ebed51aceae6cacc2329288a92c1 ).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 17:54:45 +0000 (18:54 +0100)]
avfilter/avfilter: Remove deprecated avfilter_link_set_closed()
Deprecated in
39a09e995d32d16e4f8c87a6ff5273cb9d98146e .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 17:44:21 +0000 (18:44 +0100)]
avfilter: Remove avfilter_next/avfilter_register API
Deprecated in
8f1382f80e0d4184c54c14afdda6482f050fbba7 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 17:08:50 +0000 (18:08 +0100)]
avfilter: Remove deprecated avfilter_link_get_channels
Deprecated in
b2c42fc6dc3502a8b6cae441c54d898972a51cff .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 16:52:24 +0000 (17:52 +0100)]
avfilter: Remove deprecated resample_lavr_opts
Deprecated in
3796fb2692f87d0000fc0aa4572ac025a6469c2b .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 16:39:17 +0000 (17:39 +0100)]
avfilter/avfilter: Remove compatibility code for old filter options
Added in
ad7d972e08dddb1788ac6a434d1be314febcb09d ; the old syntax has
been deprecated in
b439c992c23f3e0f3832fffd2a34a664b236c525 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Tue, 13 Apr 2021 22:35:37 +0000 (00:35 +0200)]
avformat: Switch AVChapter.id to 64bits
Announced in
e318438f2f30525d8baca2b5683aa9898d0c56f7 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Tue, 13 Apr 2021 22:29:37 +0000 (00:29 +0200)]
avformat: Remove deprecated av_demuxer_open()
Deprecate in
e37f161e66e042d6c2c7470c4d9881df9427fc4a .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 16:18:46 +0000 (17:18 +0100)]
avformat: Remove deprecated AVFMT_FLAG_MP4A_LATM flag, latm option
Deprecated in
67747c89ad4d3bfb4381c3d274603a4f0da773d8 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 16:14:23 +0000 (17:14 +0100)]
avformat/dashenc: Remove deprecated min_seg_duration option
Deprecated in
01ba52852d2ada3c79fe02a7de5bc1fdc27d56e8 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 15:55:37 +0000 (16:55 +0100)]
avformat/rtsp: Remove deprecated old options, rename stimeout->timeout
Deprecated in
ff46124b0df17a1d35249e09ae8eae9a61f16e04 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 15:51:13 +0000 (16:51 +0100)]
avformat/aviobuf: End grace period of allowing 0 from read_packet
See
a606f27f4c610708fa96e35eed7b7537d3d8f712 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 15:33:48 +0000 (16:33 +0100)]
avformat/mov, movenc: Stop exporting rotation via metadata
Deprecated in
ddef3d902f0e4cbd6be6b3e5df7ec158ce51488b .
(The reference file of the mov-zombie test needed to be updated, because
a rotate metadata tag is no longer exported; the side-data is of course
still present.)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 14:59:06 +0000 (15:59 +0100)]
avformat: Remove remnants of side data merging
Deprecated in
d682ae70b4b3a53fb73ec30281f9f4cfbc531edd ,
ineffective since
ca4df37f06f8a47651c67693b4851ed8d7e3ef74 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 14:57:03 +0000 (15:57 +0100)]
avformat/hlsenc: Remove deprecated localtime options
Deprecated in
fbd8746efabe441469eb410d2ffa6af64987ca80 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 14:45:17 +0000 (15:45 +0100)]
avformat/hlsenc: Remove deprecated wrap option
Deprecated in
d96ebc5ef88024869de06bcf92b2ad99b01d47e3 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Sat, 6 Mar 2021 13:11:56 +0000 (14:11 +0100)]
avformat/http: Remove deprecated "user-agent" option
Deprecated in
27714b462d1bff9e9b40fbdabb39f58e79032b81 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Fri, 26 Feb 2021 10:35:46 +0000 (11:35 +0100)]
avformat/avformat: Remove outdated private fields
Affected function pointers (always NULL) in AVInputFormat,
AVOutputFormat as well as private fields of AVStream.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Fri, 26 Feb 2021 10:33:09 +0000 (11:33 +0100)]
avformat: Remove deprecated filename field from AVFormatContext
Deprecated in
fa8308d3d4f27d6fb38ac2069887a7b259f1c6ab .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 13:49:18 +0000 (14:49 +0100)]
avformat: Remove getters and setters
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 13:45:28 +0000 (14:45 +0100)]
avformat: Remove deprecated old open callbacks
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 13:42:59 +0000 (14:42 +0100)]
avformat: Remove FFserver leftovers
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 02:11:32 +0000 (03:11 +0100)]
avformat: Constify the API wrt AV(In|Out)putFormat
Also constify AVProbeData.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Fri, 26 Feb 2021 10:19:02 +0000 (11:19 +0100)]
avcodec: Switch AVCPBProperties to 64bits
Announced in
2e8b0446c6798947dac77fee4a06f9c4e8131ab5 .
Two FATE-tests needed to be updated because the checksums of
side data containing an AVCPBProperties struct changed.
buffer_size has also been switched to 64bits because it is a bitsize.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Fri, 26 Feb 2021 09:42:02 +0000 (10:42 +0100)]
avcodec/parser: Remove deprecated av_parser_change
Deprecated in
9a07c1332cfe092b57b5758f22b686ca58806c60 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Fri, 26 Feb 2021 09:02:28 +0000 (10:02 +0100)]
avcodec/mpegvideo: Remove deprecated rc_strategy option
Deprecated in
d05c3b9ceeb9d00d4500c376448230e45f6ab108 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Fri, 26 Feb 2021 08:37:37 +0000 (09:37 +0100)]
avcodec/vaapi: Remove old and deprecated VAAPI context and header
Deprecated in
851960f6f8cf1f946fe42fa36cf6598fac68072c .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Fri, 26 Feb 2021 07:41:10 +0000 (08:41 +0100)]
avcodec: Remove deprecated old aliases for NVENC encoders
Deprecated in
888a5c794778a2f2aad22e9b4a3952dff92b11fa .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Fri, 26 Feb 2021 07:22:35 +0000 (08:22 +0100)]
avcodec: Remove deprecated VBV delay field
Deprecated in
2507b5dd674834be7261772996f47ae3b95cca69 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Fri, 26 Feb 2021 07:19:06 +0000 (08:19 +0100)]
avcodec/imgconvert: Remove deprecated parts of pixel format API
Deprecated in
617e866e25b72fa5d9f9d6bbcbd7e4bd69e63a54 and
2a54ae9df8cbc1717b3929222ac75f384e2ff240 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Fri, 26 Feb 2021 05:19:42 +0000 (06:19 +0100)]
avcodec: Remove deprecated AVPicture API
Deprecated in
a17a7661906ba295d67afd80ac0770422e1b02b3 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Fri, 26 Feb 2021 04:52:36 +0000 (05:52 +0100)]
avcodec/vdpau: Remove deprecated av_vdpau_get_profile
Deprecated in
b10b6ac7a902f28e09e37a29c392e2f0c19e9526 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Fri, 26 Feb 2021 02:56:33 +0000 (03:56 +0100)]
avcodec/options: Remove deprecated avcodec_copy_context
Deprecated in
5f30ac27795f9f98043e8582ccaad8813104adc4 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 19:37:24 +0000 (20:37 +0100)]
avcodec: Remove deprecated avcodec_get_context_defaults3
Deprecated in
04fc8e24a091ed1d77d7a3c0cbcfe60baec19a9f .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 19:33:44 +0000 (20:33 +0100)]
avcodec/(movtext|srt|ttml|webvtt)enc: Reindent after previous commit
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 19:30:58 +0000 (20:30 +0100)]
avcodec: Remove deprecated ASS with inline timing
Deprecated in
22ebbda637257a432c99330ca4c6024665418f0e .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 19:15:20 +0000 (20:15 +0100)]
avcodec/mpegvideo_enc: Remove deprecated RTP-callback
Deprecated in
462a54e2291e1fa18e1f1254d09739dfbb795617 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 19:07:50 +0000 (20:07 +0100)]
avcodec/codec2utils: Remove legacy avpriv functions
Unused since
37d742b607d47122d23d548ffd7ad9b09cbc5298 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 18:59:35 +0000 (19:59 +0100)]
avcodec/mpeg4audio: Remove avpriv_mpeg4audio_get_config
Superseded by avpriv_mpeg4audio_get_config2.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 18:54:07 +0000 (19:54 +0100)]
avcodec/bitstream: Remove avpriv PutBits API functions
Scheduled for removal in
717503f7166d7032e32b935f2819d450524125d1 .
Also remove PutBitContext.size_in_bits which has been scheduled
for removal in
e7cbbd90267de2a0ad1b5fa8ccb29ab7bf8a26b8 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 18:45:33 +0000 (19:45 +0100)]
avcodec: Remove deprecated avcodec_get_chroma_sub_sample
Effectively deprecated in
2c800eb7375c65ffd56164b03bb035bdb3f1e172 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 18:39:58 +0000 (19:39 +0100)]
avcodec: Remove remnants of user-visiable HW acceleration API
Disabled and deprecated in
3536a3efb9fde88d34d526a51b1080247326cd6e .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 18:37:16 +0000 (19:37 +0100)]
avcodec: Remove lock manager API
Deprecated in
a04c2c707de2ce850f79870e84ac9d7ec7aa9143 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 18:34:56 +0000 (19:34 +0100)]
avcodec: Remove deprecated av_codec_get_tag_string
Deprecated in
f156d35321bb600b2309b78185d600b2fa64d84a .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 18:29:46 +0000 (19:29 +0100)]
avcodec: Remove unneeded getters and setters
Deprecated in
c4131a0613c4b2c30c01b2550b41068815d27799 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 18:20:01 +0000 (19:20 +0100)]
avcodec: Remove private options from AVCodecContext
Several options that were too codec-specific were deprecated between
0e6c8532215790bbe560a9eea4f3cc82bb55cf92 and
0e9c4fe254073b209970df3e3cb84531bc388e99 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 17:57:27 +0000 (18:57 +0100)]
avcodec: Remove deprecated API to split/merge side-data
Deprecated in
d682ae70b4b3a53fb73ec30281f9f4cfbc531edd .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 17:54:02 +0000 (18:54 +0100)]
avcodec: Remove deprecated coder type options
Deprecated in
be00ec832c519427cd92218abac77dafdc1d5487 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 17:43:15 +0000 (18:43 +0100)]
avcodec: Remove deprecated stat-bits fields
Deprecated in
16216b713f9a21865cc07993961cf5d0ece24916 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 17:14:11 +0000 (18:14 +0100)]
avcodec: Remove deprecated AVPacket API
Deprecated in
ce70f28a1732c74a9cd7fec2d56178750bd6e457 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 17:12:11 +0000 (18:12 +0100)]
avcodec, avformat: Remove AVPacket.convergence_duration
Deprecated in
948f3c19a8bd069768ca411212aaf8c1ed96b10d .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 17:01:14 +0000 (18:01 +0100)]
avcodec: Remove sidedata-only-packet cruft
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 16:49:56 +0000 (17:49 +0100)]
avcodec, avformat: Remove old BSF API
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 13:22:30 +0000 (14:22 +0100)]
avformat: Remove next API for AV(In|Out)putFormat
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Rheinhardt [Thu, 25 Feb 2021 13:02:44 +0000 (14:02 +0100)]
avcodec: Remove AVCodec, AVParser and AVBitStreamFilter next API
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Gyan Doshi [Tue, 27 Apr 2021 03:51:43 +0000 (09:21 +0530)]
avformat/dtsenc: reindent
Gyan Doshi [Mon, 26 Apr 2021 11:20:03 +0000 (16:50 +0530)]
avformat/adtsenc: clarify option help
Also remove unnecessary unit as option does not accept any constants.