aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2007-10-10 20:31:42 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2007-10-10 20:31:42 +0000
commit2fe279f9f9116bf9afd9f11142e17b140654c433 (patch)
treec8d2a21cb875bae701e9b6faff32731018c7270d
parentce3132be88b8affcbab9602a77fe09d54d8e952a (diff)
downloadffmpeg-2fe279f9f9116bf9afd9f11142e17b140654c433.tar.gz
Set pict->interlaced_frame if returned frame is MBAFF or PAFF.
Originally committed as revision 10703 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/h264.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 6b97622bc0..ffbf630bb5 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -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