Closed ko80 closed 2 months ago
lgtm
Just a small comment Probably we should imperative mode in commit messages
IMO its readable enough though
Just a small comment Probably we should imperative mode in commit messages
IMO its readable enough though
Agreed on using an appropriate style of commit messages in imperative mode in the future commits. This one goes as it is.
Commit 065923f3f768 ("Refactor FFmpeg audio plugin sample rate parsing") added a helper function for parsing the sample frequency. However, the error returned from the function was checked incorrectly (inverted). This led to a segmentation fault when starting FFmpeg with MTL audio plugins.
This commit fixes the error handling by checking if the return value is non zero.
Fixes: 065923f3f768 ("Refactor FFmpeg audio plugin sample rate parsing")
Change-type: DefectResolution