aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dvdsubenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-26 06:19:42 +0100
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:04 -0300
commitd947464ad41ea634ab19f8d631bfc035e4a902c1 (patch)
tree9ca8597da6dfcf71f9bebb6ae4a9bf9aae80a800 /libavcodec/dvdsubenc.c
parentaf581cf79d317e798482a095faae781142633f49 (diff)
downloadffmpeg-d947464ad41ea634ab19f8d631bfc035e4a902c1.tar.gz
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>
Diffstat (limited to 'libavcodec/dvdsubenc.c')
-rw-r--r--libavcodec/dvdsubenc.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/libavcodec/dvdsubenc.c b/libavcodec/dvdsubenc.c
index 9fa9d5b6d7..e55e2eab4f 100644
--- a/libavcodec/dvdsubenc.c
+++ b/libavcodec/dvdsubenc.c
@@ -279,20 +279,6 @@ static int encode_dvd_subtitles(AVCodecContext *avctx,
break;
}
-#if FF_API_AVPICTURE
-FF_DISABLE_DEPRECATION_WARNINGS
- for (i = 0; i < rects; i++)
- if (!h->rects[i]->data[0]) {
- AVSubtitleRect *rect = h->rects[i];
- int j;
- for (j = 0; j < 4; j++) {
- rect->data[j] = rect->pict.data[j];
- rect->linesize[j] = rect->pict.linesize[j];
- }
- }
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
-
vrect = *h->rects[0];
if (rects > 1) {