diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2014-08-08 18:21:02 +0000 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-08-12 10:03:20 +0000 |
commit | cf6090dc6252f2b276aa4133e3d73a89f4c6046c (patch) | |
tree | 73b08aabe6484a1c2aebecc6f5f32b94be63b319 /libavcodec/hevc.c | |
parent | ed53cc217f6a6e4ddb35e3f01a79496091dc82dc (diff) | |
download | ffmpeg-cf6090dc6252f2b276aa4133e3d73a89f4c6046c.tar.gz |
hevc: use intreadwrite
When dealing with MVs, both components may be processed at a time.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r-- | libavcodec/hevc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 4794e4b0f3..ef41ddfe7b 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -1714,8 +1714,7 @@ static void hls_prediction_unit(HEVCContext *s, int x0, int y0, } if (s->sh.mvd_l1_zero_flag == 1 && inter_pred_idc == PRED_BI) { - lc->pu.mvd.x = 0; - lc->pu.mvd.y = 0; + AV_ZERO32(&lc->pu.mvd); } else { hls_mvd_coding(s, x0, y0, 1); } |