mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
bc13b74992
commit
ae315a6a38
|
@ -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) {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue