- 23 Jan, 2013 12 commits
-
-
Martin Storsjö authored
This fixes crashes with muxing H263 into RTSP. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
-
Xi Wang authored
The check `start + res < start' is broken since pointer overflow is undefined behavior in C. Many compilers such as gcc/clang optimize away this check. Use `res > end - start' instead. Also change `res' to unsigned int to avoid signed left-shift overflow. Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
-
Xi Wang authored
A negative `size' will bypass FFMIN(). In the subsequent memcpy() call, `size' will be considered as a large positive value, leading to a buffer overflow. Change the type of `size' to unsigned int to avoid buffer overflow, and simplify overflow checks accordingly. Also change a literal buffer size to use sizeof, and limit the amount of data copied in another memcpy call as well. Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
-
Xi Wang authored
Sanity checks like `data + size >= data_end || data + size < data' are broken, because `data + size < data' assumes pointer overflow, which is undefined behavior in C. Many compilers such as gcc/clang optimize such checks away. Use `size < 0 || size >= data_end - data' instead. Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This makes sure that the restrict keyword is mapped to whatever keyword the compiler prefers/supports. This fixes building on MSVC (and possibly on GCC 2.x as well). Signed-off-by: Martin Storsjö <martin@martin.st>
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
These are never used.
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
This is never used.
-
Diego Biurrun authored
It does not help as an abstraction and adds dsputil dependencies. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
The input is not guaranteed to be aligned.
-
- 22 Jan, 2013 13 commits
-
-
Tim Walker authored
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Tim Walker authored
Also wrap usage of AVCodecContext.request_channels in FF_API_REQUEST_CHANNELS directives. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Tim Walker authored
Allows users to configure the output based on what's actually decoded, rather than the full native layout. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Tim Walker authored
Fixes bug 401. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> CC:libav-stable@libav.org
-
Tim Walker authored
Fixes bug 208. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> CC:libav-stable@libav.org
-
Tim Walker authored
Also stop storing the channel arrangement in the header info, as it's unused outside of ff_mlp_read_major_sync. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> CC:libav-stable@libav.org
-
Diego Biurrun authored
-
Ronald S. Bultje authored
This makes the aac decoder and all voice codecs independent of dsputil.
-
Ronald S. Bultje authored
This makes wmadec/enc, twinvq and mpegaudiodec (i.e. mp2/mp3) independent of dsputil.
-
Ronald S. Bultje authored
Now, nellymoserenc and aacenc no longer depends on dsputil. Independent of this patch, wmaprodec also does not depend on dsputil, so I removed it from there also.
-
Ronald S. Bultje authored
-
Michael Smith authored
Set interlaced to false if we don't have an interlaced frame Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Ronald S. Bultje authored
The function is only used in VP3 and VP5, so no need to have it in DSPContext.
-
- 21 Jan, 2013 12 commits
-
-
Diego Biurrun authored
CC: libav-stable@libav.org
-
Martin Storsjö authored
Expose the current sequence number via an AVOption - this can be used both for setting the initial sequence number, or for querying the current number. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Luca Barbato authored
This reverts commit ce378f0d.
-
Diego Biurrun authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Jindrich Makovicka authored
Use AVERROR_INVALIDDATA on invalid inputs, and AVERROR_EOF when no more frames are available in an interleaved AVI. Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Daniel Kang authored
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Brad Smith authored
Libgsm header can reside either in the base include dir or in the gsm subdir. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Ronald S. Bultje authored
-
Ronald S. Bultje authored
This saves one instruction in the x86-64 assembly.
-
Ronald S. Bultje authored
This allows us to get rid of them on the next major bump. All of the above are functionally irrelevant, and most of them are unused, except the vp3 one, which is used wrongly in the bfin arch optimizations.
-
Ronald S. Bultje authored
This allows us to remove FF_IDCT_WMV2, which serves no practical purpose other than to be able to select the WMV2 IDCT for MPEG (or vice versa) and get corrupt output. Fate tests for all wmv2-related tests change, because (for some obscure reason) they forced use of the MPEG IDCT. You would get the same changes previously by not using -idct simple in the fate test (or replacing it with -idct auto).
-
Ronald S. Bultje authored
The function is unused.
-
- 20 Jan, 2013 3 commits
-
-
Martin Storsjö authored
This simplifies the code slightly. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-