From 4529d07cc3f2f86a9dbb0d4802875a81d5c4c495 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 23 Jan 2023 18:00:28 +0100 Subject: readme + add licence information --- remuxer/src/import/mod.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'remuxer/src/import/mod.rs') 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 +*/ 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 -- cgit v1.2.3-70-g09d2