Skip to content

Commit

Permalink
ff_put_wav_header: add flag to force WAVEFORMATEX
Browse files Browse the repository at this point in the history
Partially undoes commit 2c4e08d:

    riff: always generate a proper WAVEFORMATEX structure in
    ff_put_wav_header

A new flag, FF_PUT_WAV_HEADER_FORCE_WAVEFORMATEX, is added to force the
use of WAVEFORMATEX rather than PCMWAVEFORMAT even for PCM codecs.

This flag is used in the Matroska muxer (the cause of the original
change) and in the ASF muxer, because the specifications for
these formats indicate explicitly that WAVEFORMATEX should be used.

Muxers for other formats will return to the original behavior of writing
PCMWAVEFORMAT when writing a header for raw PCM.

In particular, this causes raw PCM in WAV to generate the canonical
44-byte header expected by some tools.

Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
danielverkamp authored and michaelni committed Apr 30, 2014
1 parent bb6d00f commit 5e7d21c
Show file tree
Hide file tree
Showing 54 changed files with 148 additions and 131 deletions.
2 changes: 1 addition & 1 deletion libavformat/asfenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ static int asf_write_header1(AVFormatContext *s, int64_t file_size,

if (enc->codec_type == AVMEDIA_TYPE_AUDIO) {
/* WAVEFORMATEX header */
int wavsize = ff_put_wav_header(pb, enc);
int wavsize = ff_put_wav_header(pb, enc, FF_PUT_WAV_HEADER_FORCE_WAVEFORMATEX);

if (wavsize < 0)
return -1;
Expand Down
2 changes: 1 addition & 1 deletion libavformat/avienc.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ static int avi_write_header(AVFormatContext *s)
av_get_pix_fmt_name(stream->pix_fmt));
break;
case AVMEDIA_TYPE_AUDIO:
if ((ret = ff_put_wav_header(pb, stream)) < 0)
if ((ret = ff_put_wav_header(pb, stream, 0)) < 0)
return ret;
break;
default:
Expand Down
2 changes: 1 addition & 1 deletion libavformat/matroskaenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ static int mkv_write_codecprivate(AVFormatContext *s, AVIOContext *pb, AVCodecCo
if (!codec->codec_tag)
codec->codec_tag = tag;

ff_put_wav_header(dyn_cp, codec);
ff_put_wav_header(dyn_cp, codec, FF_PUT_WAV_HEADER_FORCE_WAVEFORMATEX);
}

codecpriv_size = avio_close_dyn_buf(dyn_cp, &codecpriv);
Expand Down
4 changes: 2 additions & 2 deletions libavformat/movenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ static int mov_write_ms_tag(AVIOContext *pb, MOVTrack *track)
avio_wb32(pb, 0);
avio_wl32(pb, track->tag); // store it byteswapped
track->enc->codec_tag = av_bswap16(track->tag >> 16);
ff_put_wav_header(pb, track->enc);
ff_put_wav_header(pb, track->enc, 0);
return update_size(pb, pos);
}

Expand All @@ -410,7 +410,7 @@ static int mov_write_wfex_tag(AVIOContext *pb, MOVTrack *track)
int64_t pos = avio_tell(pb);
avio_wb32(pb, 0);
ffio_wfourcc(pb, "wfex");
ff_put_wav_header(pb, track->enc);
ff_put_wav_header(pb, track->enc, FF_PUT_WAV_HEADER_FORCE_WAVEFORMATEX);
return update_size(pb, pos);
}

Expand Down
16 changes: 15 additions & 1 deletion libavformat/riff.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,21 @@ void ff_end_tag(AVIOContext *pb, int64_t start);
int ff_get_bmp_header(AVIOContext *pb, AVStream *st, unsigned *esize);

void ff_put_bmp_header(AVIOContext *pb, AVCodecContext *enc, const AVCodecTag *tags, int for_asf, int ignore_extradata);
int ff_put_wav_header(AVIOContext *pb, AVCodecContext *enc);

/**
* Tell ff_put_wav_header() to use WAVEFORMATEX even for PCM codecs.
*/
#define FF_PUT_WAV_HEADER_FORCE_WAVEFORMATEX 0x00000001

