about summary refs log tree commit diff
path: root/gifprobe
diff options
context:
space:
mode:
Diffstat (limited to 'gifprobe')
-rw-r--r--gifprobe/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/gifprobe/src/main.rs b/gifprobe/src/main.rs
index 03d626f..64cee94 100644
--- a/gifprobe/src/main.rs
+++ b/gifprobe/src/main.rs
@@ -153,7 +153,7 @@ fn main() {
 
 				if app_ident == "NETSCAPE" {
 					let data = app.data();
-					let looping = u16::from_le_bytes([data[0], data[1]]);
+					let looping = u16::from_le_bytes([data[1], data[2]]);
 
 					if looping == 0 {
 						println!("\tLoop {}", "forever".yellow())