diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-09 23:55:52 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-11 04:54:09 +0300 |
commit | d9286510110638bcec3ef8ea56975e0154dea609 (patch) | |
tree | e72ea437d2677d40ef75deb2e07d1e6b8975d689 /libavformat/asfdec.c | |
parent | 56a67a8d6119d2d113f0f73ee9c8891163ebf3af (diff) |
asfdec: skip the stream bitrate list
Its contents aren't used for anything.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit d7a5106eb2dad33765b0e5f11fd8b1a87e5a9b4b)
Diffstat (limited to 'libavformat/asfdec.c')
-rw-r--r-- | libavformat/asfdec.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 8d79983037..41f849edfb 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -425,21 +425,6 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) get_tag(s, "copyright", 0, len3); get_tag(s, "comment" , 0, len4); url_fskip(pb, len5); - } else if (!ff_guidcmp(&g, &stream_bitrate_guid)) { - int stream_count = get_le16(pb); - int j; - -// av_log(s, AV_LOG_ERROR, "stream bitrate properties\n"); -// av_log(s, AV_LOG_ERROR, "streams %d\n", streams); - for(j = 0; j < stream_count; j++) { - int flags, bitrate, stream_id; - - flags= get_le16(pb); - bitrate= get_le32(pb); - stream_id= (flags & 0x7f); -// av_log(s, AV_LOG_ERROR, "flags: 0x%x stream id %d, bitrate %d\n", flags, stream_id, bitrate); - asf->stream_bitrates[stream_id]= bitrate; - } } else if (!ff_guidcmp(&g, &ff_asf_language_guid)) { int j; int stream_count = get_le16(pb); |