OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5787a71
)
h264_refs: fix typo in refs fallback check
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 17 Mar 2013 13:15:15 +0000
(14:15 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 17 Mar 2013 13:21:46 +0000
(14:21 +0100)
Fixes regression since
01a0283
Fixes Ticket2371
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264_refs.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264_refs.c
b/libavcodec/h264_refs.c
index
e720c07
..
53a08be
100644
(file)
--- 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;