[libbluray-devel] commit: Fixed _decode_ods(): uint16_t id was stored to uint8_t (hpi1 )
git at videolan.org
git at videolan.org
Thu Sep 2 12:35:06 CEST 2010
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Sep 2 12:55:22 2010 +0300| [16d7cfaddc7d51bbad242e74112ab49c3487cd05] | committer: hpi1
Fixed _decode_ods(): uint16_t id was stored to uint8_t
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=16d7cfaddc7d51bbad242e74112ab49c3487cd05
---
src/libbluray/decoders/graphics_processor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/libbluray/decoders/graphics_processor.c b/src/libbluray/decoders/graphics_processor.c
index 8e9df53..9f435db 100644
--- a/src/libbluray/decoders/graphics_processor.c
+++ b/src/libbluray/decoders/graphics_processor.c
@@ -196,7 +196,7 @@ static int _decode_ods(PG_DISPLAY_SET *s, BITBUFFER *bb, PES_BUFFER *p)
if (s->object) {
BITBUFFER bb_tmp = *bb;
- uint8_t id = bb_read(&bb_tmp, 16);
+ uint16_t id = bb_read(&bb_tmp, 16);
unsigned ii;
for (ii = 0; ii < s->num_object; ii++) {
More information about the libbluray-devel
mailing list