summaryrefslogtreecommitdiff
path: root/libavformat/wavenc.c
Commit message (Collapse)AuthorAge
* lavf/wav: Print an error if files >4G are written.Carl Eugen Hoyos2015-05-17
| | | | | | Additionally, don't write an incorrect shorter size for such files. Fixes part of ticket #4543.
* avformat/wavenc: Check umid lengthMichael Niedermayer2015-05-10
| | | | | | Fixes potential out of array read Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/wavenc: fix string length variable typesMichael Niedermayer2015-05-10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/wavenc: Change enum to int, which is accessed via AVOption as intMichael Niedermayer2015-03-30
| | | | | | This fixes depending on implementation defined behavior Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/wavenc: check return value of strftime()Michael Niedermayer2014-12-09
| | | | | | Fixes CID1257006 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/wavenc: Use localtime_r() for thread safteyMichael Niedermayer2014-11-02
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/wavenc: use av_mallocz_array()Paul B Mahol2014-07-11
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/wavenc: simplify malloc failure checkingMichael Niedermayer2014-06-24
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/wavenc: more specific error return for "Writing 16 bit peak for 8 ↵Michael Niedermayer2014-06-24
| | | | | | bit audio" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/wavenc: do not hardcode array size in memset and other functionsMichael Niedermayer2014-06-24
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/wavenc: use the bitexact flag from avformat instead of the one from ↵Michael Niedermayer2014-06-24
| | | | | | avcodec Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Peak Envelope Chunk encoder: IndentGeorg Lippitsch2014-06-24
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* EBU Tech 3285 - Supplement 3 - Peak Envelope Chunk encoderGeorg Lippitsch2014-06-24
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'd246231e4714119faac6c7acd881d3b687bb8b11'Michael Niedermayer2014-05-18
|\ | | | | | | | | | | | | | | | | | | * commit 'd246231e4714119faac6c7acd881d3b687bb8b11': wavenc: use codec descriptors to get the codec name Conflicts: libavformat/wavenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * wavenc: use codec descriptors to get the codec nameAnton Khirnov2014-05-18
| | | | | | | | Also, return a proper error code.
| * wavenc: write fact chunk sample count at the correct file positionMichael Niedermayer2012-11-26
| | | | | | | | | | | | | | Fixes curruption of metadata in the INFO chunk. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* | Initialize riff and wav size fields to -1 instead of 0.Carl Eugen Hoyos2014-05-03
| | | | | | | | | | | | | | WMP doess not play the output files if the fields are set to 0 and not overwritten (using pipe output). Fixes ticket #3346.
* | ff_put_wav_header: add flag to force WAVEFORMATEXDaniel Verkamp2014-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partially undoes commit 2c4e08d89327595f7f4be57dda4b3775e1198d5e: 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 <michaelni@gmx.at>
* | lavf/wavenc: check for a single stream.Nicolas George2013-11-03
| | | | | | | | Fix trac ticket #3110.
* | WAV muxer: reindentDaniel Verkamp2013-02-13
| |
* | WAV muxer: add RF64 supportDaniel Verkamp2013-02-12
| |
* | w64: fact guid supportPaul B Mahol2013-01-07
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Sony Wave64 muxerPaul B Mahol2012-12-31
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | wavenc: fix curruption of metadataMichael Niedermayer2012-10-30
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '31c54711cc3f1484af101d629bbb805820d37ad1'Michael Niedermayer2012-10-17
|/ | | | | | | | | | * commit '31c54711cc3f1484af101d629bbb805820d37ad1': lavf: split wav muxer and demuxer into separate files. Conflicts: libavformat/wavdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* lavf: split wav muxer and demuxer into separate files.Anton Khirnov2012-10-16