summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* rtpdec_qdm2: Don't try to parse data packet if no configuration is receivedMartin Storsjö2011-05-13
| | | | | | | | The later parsing of payload data depends on the configuration being present. If it hasn't been configured properly yet, parsing a data packet may lead to a crash. Signed-off-by: Martin Storsjö <martin@martin.st>
* ac3enc: put the counting of stereo rematrixing bits in the same place toJustin Ruggles2011-05-12
| | | | make the code easier to understand.
* ac3enc: clean up count_frame_bits() and count_frame_bits_fixed()Justin Ruggles2011-05-12
|
* mpegvideo: make FF_DEBUG_DCT_COEFF output coeffs via av_log() instead of ↵Michael Niedermayer2011-05-12
| | | | | | | | | just via AVFrame. This allows the values to be used without changing C code and is closer to how the other DEBUG flags work. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* srtdec: make sure we don't write past the end of bufferAurelien Jacobs2011-05-12
| | | | | Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wmaenc: improve channel count and bitrate error handling in encode_init()Tomas Härdin2011-05-12
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskaenc: make sure we don't produce invalid file with no codec IDAurelien Jacobs2011-05-12
| | | | | Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskadec: check that pointers were initialized before accessing themAurelien Jacobs2011-05-12
| | | | | Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: fix function name in compute_pkt_fields2 av_dlog messageStefano Sabatini2011-05-12
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: fix av_find_best_stream when providing a wanted stream.Marton Balint2011-05-12
| | | | | | | | | | | | | In the main loop, stream_number is incremented after checking the stream type, so the search usually will not find the wanted stream. This patch eliminates the useless stream_number variable and introduces a new one, called real_stream_index to store the real stream index of the current stream, no matter if we are looping through all the streams or only the streams of a program. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: fix av_find_best_stream when decoder_ret is given and using a related ↵Marton Balint2011-05-12
| | | | | | | | | stream. Yet another fix for the code originally designed for use without related_stream. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffmpeg: factorize quality calculationMichael Niedermayer2011-05-12
| | | | | | | Calculate quality value once per stream in print_report(). Also fix segfault, as coded_frame can be NULL. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* tiff: add support for SamplesPerPixel tag in tiff_decode_tag()Stefano Sabatini2011-05-12
| | | | | | | | | | | | | Format detection and internal frame initialization is moved to a separate init_image() function, which is called when all the tags have been read, and so both BitsPerSample and SamplesPerPixel information has been collected. This fixes decoding of the file 11.tiff from roundup issue #1925. Based on a patch by Kostya Shishkov <kostya.shishkov@gmail.com>. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* tiff: Prefer enum TiffCompr over int for TiffContext.compr.Stefano Sabatini2011-05-12
| | | | | | This is safer and helps debugging. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mov: Support edit list atom version 1.Yusuke Nakamura2011-05-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* configure: Enable libpostproc automatically if GPL code is enabled.Måns Rullgård2011-05-12
| | | | | Enabling libpostproc automatically should give it more compile coverage and save the FATE box maintainers some configuration hassles.
* Cosmetics: fix prototypes in oggdecClément Bœsch2011-05-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* oggdec: fix memleak with continuous streams.Clément Bœsch2011-05-12
| | | | | | | This avoids the creation of a new AVStream instead of replacing it when a stream reset occurs (track change with some webradios for example). Signed-off-by: Diego Biurrun <diego@biurrun.de>
* matroskaenc: add missing new line in av_log() callAurelien Jacobs2011-05-12
| | | | | Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* dnxhdenc: add AVClass in private context.Baptiste Coudurier2011-05-12
| | | | | | Fixes private options. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* movenc: fix yuv range in avid atoms used by dnxhd.Baptiste Coudurier2011-05-12
| | | | | | yuv range: full 1 / normal 2 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* movenc: fix adpcm mono muxing.Alex Converse2011-05-12
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegts: do not output known sized packet if an unbounded packet is already ↵Baptiste Coudurier2011-05-12
| | | | | | | | queued. Fix issue #2624. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffprobe: tweak error message in open_input_file()Stefano Sabatini2011-05-12
| | | | | | | Replace "codec (id=%d)" with "codec with id %d", slightly more readable. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* patcheck: warn about assert usagePeter Ross2011-05-12
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* configure: sort filter deps entriesStefano Sabatini2011-05-12
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace int_fast integer types with their sized standard posix counterparts.Diego Biurrun2011-05-12
| | | | | The _fast integer types provide no realworld benefits, but may introduce portability issues and are just plain ugly.
* jfdct: Replace sized int_fast integer types with plain int/unsigned.Diego Biurrun2011-05-12
| | | | | | int/unsigned is the natural memory access type for CPUs, using sized types for temporary variables, counters and similar just increases code size and can possibly cause a slowdown.
* configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.Diego Biurrun2011-05-12
| | | | | | | | | | | | | | | | Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems since it causes certain system functions to be hidden on some (BSD) systems. The solution is to only add the flag on systems that really require it, i.e. glibc-based ones. This change makes BSD systems compile out-of-the-box without the need for adding specific flags manually. It also allows dropping a number of flags set manually on a file-per-file basis, but were only present to work around breakage introduced by the presence of _POSIX_C_SOURCE. Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions in several places already, so it is preferable to define it globally instead of littering source files with individual #defines only needed for glibc.
* nsv: Fix misdetection of MP3 files as NSV.Thierry Foucu2011-05-12
| | | | | | | If an MP3 file contains the string NSVs, the NSV probe will confuse it for an NSV file. Check for 0xBEEF after a Video/Audio chunk to achieve more accuracy. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* oggdec: use explicit AVInputFormat struct initializersClément Bœsch2011-05-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* oggdec: simplify ogg_probeClément Bœsch2011-05-12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* swscale: fix YUV420P 9/10bit support.Ronald S. Bultje2011-05-11
| | | | | | | Fix handling of input if not in native endianness, and add support for 9/10-bit output. This allows us to force endianness of YUV420P 9/10bit in the H264/10bit fate tests, which should fix them on big-endian systems.
* 10-bit H.264 x86 chroma v loopfilter asmJason Garrett-Glaser2011-05-11
| | | | Also delete some unused deblock asm macros.
* Port SMPTE S302M audio decoder from FFmbc 0.3.Baptiste Coudurier2011-05-11
|
* Fix crash of interlaced MPEG2 decodingAnatoly Nenashev2011-05-11
| | | | | Problem description, preliminary review discussion at http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/127731
* h264pred: fix one more aliasing violation.Ronald S. Bultje2011-05-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* doc/APIchanges: fill in missing hashes and dates.Anton Khirnov2011-05-11
|
* flacenc: use proper initializers for AVOption default values.Anton Khirnov2011-05-11
| | | | | default_val was recently changes from double to a union, current code wasn't updated for that.
* lavc: deprecate named constants for deprecated antialias_algo.Anton Khirnov2011-05-11
|
* aac: workaround for compilation on cygwinReinhard Tartler2011-05-11
| | | | | | | | | On cygwin, math.h needs to be included before float.h because of a bug in the system headers. Including libavutil/libm.h first works around this issue. Longer discussion of the topic: http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/128582
* swscale: extend YUV422p support to 10bits depthBaptiste Coudurier2011-05-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tiff: add support for inverted FillOrder for uncompressed dataStefano Sabatini2011-05-11
| | | | | | Fix decoding of file b.tif, trac issue #168. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Remove unused softfloat implementation.Diego Biurrun2011-05-11
| | | | | | The softfloat functionality is unused, not installed and incomplete. On platforms without floating point units, the compiler provides a softfloat implementation so there is no point in carrying this code around locally.
* h264pred: fix aliasing violations.Ronald S. Bultje2011-05-11
| | | | Tested to fix Haiku H264/10bit fate failures, may also fix others.
* rotozoom: Eliminate French variable name.Diego Biurrun2011-05-11
|
* rotozoom: Check return value of fread().Diego Biurrun2011-05-11
| | | | | | This fixes the warnings: tests/rotozoom.c:252: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result tests/rotozoom.c:254: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
* rotozoom: Return an error value instead of calling exit().Diego Biurrun2011-05-11
|
* rotozoom: Make init_demo() return int and check for errors on invocation.Diego Biurrun2011-05-11
|
* rotozoom: Drop silly UINT8 typedef.Diego Biurrun2011-05-11
|