libbluray | branch: master | hpi1 <[email protected]> | 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);

_______________________________________________
libbluray-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libbluray-devel

Reply via email to