diff options
author | Björn Axelsson <gecko@acc.umu.se> | 2007-08-17 06:49:43 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2007-08-17 06:49:43 +0000 |
commit | a9054d91b7c1a7c4326c1d08790fb4e2d2d63033 (patch) | |
tree | 21d83842f428fcf8d47f83617218e77774b1d49b /libavformat/asf.c | |
parent | f18cae4d6e9bbf44fd0e64803688a75accefa2b4 (diff) | |
download | ffmpeg-a9054d91b7c1a7c4326c1d08790fb4e2d2d63033.tar.gz |
store asf streaming bitrates consistently
patch by Björn Axelsson: [bjorn axelsson intinor se]
Originally committed as revision 10130 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/asf.c')
-rw-r--r-- | libavformat/asf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c index 1f5e9dfebf..4aa98f6fa2 100644 --- a/libavformat/asf.c +++ b/libavformat/asf.c @@ -370,7 +370,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) bitrate= get_le32(pb); stream_id= (flags & 0x7f); // 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))) { int desc_count, i; |