---
 libavformat/mxfdec.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 5c224ef..75858fc 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -198,6 +198,7 @@ typedef struct MXFIndexTableSegment {
     int edit_unit_byte_count;
     int index_sid;
     int body_sid;
+    uint8_t slice_count;
     AVRational index_edit_rate;
     uint64_t index_start_position;
     uint64_t index_duration;
@@ -939,6 +940,10 @@ static int mxf_read_index_table_segment(void *arg, 
AVIOContext *pb, int tag, int
         segment->body_sid = avio_rb32(pb);
         av_log(NULL, AV_LOG_TRACE, "BodySID %d\n", segment->body_sid);
         break;
+    case 0x3F08:
+        segment->slice_count = avio_r8(pb);
+        av_log(NULL, AV_LOG_TRACE, "Slice Count %u\n", segment->slice_count);
+        break;
     case 0x3F0A:
         av_log(NULL, AV_LOG_TRACE, "IndexEntryArray found\n");
         return mxf_read_index_entry_array(pb, segment);
-- 
2.6.2

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to