- 16 Apr, 2011 8 commits
-
-
Stefano Sabatini authored
Prefer parse_number_or_die() over atoi()/atol() parsing for the options: -pass, -top, -vc, and -qscale. Improve input validation. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
-
Stefano Sabatini authored
Check that the value passed for an OPT_INT option is an int, fail otherwise.
-
Reimar Döffinger authored
Also remove useless assignments of 0, the priv context is initialized to 0.
-
Reimar Döffinger authored
FFmpeg can generate pts and dts on its own, but only if we enable parsing, so do that. This fixes ticket #46.
-
Philip Langdale authored
I was using the wrong value to track the position of the parser in the stream. For an error-free stream, the size of the frame and number of bytes consumed will be the same, but in an error situation they can diverge. Signed-off-by: Philip Langdale <philipl@overt.org>
-
Roger Pau Monné authored
-
Michael Niedermayer authored
* commit '4d012eb5': xwma: Fix wrong printf format expression. xwma demuxer: typos oggdec: simplify audio chained ogg streams support Merged-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
* commit 'f668afd4': swscale: fix "ISO C90 forbids mixed declarations and code" warning swscale: fix compilation with --enable-runtime-cpudetect swscale: correct include path to fix ppc altivec build swscale: simplify rgb2rgb templating swscale: simplify initialization code swscale: further cleanup swscale.c swscale: partially move the arch specific code left swscale: move away x86 specific code from rgb2rgb None of above is merged, the changes are not yet ready they add over 2000 lines of duplicated code and a few bugs Merged-by: Michael Niedermayer <michaelni@gmx.at>
-
- 15 Apr, 2011 8 commits
-
-
Diego Biurrun authored
Also add inttypes.h #include for PRId64 macros. This fixes the following warnings: libavformat/xwma.c:147: warning: too many arguments for format libavformat/xwma.c:151: warning: too many arguments for format
-
Max Horn authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Carl Eugen Hoyos authored
-
Carl Eugen Hoyos authored
The warning is printed with loglevel error because the output stream is known to be broken. Also warn if no channel layout was provided for multichannel input.
-
Clément Bœsch authored
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Janne Grunau authored
only hit with --enable-runtime-cpudetect
-
Janne Grunau authored
-
Michael Niedermayer authored
* commit 'a3a0af4f': avutil: make aes and sha api public handle malloc failures in ff_get_wav_header add xWMA demuxer mpegts: force the default timebase libavcodec: Bump micro after adding the dtx AVOptions Merged-by: Michael Niedermayer <michaelni@gmx.at>
-
- 14 Apr, 2011 23 commits
-
-
Janne Grunau authored
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Luca Barbato authored
MMX is always built. Drop the ifdefs
-
Josh Allmann authored
Simplify the fallthrough case when no accelerated functions can be initialized.
-
Josh Allmann authored
Move x86-specific constants out of swscale.c
-
Luca Barbato authored
PPC and x86 code is split off from swscale_template.c. Lots of code is still duplicated and should be removed later. Again uniformize the init system to be more similar to the dsputil one. Unset h*scale_fast in the x86 init in order to make the output consistent with the previous status. Thanks to Josh for spotting it.
-
Luca Barbato authored
Keep only the plain C code in the main rgb2rgb.c and move the x86 specific optimizations to x86/rgb2rgb.c Change the initialization pattern a little so some of it can be factorized to behave more like dsputils.
-
Alexis Ballier authored
The functions are already av_ prefixed and sha1 header is already provided. Install libavutil/{aes,sha}.h Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Max Horn authored
ff_get_wav_header is reading data from a WAVE file and then uses it (without validation) to malloc a buffer. It then proceeded to read data into the buffer, without verifying that the allocation succeeded. To address this, change ff_get_wav_header to return an error if allocation failed, and adapted all calling code to handle that error. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Max Horn authored
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Rudolf Polzer authored
The mpegts muxer does not set the stream time base using av_set_pts_info, but expects it to have the default value of 1/90000. If the calling code changes stream pts before writing the header, other muxers override the time base at that point (like mpegenc.c).
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Carl Eugen Hoyos authored
-
Carl Eugen Hoyos authored
-
Carl Eugen Hoyos authored
-
Carl Eugen Hoyos authored
-
Carl Eugen Hoyos authored
-
Carl Eugen Hoyos authored
AV_CH_LAYOUT_QUAD is the only (multi-) channel layout that has the same channel ordering for FFmpeg and alsa.
-
Carl Eugen Hoyos authored
-
Carl Eugen Hoyos authored
The functions will also be used for unsigned formats.
-
Carl Eugen Hoyos authored
-
Carl Eugen Hoyos authored
-
Michael Niedermayer authored
* qatar/master: (32 commits) libopencore-amr, libvo-amrwbenc: Allow enabling DTX via private AVOptions libopencore-amr, libvo-amrwbenc: Only check the bitrate when changed libopencore-amr, libvo-amrwbenc: Find the closest matching bitrate libvo-*: Fix up the long codec names libavcodec: Mark AVCodec->priv_class const swscale: Factorize FAST_BGR2YV12 definition. libvo-aacenc: Only produce extradata if the global header flag is set lavf: postpone removal of public metadata conversion API lavc: postpone removal of request_channels lavc: postpone removal of audioconvert and sample_fmt wrappers lavf: postpone removal of deprecated avio functions libopencore-amr: Cosmetics: Rewrap and align libopencore-amr, libvo-amrbwenc: Rename variables and functions libopencore-amr: Convert commented out debug logging into av_dlog libopencore-amr: Remove an unused state variable libvo-amrwbenc: Don't explicitly store bitrate modes in the bitrate table libopencore-amr: Remove a useless local variable libopencore-amr, libvo-amrwbenc: Make the bitrate/mode mapping array static const libopencore-amr, libvo-amrwbenc: Return proper error codes in most places libopencore-amr: Don't print carriage returns in log messages ... Conflicts: doc/developer.texi libavcodec/avcodec.h libavcodec/libvo-aacenc.c libavcodec/libvo-amrwbenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
-
- 13 Apr, 2011 1 commit
-
-
Martin Storsjö authored
DTX, discontinuous transmission, allows emitting frames with comfort noise when no voice is detected in the input audio. Signed-off-by: Martin Storsjö <martin@martin.st>
-