Mercurial > libavformat.hg
comparison mpegts.c @ 5048:d44e963aaf1c libavformat
add 0-termination in table, patch by Wolfram Gloger, wmglo at dent dot med dot uni-muenchen dot de
author | bcoudurier |
---|---|
date | Sat, 20 Jun 2009 06:09:30 +0000 |
parents | e57ded024980 |
children | 11e86c7bdc25 |
comparison
equal
deleted
inserted
replaced
5047:0a4137d6a7a5 | 5048:d44e963aaf1c |
---|---|
526 static const StreamType DESC_types[] = { | 526 static const StreamType DESC_types[] = { |
527 { 0x6a, CODEC_TYPE_AUDIO, CODEC_ID_AC3 }, /* AC-3 descriptor */ | 527 { 0x6a, CODEC_TYPE_AUDIO, CODEC_ID_AC3 }, /* AC-3 descriptor */ |
528 { 0x7a, CODEC_TYPE_AUDIO, CODEC_ID_EAC3 }, /* E-AC-3 descriptor */ | 528 { 0x7a, CODEC_TYPE_AUDIO, CODEC_ID_EAC3 }, /* E-AC-3 descriptor */ |
529 { 0x7b, CODEC_TYPE_AUDIO, CODEC_ID_DTS }, | 529 { 0x7b, CODEC_TYPE_AUDIO, CODEC_ID_DTS }, |
530 { 0x59, CODEC_TYPE_SUBTITLE, CODEC_ID_DVB_SUBTITLE }, /* subtitling descriptor */ | 530 { 0x59, CODEC_TYPE_SUBTITLE, CODEC_ID_DVB_SUBTITLE }, /* subtitling descriptor */ |
531 { 0 }, | |
531 }; | 532 }; |
532 | 533 |
533 static void mpegts_find_stream_type(AVStream *st, | 534 static void mpegts_find_stream_type(AVStream *st, |
534 uint32_t stream_type, const StreamType *types) | 535 uint32_t stream_type, const StreamType *types) |
535 { | 536 { |