aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/lossless_videoencdsp.c
diff options
context:
space:
mode:
authorClément Bœsch <cboesch@gopro.com>2017-03-28 18:00:02 +0200
committerClément Bœsch <u@pkh.me>2017-03-28 23:47:24 +0200
commit473f0f75a16b4d37bdaa943f75e4ae249212c1ba (patch)
tree7ea7b4ff12a77583a180e0bbb59bc8e1129a5de1 /libavcodec/lossless_videoencdsp.c
parent77d2cb88741a9ac6ab6a3c53b32b01cec07b99b2 (diff)
downloadffmpeg-473f0f75a16b4d37bdaa943f75e4ae249212c1ba.tar.gz
lavfi: fix race when func rets holder is NULL
If ret is NULL, a dummy common holder is created to hold *all* the parallel function returns, which gets written concurrently. This commit simplify the whole logic by simply not writing to that holder when not set.
Diffstat (limited to 'libavcodec/lossless_videoencdsp.c')
0 files changed, 0 insertions, 0 deletions