Browse Source

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>
tags/n0.11
Ramiro Polla Michael Niedermayer 13 years ago
parent
commit
ae315a6a38
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavformat/asfenc.c
  2. +1
    -1
      tests/ref/lavf/asf

+ 1
- 1
libavformat/asfenc.c 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; 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
- 1
tests/ref/lavf/asf View File

@@ -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…
Cancel
Save