[libbluray-devel] Comment out unused function
hpi1
git at videolan.org
Mon Mar 21 11:25:34 CET 2016
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Mar 10 12:49:25 2016 +0200| [a6911bb4f085e9d8018c91983765222db72c5f3e] | committer: hpi1
Comment out unused function
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=a6911bb4f085e9d8018c91983765222db72c5f3e
---
src/util/bits.c | 2 ++
src/util/bits.h | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/util/bits.c b/src/util/bits.c
index 53eb25a..16efce1 100644
--- a/src/util/bits.c
+++ b/src/util/bits.c
@@ -122,10 +122,12 @@ void bs_seek( BITSTREAM *bs, int64_t off, int whence)
}
}
+#if 0
void bb_seek_byte( BITBUFFER *bb, int64_t off)
{
bb_seek(bb, off << 3, SEEK_SET);
}
+#endif
void bs_seek_byte( BITSTREAM *s, int64_t off)
{
diff --git a/src/util/bits.h b/src/util/bits.h
index df8be8a..dc7e9d8 100644
--- a/src/util/bits.h
+++ b/src/util/bits.h
@@ -58,7 +58,7 @@ BD_PRIVATE void bb_init( BITBUFFER *bb, const uint8_t *p_data, size_t i_data );
BD_PRIVATE void bs_init( BITSTREAM *bs, BD_FILE_H *fp );
BD_PRIVATE void bb_seek( BITBUFFER *bb, int64_t off, int whence);
BD_PRIVATE void bs_seek( BITSTREAM *bs, int64_t off, int whence);
-BD_PRIVATE void bb_seek_byte( BITBUFFER *bb, int64_t off);
+//BD_PRIVATE void bb_seek_byte( BITBUFFER *bb, int64_t off);
BD_PRIVATE void bs_seek_byte( BITSTREAM *s, int64_t off);
BD_PRIVATE void bb_skip( BITBUFFER *bb, size_t i_count );
BD_PRIVATE void bs_skip( BITSTREAM *bs, size_t i_count ); /* note: i_count must be less than BF_BUF_SIZE */
More information about the libbluray-devel
mailing list