aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aacps.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-10-04 09:01:45 +0200
committerClément Bœsch <ubitux@gmail.com>2012-10-05 07:35:58 +0200
commit2e59210edfe822cce1369dd962d791cc9d45798b (patch)
treef7732535b6196830265b14ec87d6d67469b84478 /libavcodec/aacps.h
parent5cdd3b995c9dd79ab6ab852a27e75a21c0eb4f5f (diff)
downloadffmpeg-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 'libavcodec/aacps.h')
0 files changed, 0 insertions, 0 deletions