asfenc: start at object 1 instead of 0

This is how it is done in the official muxer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Ramiro Polla 2012-04-04 02:52:03 -03:00 committed by Michael Niedermayer
parent bc13b74992
commit ae315a6a38
2 changed files with 2 additions and 2 deletions

View File

@ -400,7 +400,7 @@ static int asf_write_header1(AVFormatContext *s, int64_t file_size, int64_t data
enc = s->streams[n]->codec;
asf->streams[n].num = n + 1;
asf->streams[n].seq = 0;
asf->streams[n].seq = 1;
switch(enc->codec_type) {

View File

@ -1,3 +1,3 @@
e60b298a4db9bcedaabaaee9f90d2a42 *./tests/data/lavf/lavf.asf
e2ee0e05f020adb0aa84202a60211790 *./tests/data/lavf/lavf.asf
333489 ./tests/data/lavf/lavf.asf
./tests/data/lavf/lavf.asf CRC=0x9f5ab3e6