Revision 945df970

View differences:

libavformat/wtv.c
74 74
    {0x95,0xC3,0xD2,0xC2,0x7E,0x9A,0xDA,0x11,0x8B,0xF7,0x00,0x07,0xE9,0x5E,0xAD,0x8D};
75 75
static const ff_asf_guid stream_guid =
76 76
    {0xED,0xA4,0x13,0x23,0x2D,0xBF,0x4F,0x45,0xAD,0x8A,0xD9,0x5B,0xA7,0xF9,0x1F,0xEE};
77
static const ff_asf_guid subtitle_guid =
77
static const ff_asf_guid EVENTID_SubtitleSpanningEvent =
78 78
    {0x48,0xC0,0xCE,0x5D,0xB9,0xD0,0x63,0x41,0x87,0x2C,0x4F,0x32,0x22,0x3B,0xE8,0x8A};
79
static const ff_asf_guid language_guid =
79
static const ff_asf_guid EVENTID_LanguageSpanningEvent =
80 80
    {0x6D,0x66,0x92,0xE2,0x02,0x9C,0x8D,0x44,0xAA,0x8D,0x78,0x1A,0x93,0xFD,0xC3,0x95};
81 81

  
82 82
/* Windows media GUIDs */
......
370 370
                    consumed += 72 + size;
371 371
                }
372 372
            }
373
        } else if (!ff_guidcmp(g, subtitle_guid)) {
373
        } else if (!ff_guidcmp(g, EVENTID_SubtitleSpanningEvent)) {
374 374
            int stream_index = ff_find_stream_index(s, sid);
375 375
            if (stream_index >= 0) {
376 376
                AVStream *st = s->streams[stream_index];
......
385 385
                st->codec->extradata_size = get_buffer(pb, st->codec->extradata, 4);
386 386
                consumed += 18;
387 387
            }
388
        } else if (!ff_guidcmp(g, language_guid)) {
388
        } else if (!ff_guidcmp(g, EVENTID_LanguageSpanningEvent)) {
389 389
            int stream_index = ff_find_stream_index(s, sid);
390 390
            if (stream_index >= 0) {
391 391
                AVStream *st = s->streams[stream_index];

Also available in: Unified diff