Commit 1c6b36dd authored by benoit's avatar benoit

store asf streaming bitrates consistently

patch by Björn Axelsson: [bjorn axelsson intinor se]


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10130 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cb9256e6
...@@ -370,7 +370,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) ...@@ -370,7 +370,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
bitrate= get_le32(pb); bitrate= get_le32(pb);
stream_id= (flags & 0x7f); stream_id= (flags & 0x7f);
// av_log(NULL, AV_LOG_ERROR, "flags: 0x%x stream id %d, bitrate %d\n", flags, stream_id, bitrate); // av_log(NULL, AV_LOG_ERROR, "flags: 0x%x stream id %d, bitrate %d\n", flags, stream_id, bitrate);
asf->stream_bitrates[stream_id-1]= bitrate; asf->stream_bitrates[stream_id]= bitrate;
} }
} else if (!memcmp(&g, &extended_content_header, sizeof(GUID))) { } else if (!memcmp(&g, &extended_content_header, sizeof(GUID))) {
int desc_count, i; int desc_count, i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment