summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Do not set audio_resample to 0 if audio_sync_method is > 1.Stefano Sabatini2011-01-24
| | | | | | | | | | If audio_sync_method is >1 the resampler is used for audio drift compensation, and do_audio_out() was causing an assert failure because audio_resample was not set. Fix issue 2516, which was introduced by SVN r25939. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: NEON: fix overflow in h264 16x16 planar predMans Rullgard2011-01-24
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add CFLAGS needed by PathScale compilerMans Rullgard2011-01-24
| | | | | | | The PathScale compiler miscompiles wrapping arithmetic without these flags. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Disable symbol versioning on some BSDsMans Rullgard2011-01-23
| | | | | | | | Dragonfly, NetBSD, and OpenBSD do not support symbol versioning although our link test passes. Disable it explicitly for these systems. Signed-off-by: Mans Rullgard <mans@mansr.com>
* MIPS: use inline asm only when supported by compilerMans Rullgard2011-01-23
|
* aacenc: fix typo in sync extension constant in 8ae0fa2Janne Grunau2011-01-23
|
* Remove redundant checks against MIN_CACHE_BITSMans Rullgard2011-01-23
| | | | | | | With the removal of the libmpeg2 bitstream reader, MIN_CACHE_BITS is always >= 25, so tests against smaller values can be removed. Signed-off-by: Mans Rullgard <mans@mansr.com>
* get_bits: move tracing macros to end of fileMans Rullgard2011-01-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Sanitise get_bits macros, part 2Mans Rullgard2011-01-23
| | | | | | | These whitespace changes improve the readability of the get_bits macros. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Sanitise get_bits macros, part 1Mans Rullgard2011-01-23
| | | | | | | | | Some of the macros in get_bits.h include a final semicolon, some do not. This removes these or adds do {} while(0) around the macros as appropriate and adds semicolons where needed in calling code. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove "libmpeg2" bitstream readerMans Rullgard2011-01-23
| | | | | | | | | | Using the libmpeg2 reader causes errors in a multitude of places, including MPEG and H264 codecs. As the advantage of this reader is questionable, removing it seems the sensible course of action, especially considering the simplifications this allows elsewhere with the bit cache size increasing from 17 to 25 bits as minimum. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Makefile: simplify test tools handlingMans Rullgard2011-01-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ffserver: cleanupReinhard Tartler2011-01-23
| | | | | remove the trivial function do_switch_stream as it doesn't help to make the code easier to understand.
* ac3enc: use dsputil functions in apply_window()Justin Ruggles2011-01-22
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Change DSPContext.vector_fmul() from dst=dst*src to dest=src0*src1.Justin Ruggles2011-01-22
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Reindent.Ronald S. Bultje2011-01-22
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Fix crash on resolution change (issue 2393).Ronald S. Bultje2011-01-22
| | | | | | | | Don't free RBSP tables (containing decoded NAL units) on resolution change, because we actually need this data to decode the frame after reiniting (with new resolution). Fixed issue 2393. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Make LOCAL_ALIGNED macro fully C99 compatibleMans Rullgard2011-01-22
| | | | | | | | | C99 variadic macros require more arguments than there are named parameters in the definition. This means we must use an extra indirection to avoid having two different macros for arrays with one resp more than one dimension. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove H.264 encoder fragmentsAlex Converse2011-01-22
| | | | | | | It's incomplete, no one is working on it, and when someone asks about working on it we advise them not to. Signed-off-by: Mans Rullgard <mans@mansr.com>
* aacenc: mark SBR absentAlex Converse2011-01-22
| | | | | | | Use backwards compatible explicit signalling to denote the absence of SBR. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Amend documentation for the image2 demuxer, to better reflect the current ↵Stefano Sabatini2011-01-22
| | | | | | behavior. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove outdated and confusing comment.Stefano Sabatini2011-01-22
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* 10l: reverse the biquad coefficients.Justin Ruggles2011-01-22
| | | | | | I did not notice that the filter implementation uses a reversed history state. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* streamid does not work with newaudio, newvideo, newsubtitleMike Scheutzow2011-01-22
| | | | | | | | | | | | | | | | | | fixes issue2465. The problem is that the ffmpeg (the app) -streamid option did not work with -newaudio/-newvideo/-newsubtitle. The cause was a conflict between the feature where streamid values were reset to default for each output filename, and the implementation of -new*, which requires that the -new* option be specified after the target filename. My patch changes the ffmpeg behavior so that user-specified streamid values apply to all the following output files on the command line (rather than just the next output filename.) Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* fate: add lossless h264 testMans Rullgard2011-01-22
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* libfaac: add recognized profiles arrayAnssi Hannula2011-01-22
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* mp3enc: support for id3v2.3 tags using a per-muxer AVOptionAnton Khirnov2011-01-22
| | | | | | fixes issue2562. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* id3v2: split tables for various ID3v2 versionsAnton Khirnov2011-01-22
| | | | | | This is needed for upcoming ID3v2.3 muxing support. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* mp3enc: handle errors in id3v2_put_ttagAnton Khirnov2011-01-22
| | | | | | | | | | make the initialization of put clearer this are the differences between [FFmpeg-devel] [PATCH 1/3] mp3enc: add support for writing UTF-16 tags and the already applied 187e23478bc5c066ff8eef562925471ac179644e Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Move ID3v1 skip from decoder to demuxerClément Bœsch2011-01-22
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* fate: make lavfi tests output only md5Mans Rullgard2011-01-22
| | | | | | | Instead of saving huge raw files, use the md5: output pseudo-protocol to calculate the checksum of the file directly. This is especially useful when testing on remote targets as it avoids transferring 3.6GB over the network.
* dca: add profile namesAnssi Hannula2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* iir: Change dst param to float* in ff_iir_filter_flt().Justin Ruggles2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dca: consider a stream with XXCh/X96 in ExSS as DTS-HD HRAAnssi Hannula2011-01-21
| | | | | | | | | | | DTS-HD HRA streams do not always have an XBR extension in the extension substream. Instead they can have only XXCh and X96 extensions in there and still be considered DTS-HD HRA. This is also confirmed with Onkyo TX-SR607 receiver which recognizes such a stream as HiRes Audio. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mp3enc: add support for writing UTF-16 tagsAnton Khirnov2011-01-21
| | | | | | Also it gets rid of some mysterious magic numbers in code. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix libavformat version extraction in configureMans Rullgard2011-01-21
| | | | | | | This fixes shared library builds broken by 50196a982bf7c8be9b41053fa0975473c217e709 Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: better test for mktempMans Rullgard2011-01-21
| | | | | | | | | | Some variants of mktemp require a template, so provide one when checking for the command. We already supply a template in the subsequent uses of mktemp. Thanks to Michael Kostylev. Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: simplify exit trapsMans Rullgard2011-01-21
| | | | | | | | | This does the same thing and also fixes the trapping in some (possibly broken) shells. Suggested by Michael Kostylev. Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: move ff_put_str16_nolen from asf to avio and rename itAnton Khirnov2011-01-21
| | | | | | It will be useful in the mp3 muxer. Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: add av_put_str and deprecate put_strz in favor of itAnton Khirnov2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics related to LPC changes.Justin Ruggles2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Separate window function from autocorrelation.Justin Ruggles2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move lpc_compute_autocorr() from DSPContext to a new struct LPCContext.Justin Ruggles2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: move the version macros to a new headerAnton Khirnov2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* id3v2: use an enum for encodings instead of magic numbers.Anton Khirnov2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make demuxers auto-select parsers they needMans Rullgard2011-01-21
| | | | | | | This makes configure --disable-everything --enable-demuxer=foo work as expected. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Makefile: simplify setting of some variablesMans Rullgard2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Split mp3 demuxer and muxer into separate files.Anton Khirnov2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dca: pretty-print some tablesMans Rullgard2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* iir: change filter type if/else to a switch.Justin Ruggles2011-01-20
| | | | | | Simplifies error handling and makes it easier to add additional filter types. Signed-off-by: Mans Rullgard <mans@mansr.com>