diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2012-04-04 02:52:03 -0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-05 05:48:32 +0200 |
commit | ae315a6a3843e92f2c52156d4dbce367de720fbd (patch) | |
tree | 578b09747174aa19097604934d2d64cfb6659cb7 | |
parent | bc13b74992c30da3cf3da9bcce6a0b727b9d2e6b (diff) | |
download | ffmpeg-ae315a6a3843e92f2c52156d4dbce367de720fbd.tar.gz |
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>
-rw-r--r-- | libavformat/asfenc.c | 2 | ||||
-rw-r--r-- | tests/ref/lavf/asf | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c index fd4ca536b5..2901545f7a 100644 --- a/libavformat/asfenc.c +++ b/libavformat/asfenc.c @@ -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) { diff --git a/tests/ref/lavf/asf b/tests/ref/lavf/asf index 180f98bed9..ad031a6642 100644 --- a/tests/ref/lavf/asf +++ b/tests/ref/lavf/asf @@ -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 |