Revision a9054d91 libavformat/asf.c

View differences:

libavformat/asf.c
370 370
                bitrate= get_le32(pb);
371 371
                stream_id= (flags & 0x7f);
372 372
//                av_log(NULL, AV_LOG_ERROR, "flags: 0x%x stream id %d, bitrate %d\n", flags, stream_id, bitrate);
373
                asf->stream_bitrates[stream_id-1]= bitrate;
373
                asf->stream_bitrates[stream_id]= bitrate;
374 374
            }
375 375
       } else if (!memcmp(&g, &extended_content_header, sizeof(GUID))) {
376 376
                int desc_count, i;

Also available in: Unified diff