-
-
Notifications
You must be signed in to change notification settings - Fork 281
Description
Version
3.4.2
Details
I have some unit tests that use ffmpeg, and in the context of these tests the ffmpeg output is piped to null. With 3.4.1 everything works correctly and ffmpeg exits with code 0, but with 3.4.2 ffmpeg exits with code 1 and the following error:
av_interleaved_write_frame(): Broken pipe
Error writing trailer of pipe:1: Broken pipe
Error closing file pipe:1: Broken pipe
I tried looking through the changes between 3.4.1 and 3.4.2 but am not familiar enough with the project to identify the cause of the different behavior.
Could use some help determining if this is a regression or if the change in behavior is expected and I need to update my test code somehow.
Steps to reproduce
Repro project is at https://github.com/jasongdove/cliwrap-repro1 - ffmpeg is a required dependency.
The test will pass with CliWrap 3.4.1 and fail with CliWrap 3.4.2.