Files
ffmpeg/libavcodec
Ronald S. Bultje 1f50baa2b2 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)
2017-04-03 09:51:10 -04: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-03-28 18:04:27 -04: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-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-02-10 17:04:56 +01:00
2017-02-21 00:40:20 +01:00
2017-02-27 13:10:41 +01:00
2017-04-02 19:54:12 +02:00
2017-02-02 01:12:07 +01:00
2017-03-21 20:54:27 +01:00