diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-10-04 09:01:45 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-10-05 07:35:58 +0200 |
commit | 2e59210edfe822cce1369dd962d791cc9d45798b (patch) | |
tree | f7732535b6196830265b14ec87d6d67469b84478 /ffmpeg_filter.c | |
parent | 5cdd3b995c9dd79ab6ab852a27e75a21c0eb4f5f (diff) | |
download | ffmpeg-2e59210edfe822cce1369dd962d791cc9d45798b.tar.gz |
lavc/h264: don't touch H264Context->ref_count[] during MB decoding.
The variable is copied to subsequent threads at the same time, so this
may cause wrong ref_count[] values to be copied to subsequent threads.
This bug was found using TSAN and Helgrind.
Original patch by Ronald, adapted with a local_ref_count by Clément,
following the suggestion of Michael Niedermayer.
Signed-off-by: Clément Bœsch <clement.boesch@smartjog.com>
Diffstat (limited to 'ffmpeg_filter.c')
0 files changed, 0 insertions, 0 deletions