Commit ce4801f5 authored by cehoyos's avatar cehoyos

Set pict->interlaced_frame if returned frame is MBAFF or PAFF.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10703 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 74226348
......@@ -7843,6 +7843,7 @@ static int decode_frame(AVCodecContext *avctx,
/* we substract 1 because it is added on utils.c */
avctx->frame_number = s->picture_number - 1;
#endif
pict->interlaced_frame = FIELD_OR_MBAFF_PICTURE;
return get_consumed_bytes(s, buf_index, buf_size);
}
#if 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment