h264: correct border check.
authorRonald S. Bultje <rsbultje@gmail.com>
Thu, 19 May 2011 20:47:59 +0000 (16:47 -0400)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 20 May 2011 00:32:18 +0000 (20:32 -0400)
commit4e987f8282ff7658a6f804b9db39954bb59fa72e
tree0c4ed079eba59a0b027d6de6fee34776d5e02365
parent0ffc84150599d15b66a3960202e07755f99fe0d0
h264: correct border check.

When backing up the top-left border, check that the top-left
(rather than left) MB indeed does belong to our slice. If it
doesn't, backing up has no positive effect but may accidentally
interfere with other threads writing in the same space.

Fixes occasional one-off effects when enabling slice-MT.
libavcodec/h264.c