Initialize riff and wav size fields to -1 instead of 0.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 3 May 2014 18:18:13 +0000 (20:18 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 3 May 2014 20:21:00 +0000 (22:21 +0200)
commitc2b0ce70add2a7dd6e792341c21278cb94820684
tree567d1ba7540a8a9db1bcf0a6d23f5a9bb8c8ed63
parent5918c5a4ccd7433956fc51a233126ac7da64aabc
Initialize riff and wav size fields to -1 instead of 0.

WMP doess not play the output files if the fields are
set to 0 and not overwritten (using pipe output).

Fixes ticket #3346.
libavformat/riffenc.c
libavformat/wavenc.c
tests/fate/filter-audio.mak
tests/ref/fate/mapchan-6ch-extract-2
tests/ref/fate/mapchan-6ch-extract-2-downmix-mono
tests/ref/fate/mapchan-silent-mono
tests/ref/fate/v410enc