summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12dec.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2017-03-16 15:51:56 -0400
committerVittorio Giovara <vittorio.giovara@gmail.com>2017-03-23 10:09:16 +0100
commit5182a28b5de060c51c21b36053ab205bfbbbbe31 (patch)
tree950e53bc4db743aae2481e855300e16b571196ea /libavcodec/mpeg12dec.c
parent4476027d93680cd88d2f75ef1cef5b0c276a8704 (diff)
lavc: Drop deprecated global afd field
Deprecated in 08/2014.
Diffstat (limited to 'libavcodec/mpeg12dec.c')
-rw-r--r--libavcodec/mpeg12dec.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c
index 528a4ed16d..6702ad1ed7 100644
--- a/libavcodec/mpeg12dec.c
+++ b/libavcodec/mpeg12dec.c
@@ -2176,11 +2176,6 @@ static void mpeg_decode_user_data(AVCodecContext *avctx,
if (flags & 0x40) {
if (buf_end - p < 1)
return;
-#if FF_API_AFD
-FF_DISABLE_DEPRECATION_WARNINGS
- avctx->dtg_active_format = p[0] & 0x0f;
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif /* FF_API_AFD */
s1->has_afd = 1;
s1->afd = p[0] & 0x0f;
}