aboutsummaryrefslogtreecommitdiff
path: root/transcoder/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'transcoder/src/bin')
-rw-r--r--transcoder/src/bin/reproduce_decode_error.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/transcoder/src/bin/reproduce_decode_error.rs b/transcoder/src/bin/reproduce_decode_error.rs
new file mode 100644
index 0000000..84fa6fd
--- /dev/null
+++ b/transcoder/src/bin/reproduce_decode_error.rs
@@ -0,0 +1,11 @@
+use jellytranscoder::image::transcode;
+
+fn main() {
+ transcode(
+ jellycommon::AssetLocation::Cache(std::env::args().nth(2).unwrap().into()),
+ 1.0,
+ 1,
+ 1,
+ )
+ .unwrap();
+}