[libbluray-devel] bdsplice: fix total bytes
hpi1
git at videolan.org
Sun Apr 19 18:01:18 CEST 2015
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Apr 19 18:55:43 2015 +0300| [5bbe48a67dc7fea448a5c2e00b4214427d531a08] | committer: hpi1
bdsplice: fix total bytes
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=5bbe48a67dc7fea448a5c2e00b4214427d531a08
---
src/examples/bdsplice.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/examples/bdsplice.c b/src/examples/bdsplice.c
index c436fab..4cf71e5 100644
--- a/src/examples/bdsplice.c
+++ b/src/examples/bdsplice.c
@@ -226,7 +226,7 @@ main(int argc, char *argv[])
}
break;
}
- total += PKT_SIZE * wrote;
+ total += wrote;
}
if (verbose) {
fprintf(stderr, "Wrote %"PRId64" bytes\n", total);
More information about the libbluray-devel
mailing list