mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-03 05:22:10 +00:00
h264_refs: fix typo in refs fallback check
Fixes regression since 01a0283
Fixes Ticket2371
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
5787a71637
commit
fa7031ad37
@ -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++)
|
for (i = 0; i < FF_ARRAY_ELEMS(h->last_pocs); i++)
|
||||||
h->last_pocs[i] = INT_MIN;
|
h->last_pocs[i] = INT_MIN;
|
||||||
if (h->default_ref_list[list][0].f.data[0]
|
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]);
|
COPY_PICTURE(&h->ref_list[list][index], &h->default_ref_list[list][0]);
|
||||||
else
|
else
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user