summaryrefslogtreecommitdiff
path: root/libavcodec/h264_picture.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-05-09 09:30:10 +0200
committerAnton Khirnov <anton@khirnov.net>2016-06-12 20:27:53 +0200
commit39ab2ea53121b9976a619cd545fbd3464b908696 (patch)
treec7c7b1266c5bbfb2521e8059d5fecd9762c919e0 /libavcodec/h264_picture.c
parent7ab5d577a9affe3397c08b032f983f9bf7101865 (diff)
downloadffmpeg-39ab2ea53121b9976a619cd545fbd3464b908696.tar.gz
h264: rename mmco_index to nb_mmco
The variable stores the number of mmco entries, so the current name is misleading.
Diffstat (limited to 'libavcodec/h264_picture.c')
-rw-r--r--libavcodec/h264_picture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_picture.c b/libavcodec/h264_picture.c
index 6c617a28f6..b16e3c09ae 100644
--- a/libavcodec/h264_picture.c
+++ b/libavcodec/h264_picture.c
@@ -154,7 +154,7 @@ int ff_h264_field_end(H264Context *h, H264SliceContext *sl, int in_setup)
if (in_setup || !(avctx->active_thread_type & FF_THREAD_FRAME)) {
if (!h->droppable) {
- err = ff_h264_execute_ref_pic_marking(h, h->mmco, h->mmco_index);
+ err = ff_h264_execute_ref_pic_marking(h, h->mmco, h->nb_mmco);
h->poc.prev_poc_msb = h->poc.poc_msb;
h->poc.prev_poc_lsb = h->poc.poc_lsb;
}