aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorNicolas Dato <nicolas.dato@gmail.com>2025-07-21 16:03:15 -0300
committerNicolas Dato <nicolas.dato@gmail.com>2025-07-21 16:03:15 -0300
commita3de20c897b802f033e524e75273efff18b8637f (patch)
tree5ba9e542d552369c50d36a99cb0fe8510d13cbf4 /example
parent5c271cdae60c9711fb100a544d2b014a777c3408 (diff)
downloadlibtuberia-a3de20c897b802f033e524e75273efff18b8637f.tar.gz
adding copyright notice in each .c file
Diffstat (limited to 'example')
-rw-r--r--example/decode_resize_encode.c21
-rw-r--r--example/simple.c22
2 files changed, 43 insertions, 0 deletions
diff --git a/example/decode_resize_encode.c b/example/decode_resize_encode.c
index 8bd956a..3d6ffb0 100644
--- a/example/decode_resize_encode.c
+++ b/example/decode_resize_encode.c
@@ -1,3 +1,24 @@
+/*
+ * Copyright (c) 2025 Nicolas Dato
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
#include <libavcodec/avcodec.h>
#include <libavfilter/avfilter.h>
#include <libavformat/avformat.h>
diff --git a/example/simple.c b/example/simple.c
index 3d4df1a..e4b492b 100644
--- a/example/simple.c
+++ b/example/simple.c
@@ -1,4 +1,26 @@
/*
+ * Copyright (c) 2025 Nicolas Dato
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */
+
+/*
* Compile with
* gcc -o simple simple.c -ltuberia -lpthread
* or