summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-01-17 22:28:46 +0100
committerAnton Khirnov <anton@khirnov.net>2015-03-21 11:27:14 +0100
commit9951907f6fc37a8d41566dbee09f7c15ff587de6 (patch)
tree8c5013900cdc382eaad80430990a7f1ee188e8b6 /libavcodec/h264.c
parenta9b201cacf85d710b102010cb4baef97f00ea39b (diff)
h264: move redundant_pic_count into the per-slice context
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index cc3af6f039..554c3d1f94 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -1570,7 +1570,7 @@ again:
return ret;
}
- if (hx->redundant_pic_count == 0 &&
+ if (sl->redundant_pic_count == 0 &&
(avctx->skip_frame < AVDISCARD_NONREF ||
hx->nal_ref_idc) &&
(avctx->skip_frame < AVDISCARD_BIDIR ||