summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xine/BluRay/decode_spuhdmv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xine/BluRay/decode_spuhdmv.c b/xine/BluRay/decode_spuhdmv.c
index 28b2726c..96910e5b 100644
--- a/xine/BluRay/decode_spuhdmv.c
+++ b/xine/BluRay/decode_spuhdmv.c
@@ -850,7 +850,7 @@ static void decode_segment(spuhdmv_decoder_t *this)
XINE_HDMV_TRACE("*** new segment, pts %010ld: 0x%02x (%8d bytes)",
this->pts, this->buf->segment_type, this->buf->segment_len);
- switch (this->buf->segment_type) {
+ switch (segbuf_segment_type(this->buf)) {
case SEGTYPE_PALETTE:
XINE_HDMV_TRACE(" segment: PALETTE\n");
decode_palette(this);