Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-09-15 16:53:12 +0300
committerAnton Khirnov <anton@khirnov.net>2022-09-19 16:18:20 +0300
commit8576c3c5d82188c1313f20666b8760fe4a29444c (patch)
tree5fd034343afd67917d8981b5e90e06ac8cdccff3 /libavcodec/videotoolbox.c
parentd7f4ad88a0df3c1339e142957bf2c40cd056b8ce (diff)
lavc/videotoolbox: deprecate write-only output_callback
This field has never been used for anything, so stop setting it and deprecate it.
Diffstat (limited to 'libavcodec/videotoolbox.c')
-rw-r--r--libavcodec/videotoolbox.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c
index d61d310600..1b1be8ddb4 100644
--- a/libavcodec/videotoolbox.c
+++ b/libavcodec/videotoolbox.c
@@ -1377,8 +1377,6 @@ static AVVideotoolboxContext *av_videotoolbox_alloc_context_with_pix_fmt(enum AV
AVVideotoolboxContext *ret = av_mallocz(sizeof(*ret));
if (ret) {
- ret->output_callback = videotoolbox_decoder_callback;
-
OSType cv_pix_fmt_type = av_map_videotoolbox_format_from_pixfmt2(pix_fmt, full_range);
if (cv_pix_fmt_type == 0) {
cv_pix_fmt_type = kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange;