[libbluray-devel] Fix signed/unsigned mismatch in _add_ts method

tourettes git at videolan.org
Sun Feb 15 22:45:56 CET 2015


libbluray | branch: master | tourettes <tourettes at team-mediaportal.com> | Sun Feb 15 13:20:22 2015 +0200| [760a5fc059c74a8b4bb04b9bcad57629b32d2eb6] | committer: hpi1

Fix signed/unsigned mismatch in _add_ts method

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=760a5fc059c74a8b4bb04b9bcad57629b32d2eb6
---

 src/libbluray/decoders/m2ts_demux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libbluray/decoders/m2ts_demux.c b/src/libbluray/decoders/m2ts_demux.c
index 5bbb09f..5351521 100644
--- a/src/libbluray/decoders/m2ts_demux.c
+++ b/src/libbluray/decoders/m2ts_demux.c
@@ -81,7 +81,7 @@ static int64_t _parse_timestamp(uint8_t *p)
  */
 static int _add_ts(PES_BUFFER *p, unsigned pusi, uint8_t *buf, unsigned len)
 {
-    int result = 0;
+    unsigned result = 0;
 
     if (pusi) {
 



More information about the libbluray-devel mailing list