aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-realmedia/src/codecs
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2022-12-23 08:39:09 +0100
committerKostya Shishkov <kostya.shishkov@gmail.com>2022-12-23 08:39:09 +0100
commit38df3d11b3686cbd6982cc073a7c55c6c1043461 (patch)
treeceb44017381ad5f7dbdf5638d5c2c5e021f4d9f0 /nihav-realmedia/src/codecs
parent71d7f39706f0f5004820f8d1d36c87d5f9ec3e97 (diff)
downloadnihav-38df3d11b3686cbd6982cc073a7c55c6c1043461.tar.gz
disable or remove unneeded debug messages
Diffstat (limited to 'nihav-realmedia/src/codecs')
-rw-r--r--nihav-realmedia/src/codecs/rv30.rs1
-rw-r--r--nihav-realmedia/src/codecs/rv40.rs5
-rw-r--r--nihav-realmedia/src/codecs/rv60.rs1
3 files changed, 0 insertions, 7 deletions
diff --git a/nihav-realmedia/src/codecs/rv30.rs b/nihav-realmedia/src/codecs/rv30.rs
index 704b17e..655902d 100644
--- a/nihav-realmedia/src/codecs/rv30.rs
+++ b/nihav-realmedia/src/codecs/rv30.rs
@@ -145,7 +145,6 @@ impl NADecoder for RealVideo30Decoder {
Ok(())
} else {
-println!("???");
Err(DecoderError::InvalidData)
}
}
diff --git a/nihav-realmedia/src/codecs/rv40.rs b/nihav-realmedia/src/codecs/rv40.rs
index 4971c7a..d1d16c1 100644
--- a/nihav-realmedia/src/codecs/rv40.rs
+++ b/nihav-realmedia/src/codecs/rv40.rs
@@ -324,10 +324,6 @@ impl NADecoder for RealVideo40Decoder {
let edata = info.get_extradata().unwrap();
let src: &[u8] = &edata;
-{
-println!("edata:");
-for i in 0..src.len() { print!(" {:02X}", src[i]); } println!();
-}
if src.len() < 2 { return Err(DecoderError::InvalidData); }
self.bd.width = vinfo.get_width();
@@ -338,7 +334,6 @@ for i in 0..src.len() { print!(" {:02X}", src[i]); } println!();
Ok(())
} else {
-println!("???");
Err(DecoderError::InvalidData)
}
}
diff --git a/nihav-realmedia/src/codecs/rv60.rs b/nihav-realmedia/src/codecs/rv60.rs
index f8dbc53..5748cde 100644
--- a/nihav-realmedia/src/codecs/rv60.rs
+++ b/nihav-realmedia/src/codecs/rv60.rs
@@ -1428,7 +1428,6 @@ impl NADecoder for RealVideo60Decoder {
Ok(())
} else {
-println!("???");
Err(DecoderError::InvalidData)
}
}