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>
Sun, 20 Dec 2015 02:24:22 +0000 (03:24 +0100)
commit50ce06cc7c5aa37ddab9147c13b22aaff959a43a
tree692349913c69adfd2dcf024b85308babb81c0e6c
parenta628b7083100f96e376d97e5afb12efb74f01e8a
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