This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new db53fe1ac2 avdevice/alsa.c: Conditionally compile out ESTRPIPE
db53fe1ac2 is described below
commit db53fe1ac25dd392be3514dde499545782c7224f
Author: David Hampton <[email protected]>
AuthorDate: Thu Feb 12 17:33:00 2026 -0500
Commit: Marton Balint <[email protected]>
CommitDate: Wed Apr 8 20:44:16 2026 +0000
avdevice/alsa.c: Conditionally compile out ESTRPIPE
NetBSD doesn't have this error code, so put in a test to prevent
compiling related code on NetBSD systems.
---
libavdevice/alsa.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavdevice/alsa.c b/libavdevice/alsa.c
index cfdb28ff49..9d8239c962 100644
--- a/libavdevice/alsa.c
+++ b/libavdevice/alsa.c
@@ -335,10 +335,12 @@ int ff_alsa_xrun_recover(AVFormatContext *s1, int err)
return AVERROR(EIO);
}
+#ifdef ESTRPIPE
} else if (err == -ESTRPIPE) {
av_log(s1, AV_LOG_ERROR, "-ESTRPIPE... Unsupported!\n");
return -1;
+#endif
}
return err;
}
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]