avcodec/h264_mc_template: prefetch list1 only if it is used in the MB
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 17 Dec 2015 23:20:51 +0000 (00:20 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 17 Dec 2015 23:55:27 +0000 (00:55 +0100)
commitcabd9ae5be8797bbafb8db15be5edd266d9efd7a
tree6adeb6111552228cc1890cd895071dbc3fc14971
parentcfbf608c0af6e45254e7d66903a31daf5452c2de
avcodec/h264_mc_template: prefetch list1 only if it is used in the MB

Fixes ubsan warning
Fixes Mozilla bug 1230276

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit c8ea57664fe3ad611c9ecd234670544ddff7ca55)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h264_mc_template.c