utvideo: mark interlaced frames as such

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/59/head
Hendrik Leppkes 13 years ago committed by Michael Niedermayer
parent f6943f2379
commit 2d61f0040d
  1. 2
      libavcodec/utvideo.c

@ -496,6 +496,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;

Loading…
Cancel
Save