Files
FFmpeg/libavcodec
Ronald S. Bultje d1cae50a04 hevc: only write to max_ra and pocTid0 in the first slice.
Values from subsequent values are guaranteed to be identical (since
poc and nal_unit_type are checked to be the same between slices), so
this doesn't affect output in any way, but does resolve the remaining
reported race conditions (by tsan) in fate-hevc.

In practice, this fixes tsan warnings like this:

WARNING: ThreadSanitizer: data race (pid=25334)
  Read of size 4 at 0x7d9c0001adcc by main thread (mutexes: write M1386):
    #0 hevc_update_thread_context src/libavcodec/hevcdec.c:3310 (ffmpeg+0x000000b41c7c)
[..]
  Previous write of size 4 at 0x7d9c0001adcc by thread T1 (mutexes: write M1383):
    #0 hls_slice_header src/libavcodec/hevcdec.c:596 (ffmpeg+0x000000b43a22)

(cherry picked from commit 1f50baa2b2)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-04-13 02:29:26 +02:00
..
2017-03-31 12:28:58 +02:00
2017-02-15 12:46:01 +01:00
2017-02-15 12:46:01 +01:00
2017-03-20 09:23:15 +01:00
2017-02-21 00:40:20 +01:00
2017-01-11 16:02:10 +01:00
2017-03-28 18:04:27 -04:00
2017-03-28 18:04:27 -04:00
2017-03-21 12:38:20 +01:00
2017-02-03 20:16:30 +01:00
2017-02-03 20:01:07 +01:00
2017-01-11 16:02:10 +01:00
2017-01-11 16:02:10 +01:00
2017-02-21 00:40:20 +01:00
2017-02-14 06:15:36 +00:00
2017-02-24 19:14:55 +00:00
2017-02-14 06:15:36 +00:00
2017-04-11 23:39:21 +02:00
2017-01-09 18:43:19 +01:00
2017-02-10 17:04:56 +01:00
2017-01-16 10:24:01 +01:00
2017-02-21 00:40:20 +01:00
2017-02-27 13:10:41 +01:00
2017-04-02 19:49:45 +02:00
2017-02-02 01:12:07 +01:00
2017-03-21 20:54:27 +01:00
2017-01-20 13:58:41 +01:00