/**
* Write WAVEFORMAT header structure.
*
* @param flags a combination of FF_PUT_WAV_HEADER_* constants
*
* @return the size or -1 on error
*/
int ff_put_wav_header(AVIOContext *pb, AVCodecContext *enc, int flags);

enum AVCodecID ff_wav_codec_get_id(unsigned int tag, int bps);
int ff_get_wav_header(AVIOContext *pb, AVCodecContext *codec, int size);

Expand Down
9 changes: 6 additions & 3 deletions libavformat/riffenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void ff_end_tag(AVIOContext *pb, int64_t start)

/* WAVEFORMATEX header */
/* returns the size or -1 on error */
int ff_put_wav_header(AVIOContext *pb, AVCodecContext *enc)
int ff_put_wav_header(AVIOContext *pb, AVCodecContext *enc, int flags)
{
int bps, blkalign, bytespersec, frame_size;
int hdrsize;
Expand Down Expand Up @@ -189,9 +189,12 @@ int ff_put_wav_header(AVIOContext *pb, AVCodecContext *enc)
avio_wl32(pb, 0xAA000080);
avio_wl32(pb, 0x719B3800);
}
} else {
} else if ((flags & FF_PUT_WAV_HEADER_FORCE_WAVEFORMATEX) ||
enc->codec_tag != 0x0001 /* PCM */ ||
riff_extradata - riff_extradata_start) {
/* WAVEFORMATEX */
avio_wl16(pb, riff_extradata - riff_extradata_start); /* cbSize */
}
} /* else PCMWAVEFORMAT */
avio_write(pb, riff_extradata_start, riff_extradata - riff_extradata_start);
hdrsize = avio_tell(pb) - hdrstart;
if (hdrsize & 1) {
Expand Down
4 changes: 2 additions & 2 deletions libavformat/wavenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ static int wav_write_header(AVFormatContext *s)

/* format header */
fmt = ff_start_tag(pb, "fmt ");
if (ff_put_wav_header(pb, s->streams[0]->codec) < 0) {
if (ff_put_wav_header(pb, s->streams[0]->codec, 0) < 0) {
av_log(s, AV_LOG_ERROR, "%s codec not supported in WAVE format\n",
s->streams[0]->codec->codec ? s->streams[0]->codec->codec->name : "NONE");
return -1;
Expand Down Expand Up @@ -323,7 +323,7 @@ static int w64_write_header(AVFormatContext *s)
avio_wl64(pb, -1);
avio_write(pb, ff_w64_guid_wave, sizeof(ff_w64_guid_wave));
start_guid(pb, ff_w64_guid_fmt, &start);
if ((ret = ff_put_wav_header(pb, s->streams[0]->codec)) < 0) {
if ((ret = ff_put_wav_header(pb, s->streams[0]->codec, 0)) < 0) {
av_log(s, AV_LOG_ERROR, "%s codec not supported\n",
s->streams[0]->codec->codec ? s->streams[0]->codec->codec->name : "NONE");
return ret;
Expand Down
2 changes: 1 addition & 1 deletion libavformat/wtvenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ static int write_stream_codec_info(AVFormatContext *s, AVStream *st)
if (st->codec->codec_type == AVMEDIA_TYPE_VIDEO) {
put_videoinfoheader2(pb, st);
} else {
if (ff_put_wav_header(pb, st->codec) < 0)
if (ff_put_wav_header(pb, st->codec, 0) < 0)
format_type = &ff_format_none;
}
hdr_size = avio_tell(pb) - hdr_pos_start;
Expand Down
2 changes: 1 addition & 1 deletion tests/fate/filter-audio.mak
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ fate-filter-channelmap-one-str: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.w
fate-filter-channelmap-one-str: tests/data/asynth-44100-2.wav
fate-filter-channelmap-one-str: CMD = md5 -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/channelmap_one_str -f wav -flags +bitexact
fate-filter-channelmap-one-str: CMP = oneline
fate-filter-channelmap-one-str: REF = 9fe9bc452282dfd94fd80e9491607a0c
fate-filter-channelmap-one-str: REF = 49ed4aaec717f1b28137c9e1f01f343b

FATE_AFILTER-$(call FILTERDEMDECENCMUX, CHANNELMAP, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_FILTER_CHANNELMAP)

Expand Down
2 changes: 1 addition & 1 deletion tests/ref/acodec/adpcm-adx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
0a30509d9296b857e134b762b76dbc31 *tests/data/fate/acodec-adpcm-adx.adx
297720 tests/data/fate/acodec-adpcm-adx.adx
2dbc601ed5259f4d74dc48ccd8da7eaf *tests/data/fate/acodec-adpcm-adx.out.wav
7260139001fcac62384dad50a1023e75 *tests/data/fate/acodec-adpcm-adx.out.wav
stddev: 6989.46 PSNR: 19.44 MAXDIFF:65398 bytes: 1058400/ 1058432
2 changes: 1 addition & 1 deletion tests/ref/acodec/adpcm-ima_qt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
44691f14cf5bbef5005df27c692b93ab *tests/data/fate/acodec-adpcm-ima_qt.aiff
281252 tests/data/fate/acodec-adpcm-ima_qt.aiff
b0fafd002c38fb70acaddfda1a31ed61 *tests/data/fate/acodec-adpcm-ima_qt.out.wav
7d2f26ea48731b2399718de0f6c39f0c *tests/data/fate/acodec-adpcm-ima_qt.out.wav
stddev: 904.76 PSNR: 37.20 MAXDIFF:34029 bytes: 1058400/ 1058560
2 changes: 1 addition & 1 deletion tests/ref/acodec/adpcm-ima_wav
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
56b75c3a6dacedcf2ce7b0586aa33594 *tests/data/fate/acodec-adpcm-ima_wav.wav
267324 tests/data/fate/acodec-adpcm-ima_wav.wav
ddddfa47302da540abf19224202bef57 *tests/data/fate/acodec-adpcm-ima_wav.out.wav
78a2af1c895792d0c221d127bdd48ece *tests/data/fate/acodec-adpcm-ima_wav.out.wav
stddev: 903.51 PSNR: 37.21 MAXDIFF:34026 bytes: 1058400/ 1061748
2 changes: 1 addition & 1 deletion tests/ref/acodec/adpcm-ms
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
a407b87daeef5b25dfb6c5b3f519e9c1 *tests/data/fate/acodec-adpcm-ms.wav
268378 tests/data/fate/acodec-adpcm-ms.wav
22863fb278c4e0ebe9c34cb15db5dd6b *tests/data/fate/acodec-adpcm-ms.out.wav
7be370f937c51e8a967e6a3d08d5156a *tests/data/fate/acodec-adpcm-ms.out.wav
stddev: 1050.01 PSNR: 35.91 MAXDIFF:29806 bytes: 1058400/ 1060576
2 changes: 1 addition & 1 deletion tests/ref/acodec/adpcm-swf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
42d4639866ed4d692eaf126228a4fa2a *tests/data/fate/acodec-adpcm-swf.flv
269166 tests/data/fate/acodec-adpcm-swf.flv
f7df69d3fe708303820f2a9d00140a5b *tests/data/fate/acodec-adpcm-swf.out.wav
628089745a7059ae4055c2515b6d668b *tests/data/fate/acodec-adpcm-swf.out.wav
stddev: 933.58 PSNR: 36.93 MAXDIFF:51119 bytes: 1058400/ 1064960
2 changes: 1 addition & 1 deletion tests/ref/acodec/adpcm-yamaha
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
e9c14f701d25947317db9367b9dc772d *tests/data/fate/acodec-adpcm-yamaha.wav
265274 tests/data/fate/acodec-adpcm-yamaha.wav
1488b5974fa040a65f0d407fc0224c6a *tests/data/fate/acodec-adpcm-yamaha.out.wav
93b95a663ec8799e0c4db18467b21234 *tests/data/fate/acodec-adpcm-yamaha.out.wav
stddev: 1247.60 PSNR: 34.41 MAXDIFF:39895 bytes: 1058400/ 1060864
2 changes: 1 addition & 1 deletion tests/ref/acodec/alac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
8d9fb9f5433962e7880b666e6e2e428e *tests/data/fate/acodec-alac.mov
389018 tests/data/fate/acodec-alac.mov
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-alac.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-alac.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/flac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
151eef9097f944726968bec48649f00a *tests/data/fate/acodec-flac.flac
361582 tests/data/fate/acodec-flac.flac
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-flac.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-flac.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/g723_1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dec0deb2425e908d232d2471acff04a3 *tests/data/fate/acodec-g723_1.g723_1
4800 tests/data/fate/acodec-g723_1.g723_1
d70776846d77c652bceed281fcca9cc8 *tests/data/fate/acodec-g723_1.out.wav
c3b9055d1830969c10d08762fae0b787 *tests/data/fate/acodec-g723_1.out.wav
stddev: 8423.47 PSNR: 17.82 MAXDIFF:53292 bytes: 95992/ 96000
2 changes: 1 addition & 1 deletion tests/ref/acodec/mp2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
f6eb0a205350bbd7fb1028a01c7ae8aa *tests/data/fate/acodec-mp2.mp2
96130 tests/data/fate/acodec-mp2.mp2
5a669ca7321adc6ab66a3eade4035909 *tests/data/fate/acodec-mp2.out.wav
74c7b6b15a001add199619fafe4059a1 *tests/data/fate/acodec-mp2.out.wav
stddev: 4384.33 PSNR: 23.49 MAXDIFF:52631 bytes: 1058400/ 1057916
2 changes: 1 addition & 1 deletion tests/ref/acodec/mp2fixed
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
05445de0f0305df85db4ed0ce94e5f4c *tests/data/fate/acodec-mp2fixed.mp2
288391 tests/data/fate/acodec-mp2fixed.mp2
82f117c9345aa028bfb6cf5794432043 *tests/data/fate/acodec-mp2fixed.out.wav
b1b4a13e42db11e9fb1bd2c93692d548 *tests/data/fate/acodec-mp2fixed.out.wav
stddev: 3653.84 PSNR: 25.07 MAXDIFF:39970 bytes: 1058400/ 1057916
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-alaw
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
a2dd6a934ec6d5ec901a211652e85227 *tests/data/fate/acodec-pcm-alaw.wav
529258 tests/data/fate/acodec-pcm-alaw.wav
f323f7551ffad91de8613f44dcb198b6 *tests/data/fate/acodec-pcm-alaw.out.wav
0568b0b9a72e31559e150e7e09d301cd *tests/data/fate/acodec-pcm-alaw.out.wav
stddev: 101.67 PSNR: 56.19 MAXDIFF: 515 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-f32be
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
e74eb6b65cb397ce541bac120b00680a *tests/data/fate/acodec-pcm-f32be.au
2116832 tests/data/fate/acodec-pcm-f32be.au
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-f32be.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-f32be.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-f32le
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
653d82a64b7bd96ac193e105e9f92d4c *tests/data/fate/acodec-pcm-f32le.wav
2116880 tests/data/fate/acodec-pcm-f32le.wav
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-f32le.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-f32le.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-f64be
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
8c8ba9d2c68384c5f077306e220f1188 *tests/data/fate/acodec-pcm-f64be.au
4233632 tests/data/fate/acodec-pcm-f64be.au
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-f64be.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-f64be.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-f64le
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
48b4cd378f47a50dc902aa03cc8280ed *tests/data/fate/acodec-pcm-f64le.wav
4233680 tests/data/fate/acodec-pcm-f64le.wav
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-f64le.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-f64le.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-mulaw
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fd10ee54bd298fc29fd6fc70baa71414 *tests/data/fate/acodec-pcm-mulaw.wav
529258 tests/data/fate/acodec-pcm-mulaw.wav
7ae8c3fc804bd574006fd547fe28980c *tests/data/fate/acodec-pcm-mulaw.out.wav
1c3eeaa8814ebd4916780dff80ed6dc5 *tests/data/fate/acodec-pcm-mulaw.out.wav
stddev: 103.38 PSNR: 56.04 MAXDIFF: 644 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-s16be
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
d2515f35266ae6dba525c700bb76d893 *tests/data/fate/acodec-pcm-s16be.mov
1059069 tests/data/fate/acodec-pcm-s16be.mov
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s16be.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s16be.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-s16be_planar
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cd87e6fc3bddb85c945c050d8c3fba11 *tests/data/fate/acodec-pcm-s16be_planar.nut
1060673 tests/data/fate/acodec-pcm-s16be_planar.nut
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s16be_planar.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s16be_planar.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
6 changes: 3 additions & 3 deletions tests/ref/acodec/pcm-s16le
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s16le.wav
1058446 tests/data/fate/acodec-pcm-s16le.wav
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s16le.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s16le.wav
1058444 tests/data/fate/acodec-pcm-s16le.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s16le.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-s16le_planar
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
74af9a0ae4f68451102a2f7524b2d55f *tests/data/fate/acodec-pcm-s16le_planar.nut
1060673 tests/data/fate/acodec-pcm-s16le_planar.nut
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s16le_planar.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s16le_planar.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-s24be
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
0f4a37a77619124f486f656f03c53d33 *tests/data/fate/acodec-pcm-s24be.mov
1588323 tests/data/fate/acodec-pcm-s24be.mov
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s24be.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s24be.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-s24le
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
18ea73985dbdf59e23f5aba66145e6fe *tests/data/fate/acodec-pcm-s24le.wav
1587668 tests/data/fate/acodec-pcm-s24le.wav
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s24le.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s24le.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-s24le_planar
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
83e315ce8083a6d035f801bb862942bf *tests/data/fate/acodec-pcm-s24le_planar.nut
1590202 tests/data/fate/acodec-pcm-s24le_planar.nut
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s24le_planar.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s24le_planar.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-s32be
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
d6380bf54ac3e452c190ce302c264bf0 *tests/data/fate/acodec-pcm-s32be.mov
2117527 tests/data/fate/acodec-pcm-s32be.mov
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s32be.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s32be.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-s32le
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
8d8849fa5c5d91b9cb74f5c74e937faf *tests/data/fate/acodec-pcm-s32le.wav
2116868 tests/data/fate/acodec-pcm-s32le.wav
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s32le.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s32le.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-s32le_planar
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
f6199b2c698bd5dd1438b53431357bec *tests/data/fate/acodec-pcm-s32le_planar.nut
2120148 tests/data/fate/acodec-pcm-s32le_planar.nut
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s32le_planar.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-s32le_planar.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-s8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
00a9d90e06e8ecb79e5dd4c6c8460836 *tests/data/fate/acodec-pcm-s8.mov
529853 tests/data/fate/acodec-pcm-s8.mov
651d4eb8d98dfcdda96ae6c43d8f156b *tests/data/fate/acodec-pcm-s8.out.wav
652edf30f35ad89bf27bcc9d2f9c7b53 *tests/data/fate/acodec-pcm-s8.out.wav
stddev: 147.89 PSNR: 52.93 MAXDIFF: 255 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-s8_planar
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ce99d95295ade9945849ef7c1de8c4ca *tests/data/fate/acodec-pcm-s8_planar.nut
531054 tests/data/fate/acodec-pcm-s8_planar.nut
651d4eb8d98dfcdda96ae6c43d8f156b *tests/data/fate/acodec-pcm-s8_planar.out.wav
652edf30f35ad89bf27bcc9d2f9c7b53 *tests/data/fate/acodec-pcm-s8_planar.out.wav
stddev: 147.89 PSNR: 52.93 MAXDIFF: 255 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-u16be
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
eab6206a2cec3c5a3be47fdaa826faff *tests/data/fate/acodec-pcm-u16be.nut
1060673 tests/data/fate/acodec-pcm-u16be.nut
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-u16be.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-u16be.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-u16le
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
8fceb284cc6a5a114b6ce7a10fd08020 *tests/data/fate/acodec-pcm-u16le.nut
1060673 tests/data/fate/acodec-pcm-u16le.nut
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-u16le.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-u16le.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-u24be
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
d1a55f46c88ed1efa77d05b60259675d *tests/data/fate/acodec-pcm-u24be.nut
1590202 tests/data/fate/acodec-pcm-u24be.nut
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-u24be.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-u24be.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-u24le
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
6d7df9b7e074548cf18dd16365862f1b *tests/data/fate/acodec-pcm-u24le.nut
1590202 tests/data/fate/acodec-pcm-u24le.nut
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-u24le.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-u24le.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-u32be
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
7078e6d7e80247b8531d5cc16d09f385 *tests/data/fate/acodec-pcm-u32be.nut
2120148 tests/data/fate/acodec-pcm-u32be.nut
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-u32be.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-u32be.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/pcm-u32le
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
34df9a7e1fe60da0bc6ec0485b68726e *tests/data/fate/acodec-pcm-u32le.nut
2120148 tests/data/fate/acodec-pcm-u32le.nut
64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-u32le.out.wav
95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-pcm-u32le.out.wav
stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
6 changes: 3 additions & 3 deletions tests/ref/acodec/pcm-u8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
70fecbae732f81143a560c7315eda49a *tests/data/fate/acodec-pcm-u8.wav
529246 tests/data/fate/acodec-pcm-u8.wav
651d4eb8d98dfcdda96ae6c43d8f156b *tests/data/fate/acodec-pcm-u8.out.wav
98cadb3502dbdc99e6e077c28b1a036c *tests/data/fate/acodec-pcm-u8.wav
529244 tests/data/fate/acodec-pcm-u8.wav
652edf30f35ad89bf27bcc9d2f9c7b53 *tests/data/fate/acodec-pcm-u8.out.wav
stddev: 147.89 PSNR: 52.93 MAXDIFF: 255 bytes: 1058400/ 1058400
2 changes: 1 addition & 1 deletion tests/ref/acodec/roqaudio
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
75859976d7098588aeaebbc5551484a9 *tests/data/fate/acodec-roqaudio.roq
265992 tests/data/fate/acodec-roqaudio.roq
be6d954adaf984f2dc65a3ff50b55f26 *tests/data/fate/acodec-roqaudio.out.wav
73d5aaaab9488e63f1cf6fc324c7a9a2 *tests/data/fate/acodec-roqaudio.out.wav
stddev: 4481.70 PSNR: 23.30 MAXDIFF:46250 bytes: 1058400/ 1058400
4 changes: 2 additions & 2 deletions tests/ref/fate/mapchan-6ch-extract-2
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
6f091fe8c0be88c75921731dc9f74314
5c2d162b9024329eb367295d37b8ca0a
3be6f8cefbf3c2e6dce670ee190b4313
b8791d1c07de59dd1badf2c7b5f62a74
2 changes: 1 addition & 1 deletion tests/ref/fate/mapchan-6ch-extract-2-downmix-mono
Original file line number Diff line number Diff line change
@@ -1 +1 @@
959645ed73e6d08d8f1e947eac5d0b92
e02d9537df5f534d14937bf7ab9b9a40
2 changes: 1 addition & 1 deletion tests/ref/fate/mapchan-silent-mono
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4f5148f08587a4b9794aa52aec7852ac
c37237a92bcf708bc0e20b713665a5a7
4 changes: 2 additions & 2 deletions tests/ref/lavf/w64
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
062b91c34d570a90af8d55427804878e *./tests/data/lavf/lavf.w64
88312 ./tests/data/lavf/lavf.w64
82c75c9cb61924fda68d9602ea69c445 *./tests/data/lavf/lavf.w64
88304 ./tests/data/lavf/lavf.w64
./tests/data/lavf/lavf.w64 CRC=0x3a1da17e
4 changes: 2 additions & 2 deletions tests/ref/lavf/wav
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
eb5a869456d2e9107bb195c8c99be1a1 *./tests/data/lavf/lavf.wav
88276 ./tests/data/lavf/lavf.wav
fc958a32b4fca7b1c40cbdaef2d1416e *./tests/data/lavf/lavf.wav
88274 ./tests/data/lavf/lavf.wav
./tests/data/lavf/lavf.wav CRC=0x3a1da17e
Loading

0 comments on commit 5e7d21c

Please sign in to comment.