diff --git a/libavcodec/utvideo.c b/libavcodec/utvideo.c index e5efa4a7ec00bd5ec0f7d71ce53013e412067d10..471d85adc366ad72d9d8c13cd82d4ba515da4f8a 100644 --- a/libavcodec/utvideo.c +++ b/libavcodec/utvideo.c @@ -499,6 +499,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, c->pic.key_frame = 1; c->pic.pict_type = AV_PICTURE_TYPE_I; + c->pic.interlaced_frame = !!c->interlaced; + *data_size = sizeof(AVFrame); *(AVFrame*)data = c->pic;