diff options
author | Clément Bœsch <cboesch@gopro.com> | 2017-03-28 18:00:02 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-28 23:47:24 +0200 |
commit | 473f0f75a16b4d37bdaa943f75e4ae249212c1ba (patch) | |
tree | 7ea7b4ff12a77583a180e0bbb59bc8e1129a5de1 /libavcodec/dvaudiodec.c | |
parent | 77d2cb88741a9ac6ab6a3c53b32b01cec07b99b2 (diff) | |
download | ffmpeg-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/dvaudiodec.c')
0 files changed, 0 insertions, 0 deletions