h264: only assign H264Picture::mbaff for first slice.
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 29 Mar 2017 13:33:47 +0000 (09:33 -0400)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 31 Mar 2017 12:26:24 +0000 (08:26 -0400)
commit1ddc37051f11bd4bbadbcd17ea49b76a965d6a47
tree77e3f52a8b6925f87be12226b6f96beaceefbdbf
parentb5300c8ad8c5384ab3654d6cb27693422bc424e7
h264: only assign H264Picture::mbaff for first slice.

The value must be identical between slices, since mbaff depends on
picture_structure and sps, both of which are checked to be identical
to the first slice before this point.

In practice, this silences some tsan warnings in fate-h264.
libavcodec/h264_direct.c