- 28 May, 2013 16 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
This way we don't require the caller to parse the block header. It also allows the channel configuration to change mid-stream.
-
Anton Khirnov authored
This way we don't require the caller to parse the block header. It also allows the sample rate to change mid-stream.
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Anton Khirnov authored
This allows us to get rid of demuxer-specific hacks in the decoder and will allow streamcopy from matroska once we have a wavpack muxer.
-
Anton Khirnov authored
Currently the demuxer shaves the blocks and exports only the information that is useful to the decoder. Exporting the blocks just as they are stored is simpler to understand and will make remuxing wavpack easier.
-
Anton Khirnov authored
We don't know whether it will be float until we look at the data.
-
Anton Khirnov authored
The decoder always returns output if an error does not occur.
-
Anton Khirnov authored
Such blocks are not valid.
-
Anton Khirnov authored
Number of samples in the first block is checked to be strictly positive earlier in wavpack_decode_frame() and number of samples in all the other blocks is checked to be equal to the first one.
-
Anton Khirnov authored
-
Anton Khirnov authored
The caller never cares about the number of decoded samples, so this only confuses the reader.
-
Anton Khirnov authored
This simplifies the code and makes it faster.
-
Anton Khirnov authored
-
Anton Khirnov authored
The decoder always consumes full packets.
-
- 23 May, 2013 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 22 May, 2013 2 commits
-
-
Luca Barbato authored
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
Luca Barbato authored
Prevent most out of buffer reads. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
- 18 May, 2013 3 commits
-
-
Luca Barbato authored
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
Luca Barbato authored
And forward those that were already meaningful.
-
Luca Barbato authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
- 27 Mar, 2013 1 commit
-
-
Michael Niedermayer authored
Instead of this it would be possible to change the code to support larger K but that would make the code slower and probably still need checks on K. This variant is choosen as there are no known valid files that need larger K Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 13 Mar, 2013 1 commit
-
-
Clément Bœsch authored
Coccinelle profile used: @@ expression r, ctx, f, loglevel, str, flags; @@ -if ((r = ff_get_buffer(ctx, f, flags)) < 0) { - av_log(ctx, loglevel, str); - return r; -} +if ((r = ff_get_buffer(ctx, f, flags)) < 0) + return r; @@ expression r, ctx, f, loglevel, str; @@ -if ((r = ff_reget_buffer(ctx, f)) < 0) { - av_log(ctx, loglevel, str); - return r; -} +if ((r = ff_reget_buffer(ctx, f)) < 0) + return r; @@ expression r, ctx, f, loglevel, str, flags; @@ -if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0) { - av_log(ctx, loglevel, str); - return r; -} +if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0) + return r; ...along with some manual patches for the remaining ones.
-
- 08 Mar, 2013 1 commit
-
-
Anton Khirnov authored
-
- 12 Feb, 2013 1 commit
-
-
Justin Ruggles authored
-
- 11 Jan, 2013 1 commit
-
-
Michael Niedermayer authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 04 Dec, 2012 1 commit
-
-
Anton Khirnov authored
It will be useful in the upcoming transition to refcounted AVFrames.
-
- 13 Nov, 2012 2 commits
-
-
Michael Niedermayer authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 12 Nov, 2012 1 commit
-
-
Michael Niedermayer authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 11 Nov, 2012 1 commit
-
-
Justin Ruggles authored
Also reorder some other #include when applicable.
-
- 06 Nov, 2012 2 commits
-
-
Paul B Mahol authored
Wavpack format documentation mentions that 131072 is max number of samples. This fixes huge memory allocations in sample from ticket #1889. Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
- 07 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 23 Jul, 2012 1 commit
-
-
Hendrik Leppkes authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 21 Jun, 2012 1 commit
-
-
Hendrik Leppkes authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 02 Mar, 2012 2 commits
-
-
Derek Buitenhuis authored
Integer Overflow Checker detected an integer overflow while FATE was running. See: http://fate.libav.org/x86_64-linux-ioc/Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
-
Derek Buitenhuis authored
Integer Overflow Checker detected an integer overflow while FATE was running. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 24 Feb, 2012 1 commit
-
-
Michael Niedermayer authored
This has been implemented more correctly. This reverts commit a915618a.
-