[libbluray-devel] Add comments

hpi1 git at videolan.org
Mon Aug 8 18:26:55 CEST 2016


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Aug  8 19:09:47 2016 +0300| [98c83b944c9a1d3470bd7773c3c6ff9b77c31aaa] | committer: hpi1

Add comments

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

 src/util/bits.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/util/bits.h b/src/util/bits.h
index 66ab3cf..41ab66d 100644
--- a/src/util/bits.h
+++ b/src/util/bits.h
@@ -49,9 +49,9 @@ typedef struct {
     BD_FILE_H *fp;
     uint8_t    buf[BF_BUF_SIZE];
     BITBUFFER  bb;
-    int64_t    pos;
-    int64_t    end;
-    size_t     size;
+    int64_t    pos;   /* file offset of buffer start (buf[0]) */
+    int64_t    end;   /* size of file */
+    size_t     size;  /* bytes in buf */
 } BITSTREAM;
 
 BD_PRIVATE void bb_init( BITBUFFER *bb, const uint8_t *p_data, size_t i_data );



More information about the libbluray-devel mailing list