summaryrefslogtreecommitdiff
path: root/libavcodec/h264_refs.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-17 14:15:15 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-17 14:21:46 +0100
commitfa7031ad37526bc9916e87dda25547ebbb6f4a3b (patch)
treeaaa0dfaf02a169e8be11091cdd132fe6e02ea38e /libavcodec/h264_refs.c
parent5787a71637357e0f5862360a0e3fb6bef480b37c (diff)
downloadffmpeg-fa7031ad37526bc9916e87dda25547ebbb6f4a3b.tar.gz
h264_refs: fix typo in refs fallback check
Fixes regression since 01a0283 Fixes Ticket2371 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_refs.c')
-rw-r--r--libavcodec/h264_refs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c
index e720c0795c..53a08be1cc 100644
--- a/libavcodec/h264_refs.c
+++ b/libavcodec/h264_refs.c
@@ -312,7 +312,7 @@ int ff_h264_decode_ref_pic_list_reordering(H264Context *h)
for (i = 0; i < FF_ARRAY_ELEMS(h->last_pocs); i++)
h->last_pocs[i] = INT_MIN;
if (h->default_ref_list[list][0].f.data[0]
- && !(!FIELD_PICTURE && (h->default_ref_list[list][index].reference&3) != 3))
+ && !(!FIELD_PICTURE && (h->default_ref_list[list][0].reference&3) != 3))
COPY_PICTURE(&h->ref_list[list][index], &h->default_ref_list[list][0]);
else
return -1;