Commit ae315a6a authored by Ramiro Polla's avatar Ramiro Polla Committed by Michael Niedermayer

asfenc: start at object 1 instead of 0

This is how it is done in the official muxer.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent bc13b749
...@@ -400,7 +400,7 @@ static int asf_write_header1(AVFormatContext *s, int64_t file_size, int64_t data ...@@ -400,7 +400,7 @@ static int asf_write_header1(AVFormatContext *s, int64_t file_size, int64_t data
enc = s->streams[n]->codec; enc = s->streams[n]->codec;
asf->streams[n].num = n + 1; asf->streams[n].num = n + 1;
asf->streams[n].seq = 0; asf->streams[n].seq = 1;
switch(enc->codec_type) { switch(enc->codec_type) {
......
e60b298a4db9bcedaabaaee9f90d2a42 *./tests/data/lavf/lavf.asf e2ee0e05f020adb0aa84202a60211790 *./tests/data/lavf/lavf.asf
333489 ./tests/data/lavf/lavf.asf 333489 ./tests/data/lavf/lavf.asf
./tests/data/lavf/lavf.asf CRC=0x9f5ab3e6 ./tests/data/lavf/lavf.asf CRC=0x9f5ab3e6
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