summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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
|
* rotozoom: Drop some unnecessary parentheses.Diego Biurrun2011-05-11
|
* rotozoom: K&R coding style cosmeticsDiego Biurrun2011-05-11
|
* rtsp: Only do keepalive using GET_PARAMETER if the server supports itMartin Storsjö2011-05-11
| | | | | | | | | | | | | | | | This is more like what VLC does. If the server doesn't mention supporting GET_PARAMETER in response to an OPTIONS request, VLC doesn't send any keepalive requests at all. After this patch, libavformat will still send OPTIONS keepalives if GET_PARAMETER isn't explicitly said to be supported. Some RTSP cameras don't support GET_PARAMETER, and will close the connection if this is sent as keepalive request (but support OPTIONS just fine, but probably don't need any keepalive at all). Some other cameras don't support using OPTIONS as keepalive, but require GET_PARAMETER instead. Signed-off-by: Martin Storsjö <martin@martin.st>
* ffmpeg: call pre_process_video_frame() only if decoding is neededStefano Sabatini2011-05-11
| | | | | | | | | | | | In output_packet(), move the pre_process_video_frame() call inside the if (ist->decoding_needed) { } block. This way pre_process_video_frame() is not called when stream-copy has been selected. Also simplify. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffmpeg: reformat resample condition code in transcode()Stefano Sabatini2011-05-11
| | | | | Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffmpeg: factorize resampling condition check in do_video_out()Stefano Sabatini2011-05-11
| | | | | | | Simplify and improve readability. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffmpeg: prefer "dec" over "ist->st->codec" in do_video_out() snippetStefano Sabatini2011-05-11
| | | | | | | Simplify, ease readability. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffmpeg: improve reporting if size/pixel format changesStefano Sabatini2011-05-11
| | | | | | | | | | | Use av_log() rather than fprintf(stderr, ...), and show information related to the previous size/pixel format configuration. Consistent with the corresponding message issued in case of audio configuration change. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffmpeg: warns the user when the selected pixel format is ignoredStefano Sabatini2011-05-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffplay: add a dummy option -i so that it is easy to switch between ffmpeg -i ↵Benjamin Larsson2011-05-11
| | | | | | "file" and ffplay -i "file". Signed-off-by: Anton Khirnov <anton@khirnov.net>