From 91743fb7305a0212655e4841c20d8cd0cbc1be99 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 22 Nov 2012 05:15:57 +0100 Subject: [PATCH] frwu: do not set interlacing flags. Our fate frwu sample is definitely not interlaced. If someone has a interlaced frwu file, please contact us. Without this change the field order patch would cause incorrect interlacing information to be written when using frwu input. Signed-off-by: Michael Niedermayer --- libavcodec/frwu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/frwu.c b/libavcodec/frwu.c index 90ffc79a0c..c70013b622 100644 --- a/libavcodec/frwu.c +++ b/libavcodec/frwu.c @@ -66,8 +66,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, pic->pict_type = AV_PICTURE_TYPE_I; pic->key_frame = 1; - pic->interlaced_frame = 1; - pic->top_field_first = 1; for (field = 0; field < 2; field++) { int i;