Commit 1bf28380 authored by andoma's avatar andoma

Provide top_field_first logic for h264

patch by: Reinhard Nissl rnissl a gmx d de



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10989 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 21d822fe
......@@ -7767,6 +7767,8 @@ static int decode_frame(AVCodecContext *avctx,
} else {
cur->interlaced_frame = FIELD_OR_MBAFF_PICTURE;
/* Derive top_field_first from field pocs. */
cur->top_field_first = cur->field_poc[0] < cur->field_poc[1];
//FIXME do something with unavailable reference frames
......
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