aboutsummaryrefslogtreecommitdiff
path: root/remuxer
diff options
context:
space:
mode:
Diffstat (limited to 'remuxer')
-rw-r--r--remuxer/src/format.rs5
-rw-r--r--remuxer/src/import/mod.rs8
-rw-r--r--remuxer/src/lib.rs5
3 files changed, 16 insertions, 2 deletions
diff --git a/remuxer/src/format.rs b/remuxer/src/format.rs
index f6cc411..22527f7 100644
--- a/remuxer/src/format.rs
+++ b/remuxer/src/format.rs
@@ -1,3 +1,8 @@
+/*
+ This file is part of jellything (https://codeberg.org/metamuffin/jellything)
+ which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
+ Copyright (C) 2023 metamuffin <metamuffin.org>
+*/
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
diff --git a/remuxer/src/import/mod.rs b/remuxer/src/import/mod.rs
index 505fbe4..65fc455 100644
--- a/remuxer/src/import/mod.rs
+++ b/remuxer/src/import/mod.rs
@@ -1,5 +1,8 @@
-use std::path::PathBuf;
-
+/*
+ This file is part of jellything (https://codeberg.org/metamuffin/jellything)
+ which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
+ Copyright (C) 2023 metamuffin <metamuffin.org>
+*/
use anyhow::{anyhow, bail, Result};
use jellycommon::{ItemInfo, SourceTrack, SourceTrackKind};
use jellymatroska::{
@@ -9,6 +12,7 @@ use jellymatroska::{
unflatten::{Unflat, Unflatten},
};
use log::{debug, error, info, trace, warn};
+use std::path::PathBuf;
pub fn import_read(path: &PathBuf, input: &mut EbmlReader, iteminfo: &mut ItemInfo) -> Result<()> {
// TODO dont traverse the entire file, if the tracks are listed at the end
diff --git a/remuxer/src/lib.rs b/remuxer/src/lib.rs
index 7ee6ded..be1ecc0 100644
--- a/remuxer/src/lib.rs
+++ b/remuxer/src/lib.rs
@@ -1,3 +1,8 @@
+/*
+ This file is part of jellything (https://codeberg.org/metamuffin/jellything)
+ which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
+ Copyright (C) 2023 metamuffin <metamuffin.org>
+*/
pub mod format;
pub mod import;