Re: [FFmpeg-devel] [PATCH] h264: only assign H264Picture::mbaff for first slice.

2017-03-31 Thread Michael Niedermayer
On Thu, Mar 30, 2017 at 07:46:14AM -0400, Ronald S. Bultje wrote: > 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

[FFmpeg-devel] [PATCH] h264: only assign H264Picture::mbaff for first slice.

2017-03-30 Thread Ronald S. Bultje
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 | 6 +- 1 file changed, 5