Revision 7548783b

View differences:

libavformat/asf-enc.c
680 680
            // multi payloads
681 681
            frag_len1 = asf->packet_size_left - PAYLOAD_HEADER_SIZE_MULTIPLE_PAYLOADS - PACKET_HEADER_MIN_SIZE - 1;
682 682

  
683
            asf->packet_timestamp_start = timestamp;
684

  
685 683
            if(frag_len1 < payload_len && avst->codec->codec_type == CODEC_TYPE_AUDIO){
686 684
                flush_packet(s);
687 685
                continue;
tests/ffmpeg.regression.ref
192 192
353368 ./tests/data/a-flac.flac
193 193
c4228df189aad9567a037727d0e763e4 *./tests/data/out.wav
194 194
stddev: 33.31 PSNR:65.87 bytes:1040384
195
0c406c4e4586ca27064e28637b662631 *./tests/data/a-wmav1.asf
195
a1e56bb034c2773438ba1c830c4cea07 *./tests/data/a-wmav1.asf
196 196
106004 ./tests/data/a-wmav1.asf
197 197
stddev:12251.50 PSNR:14.56 bytes:1056768
198 198
stddev:2106.00 PSNR:29.85 bytes:1048576
199
82442aaa5fdbd327769e4c4ad369147e *./tests/data/a-wmav2.asf
199
5e25c447c80fa937f74ed8752b0e26fb *./tests/data/a-wmav2.asf
200 200
106044 ./tests/data/a-wmav2.asf
201 201
stddev:12255.92 PSNR:14.55 bytes:1056768
202 202
stddev:2099.31 PSNR:29.88 bytes:1048576
tests/libav.regression.ref
2 2
8a0536ccfe36f4fff408b3327d33e1dd *./tests/data/b-libav.avi
3 3
340344 ./tests/data/b-libav.avi
4 4
./tests/data/b-libav.avi CRC=0x400c29e9
5
786446e80ead936e5faa8f5908f19281 *./tests/data/b-libav.asf
5
7b859661e93df32e51942a4e0531d58e *./tests/data/b-libav.asf
6 6
339775 ./tests/data/b-libav.asf
7 7
./tests/data/b-libav.asf CRC=0x74113749
8 8
c351132527ccb1e8cab06cc0822fde23 *./tests/data/b-libav.rm
tests/rotozoom.regression.ref
192 192
353368 ./tests/data/a-flac.flac
193 193
c4228df189aad9567a037727d0e763e4 *./tests/data/out.wav
194 194
stddev: 33.31 PSNR:65.87 bytes:1040384
195
0c406c4e4586ca27064e28637b662631 *./tests/data/a-wmav1.asf
195
a1e56bb034c2773438ba1c830c4cea07 *./tests/data/a-wmav1.asf
196 196
106004 ./tests/data/a-wmav1.asf
197 197
stddev:12251.50 PSNR:14.56 bytes:1056768
198 198
stddev:2106.00 PSNR:29.85 bytes:1048576
199
82442aaa5fdbd327769e4c4ad369147e *./tests/data/a-wmav2.asf
199
5e25c447c80fa937f74ed8752b0e26fb *./tests/data/a-wmav2.asf
200 200
106044 ./tests/data/a-wmav2.asf
201 201
stddev:12255.92 PSNR:14.55 bytes:1056768
202 202
stddev:2099.31 PSNR:29.88 bytes:1048576

Also available in: Unified diff