Introduction
Introduction Statistics Contact Development Disclaimer Help
ffmpeg-effect: keep case statement style consistent - annna - Annna the nice fr…
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 525b42728e67c375d13da283e917ccd80941b716
parent f20cb7036f8163367f3ec0842a1bb26758873554
Author: Anders Damsgaard <[email protected]>
Date: Fri, 21 Oct 2022 21:20:21 +0200
ffmpeg-effect: keep case statement style consistent
Signed-off-by: Annna Robert-Houdin <[email protected]>
Diffstat:
M ffmpeg-effect | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/ffmpeg-effect b/ffmpeg-effect
@@ -16,10 +16,8 @@ is_image() {
mimetype="$(file -ib "$1")"
case "${mimetype}" in
image/*)
- return 0
- ;;
+ return 0;;
esac
-
return 1
}
@@ -102,16 +100,13 @@ process_filter() {
case "$1" in
wat)
replace_face "${mediadir}/wat.png" "$2" "$3"
- return 0
- ;;
+ return 0;;
smith)
replace_face "${mediadir}/smith.png" "$2" "$3"
- return 0
- ;;
+ return 0;;
zucc)
replace_face "${mediadir}/zucc.png" "$2" "$3"
- return 0
- ;;
+ return 0;;
esac
# extend duration if less than a second or image
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.