---
libavcodec/frwu.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavcodec/frwu.c b/libavcodec/frwu.c
index 568b94f..0cb9ea2 100644
--- a/libavcodec/frwu.c
+++ b/libavcodec/frwu.c
@@ -59,8 +59,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
int *got_frame,
pic->pict_type = AV_PICTURE_TYPE_I;
pic->key_frame = 1;
- pic->interlaced_frame = 1;
- pic->top_field_first = 1;
+ pic->field_state = AV_FRAME_INTERLACED_TFF;
for (field = 0; field < 2; field++) {
int i;
--
1.7.9.5
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel