summaryrefslogtreecommitdiff
path: root/libavformat/yuv4mpegenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/yuv4mpegenc.c')
-rw-r--r--libavformat/yuv4mpegenc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavformat/yuv4mpegenc.c b/libavformat/yuv4mpegenc.c
index 6b53780ba0..f21f2dce92 100644
--- a/libavformat/yuv4mpegenc.c
+++ b/libavformat/yuv4mpegenc.c
@@ -50,13 +50,6 @@ static int yuv4_write_header(AVFormatContext *s)
if (aspectn == 0 && aspectd == 1)
aspectd = 0; // 0:0 means unknown
-#if FF_API_LAVF_AVCTX
- FF_DISABLE_DEPRECATION_WARNINGS
- if (field_order != st->codec->field_order && st->codec->field_order != AV_FIELD_UNKNOWN)
- field_order = st->codec->field_order;
- FF_ENABLE_DEPRECATION_WARNINGS
-#endif
-
switch(st->codecpar->color_range) {
case AVCOL_RANGE_MPEG:
colorrange = " XCOLORRANGE=LIMITED";