summaryrefslogtreecommitdiff
path: root/libavformat/wavdec.c
Commit message (Collapse)AuthorAge
* avformat/wavdec: make start_code string largerClément Bœsch2014-12-19
| | | | av_get_codec_tag_string() uses more that 1 char for unprintable characters.
* wavdec: avoid output of arbitrary charsThomas Volkert2014-12-19
| | | | | | | use av_get_codec_tag_string() in wav_read_header() for printing the faulty start code from riff header Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* wavdec: refactor wav_read_header()Thomas Volkert2014-12-19
| | | | | | | | Make it more readable and display an error message in case an invalid header is detected (the current version just returns AVERROR_INVALIDDATA) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* wavdec: RIFX file format supportThomas Volkert2014-12-18
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavf/wavdec: add sanity check for AVCodecContext.channelsJames Almer2014-08-18
| | | | | | | | Fixes ticket #3862. As a side effect, this also fixes aac_latm in wav. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* replace calls to url_feof() with avio_feof()James Almer2014-08-08
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/wavdec: add basic sanity check for the sample countMichael Niedermayer2014-07-14
| | | | | | Fixes Ticket3708 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avformat/wavdec: enlarge probe_packets for wavcsheng2014-04-19
| | | | | | fix issue https://trac.ffmpeg.org/ticket/3550 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-11-24
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Add missing #includes for *INT64_MAX and *INT64_C Conflicts: ffmpeg.c ffmpeg_filter.c ffplay.c libavformat/assdec.c libavformat/avidec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add missing #includes for *INT64_MAX and *INT64_CDiego Biurrun2013-11-23
| |
* | avformat/wavdec: Fix smv packet interleavingMichael Niedermayer2013-10-25
| | | | | | | | | | | | | | | | This strips the relative timestamp "flag" off. Fixes Ticket2849 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat: use ff_alloc_extradata()Paul B Mahol2013-10-13
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/wavdec: Dont trust the fact chunk for PCMMichael Niedermayer2013-10-09
| | | | | | | | | | | | Fixes Ticket3033 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avformat/wavdec: check smv_frames_per_jpegMichael Niedermayer2013-09-26
| | | | | | | | | | | | | | | | | | Values outside would not be possible due to limitations of jpeg itself Fixes very long running loop Fixes Ticket2977 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | w64dec: fix end position of summarylist guidPaul B Mahol2013-09-03
| | | | | | | | | | | | Noticed-by: James Almer Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | w64dec: fix skipping of unknown guidsPaul B Mahol2013-09-02
| | | | | | | | | | | | | | Regression since 14d50c1. Fixes #2932. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavf/wavdec: Fix seeking in files with unaligned offsetsAlexander Strasser2013-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | A file with a prepended ID3 tag of an uneven length was found in the wild. Check if the wav data starts at an uneven offset and use that information to correct the seeking calculation in wav_seek_tag, which used to only seek to even byte positions. Regression since ac87eaf856e0fb51917266b899bb15d19b907baf Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
* | avformat/wavdec: Dont rescale timestamps but use exact comparissionMichael Niedermayer2013-06-08
| | | | | | | | | | | | Fixes integer overflow Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Support playing SMV files.Ash Hughes2013-05-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | wav_seek_tag: fix integer overflowMichael Niedermayer2013-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-05-06
|\| | | | | | | | | | | | | | | | | | | * qatar/master: wav: Always seek to an even offset Conflicts: libavformat/wavdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * wav: Always seek to an even offsetLuca Barbato2013-05-06
| | | | | | | | | | | | | | RIFF chunks are aligned to 16bit according to the specification. Bug-Id:500 CC:libav-stable@libav.org
* | avformat: replace "AVPROBE_SCORE_MAX / X" by AVPROBE_SCORE_EXTENSION / YMichael Niedermayer2013-05-05
| | | | | | | | | | | | Demuxers where the changed code looked less readable where skiped Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2013-05-04
|\| | | | | | | | | | | | | | | | | | | * qatar/master: wav: return meaningful errors Conflicts: libavformat/wavdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * wav: return meaningful errorsLuca Barbato2013-05-03
| |
* | Merge commit 'a5f8873620ce502d37d0cc3ef93ada2ea8fb8de7'Michael Niedermayer2013-05-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit 'a5f8873620ce502d37d0cc3ef93ada2ea8fb8de7': silly typo fixes Conflicts: doc/protocols.texi libavcodec/aacpsy.c libavformat/utils.c tools/patcheck Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * silly typo fixesDiego Biurrun2013-05-03
| |
* | Merge commit '13f57a4d881ec669b87bf82f424bfff502433060'Michael Niedermayer2013-05-03
|\| | | | | | | | | | | | | | | | | | | * commit '13f57a4d881ec669b87bf82f424bfff502433060': wav: K&R formatting cosmetics Conflicts: libavformat/wavdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * wav: K&R formatting cosmeticsLuca Barbato2013-05-02
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | lavf/wavdec: skip padding byteMatthieu Bouron2013-04-08
| | | | | | | | | | | | | | | | | | | | WAV chunks must be even aligned. This patch skip the extra padding byte if chunk size is odd. Fixes ticket #2417. Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | w64: fact guid supportPaul B Mahol2013-01-07
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Support decoding AC-3 in wav.Carl Eugen Hoyos2013-01-06
| | | | | | | | | | All known samples are actually ac3-in-spdif-in-wav, so use the spdif demuxer to get the ac3 frames.
* | w64dec: support metadata (summarylist guid)Paul B Mahol2013-01-05
| | | | | | | | 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>
* | wavdec: fix duration calculation for files with invalid data sizeJames Almer2012-12-29
| | | | | | | | | | | | | | | | | | Some wav files report a data size that is bigger than the actual file size. Fall back to estimation from bitrate in such cases. Fixes ticket #2065. Signed-off-by: James Almer <jamrial@gmail.com>
* | riff: ignore ff_read_riff_info() failure.Michael Niedermayer2012-11-23
| | | | | | | | | | | | | | Some files simply contain invalid info tags. Fixes unrelated bug posted into Ticket1821 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-17
|\| | | | | | | | | | | | | | | | | | | | | * qatar/master: configure: Add support for Tilera processors wavdec: check size before reading the data, not after. Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * wavdec: check size before reading the data, not after.Anton Khirnov2012-10-16
| |
| * wav: do not fail on empty INFO tagsAnton Khirnov2012-10-16
| | | | | | | | | | | | Fixes Bug 379 CC: libav-stable@libav.org
* | 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