mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Merge commit 'cf6090dc6252f2b276aa4133e3d73a89f4c6046c'
* commit 'cf6090dc6252f2b276aa4133e3d73a89f4c6046c': hevc: use intreadwrite Conflicts: libavcodec/hevc_mvs.c See: 7a4a5515b0ce97f1c4e18ed012cc3f86328dd220 Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
17cbc6457b
@ -462,8 +462,8 @@ static void derive_spatial_merge_candidates(HEVCContext *s, int x0, int y0,
|
||||
// append Zero motion vector candidates
|
||||
while (nb_merge_cand < s->sh.max_num_merge_cand) {
|
||||
mergecandlist[nb_merge_cand].pred_flag = PF_L0 + ((s->sh.slice_type == B_SLICE) << 1);
|
||||
AV_ZERO32(mergecandlist[nb_merge_cand].mv+0);
|
||||
AV_ZERO32(mergecandlist[nb_merge_cand].mv+1);
|
||||
AV_ZERO32(mergecandlist[nb_merge_cand].mv + 0);
|
||||
AV_ZERO32(mergecandlist[nb_merge_cand].mv + 1);
|
||||
mergecandlist[nb_merge_cand].ref_idx[0] = zero_idx < nb_refs ? zero_idx : 0;
|
||||
mergecandlist[nb_merge_cand].ref_idx[1] = zero_idx < nb_refs ? zero_idx : 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user