summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_audio_stream.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-10-24 20:37:02 +0200
committerCarl Hetherington <cth@carlh.net>2022-10-24 23:50:44 +0200
commit01a24fe341fcd6a7265e118806827f006d4f84f8 (patch)
tree04446ecc753842206b034a57bfcdbf395ceb0c62 /src/lib/ffmpeg_audio_stream.cc
parentf2e3522a9dcf7bd0a7a1f1073e45b4450e3b68f0 (diff)
Hopefully fix crash when the same frame is encoded twice.prores-debug
Previously if some frame X was passed to the encoder twice I think this would happen: X1 written; X stored to _pending_images X2 written; _pending_images remains the same X1 encode finishes; X is discarded from _pending_images Data for X2 is read by the encoder but was just freed I think this might have resulted in intermittent crashes, which were fairly common in the 2.17.x branch with the test ffmpeg_encoder_prores_regression_1 But I didn't conclusively prove it.
Diffstat (limited to 'src/lib/ffmpeg_audio_stream.cc')
0 files changed, 0 insertions, 0 deletions