summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/h264.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index f6cfa1a35d..1197a65a85 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -4287,6 +4287,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
out:
s->current_picture_ptr = NULL;
+ s->first_field = 0;
// FIXME factorize this with the output code below
out = h->delayed_pic[0];