[libbluray-devel] comment out NOP code
hpi1
git at videolan.org
Fri Aug 19 17:36:18 CEST 2016
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Aug 14 18:38:37 2016 +0300| [d116829533aa63efa8d254b1974faa14063ace79] | committer: hpi1
comment out NOP code
Nothing is read later.
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=d116829533aa63efa8d254b1974faa14063ace79
---
src/libbluray/bdnav/mpls_parse.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/libbluray/bdnav/mpls_parse.c b/src/libbluray/bdnav/mpls_parse.c
index bb6cbe8..177f04c 100644
--- a/src/libbluray/bdnav/mpls_parse.c
+++ b/src/libbluray/bdnav/mpls_parse.c
@@ -111,12 +111,12 @@ _parse_uo(BITSTREAM *bits, BD_UO_MASK *uo)
static int
_parse_appinfo(BITSTREAM *bits, MPLS_AI *ai)
{
- int64_t pos, len;
+ int64_t /*pos,*/ len;
if (!bs_is_align(bits, 0x07)) {
BD_DEBUG(DBG_NAV | DBG_CRIT, "_parse_appinfo: alignment error\n");
}
- pos = bs_pos(bits) >> 3;
+ //pos = bs_pos(bits) >> 3;
len = bs_read(bits, 32);
if (bs_avail(bits) < len * 8) {
@@ -137,9 +137,11 @@ _parse_appinfo(BITSTREAM *bits, MPLS_AI *ai)
ai->random_access_flag = bs_read(bits, 1);
ai->audio_mix_flag = bs_read(bits, 1);
ai->lossless_bypass_flag = bs_read(bits, 1);
+#if 0
// Reserved
bs_skip(bits, 13);
bs_seek_byte(bits, pos + len);
+#endif
return 1;
}
More information about the libbluray-devel
mailing list