summaryrefslogtreecommitdiffstats
path: root/libavdevice/oss.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2021-02-07 10:58:25 +0100
committerAndreas Rheinhardt <[email protected]>2021-02-16 22:11:53 +0100
commit2ccbc40eefd22a6aac1e543ea849951e159f4d8a (patch)
tree61ac3c6287c1945b71b9016243dc7b6425e134de /libavdevice/oss.c
parente0f5086fabe6feef362b9398a41ef30de07a08ee (diff)
avcodec/frame_thread_encoder: Fix segfault on allocation error
Fixes a segfault from av_fifo_size(NULL) that happens in ff_frame_thread_encoder_free if the fifo couldn't be allocted; furthermore the mutexes and conditions that are destroyed in ff_frame_thread_encoder_free are not even initialized at this point, so don't call said function. Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavdevice/oss.c')
0 files changed, 0 insertions, 0 deletions