summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* In avcodec_open(), set return code to an error value only when an error occursJustin Ruggles2011-04-191-3/+8
| | | | | | | | | instead of unconditionally at the start of the function. This fixes a bug where a successful call to ff_thread_init() masks errors that occur after that point in the function. It also makes future bugs like this less likely since the error code is now set near to the point in the code where the error is found.
* lavc: remove reference to opt.h from Makefile.Anton Khirnov2011-04-191-1/+1
| | | | Fixes make install after 3453a231a6cebe5989c213be0f9fd6c71ec5ea23.
* lavc: remove misc disabled cruft.Anton Khirnov2011-04-199-345/+4
|
* lavc: remove the FF_API_INOFFICIAL cruft.Anton Khirnov2011-04-193-9/+0
|
* lavc: remove the FF_API_SET_STRING_OLD cruft.Anton Khirnov2011-04-193-68/+0
|
* lavc: remove the FF_API_USE_LPC cruft.Anton Khirnov2011-04-194-27/+0
|
* lavc: remove the FF_API_SUBTITLE_OLD cruft.Anton Khirnov2011-04-193-26/+0
|
* lavc: remove the FF_API_VIDEO_OLD cruft.Anton Khirnov2011-04-193-38/+0
|
* lavc: remove the FF_API_AUDIO_OLD cruft.Anton Khirnov2011-04-194-55/+0
|
* lavc: remove the FF_API_OPT_SHOW cruft.Anton Khirnov2011-04-193-16/+0
|
* lavc: remove the FF_API_MM_FLAGS cruft.Anton Khirnov2011-04-192-22/+0
|
* pcm: Add const to cast in ENCODE macro.Diego Biurrun2011-04-191-1/+1
| | | | | This fixes a lot of warnings of the sort: libavcodec/pcm.c:105: warning: cast discards qualifiers from pointer target type
* libvo-aacenc,libvo-amrwbenc}: fix api usageLuca Barbato2011-04-182-5/+5
| | | | Use the correct error codes and format identifier.
* Bump major versions of all libraries.Anton Khirnov2011-04-181-2/+2
| | | | | | They've accumulated enough new APIs and corresponding deprecated cruft. This breaks API and ABI.
* Replace mplayerhq.hu URLs by libav.org.Diego Biurrun2011-04-183-3/+3
|
* ptx: Use av_log_ask_for_sample() where appropriate.Diego Biurrun2011-04-181-2/+2
|
* Replace more FFmpeg references by Libav.Diego Biurrun2011-04-1718-28/+28
|
* ac3dec: fix processing of delta bit allocation information.Justin Ruggles2011-04-172-4/+4
| | | | | The number of dba segments is the coded value + 1. The coupling dba offset starts at the first coupling band, not at zero.
* vc1: fix fate-vc1 after previous commit.Ronald S. Bultje2011-04-171-1/+1
| | | | | | | | PROFILE_ADVANCED doesn't set res_fasttx, so make that a special case in the condition that decides which IDCT to use (and whether to read coefficients transposed or not). Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* wmv3dec: fix playback of complex WMV3 files using simple_idct.Ronald S. Bultje2011-04-162-41/+51
| | | | | | | | IDCT coefficients are read transposed, but simple_idct does not expect this. Therefore, only do tranposed coefficient reading if we're not using simple_idct. Fixes http://forum.videolan.org/viewtopic.php?f=14&t=89651
* make av_dup_packet() more cautious on allocation failuresKostya Shishkov2011-04-151-7/+19
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* make containers pass palette change in AVPacketKostya Shishkov2011-04-1513-93/+101
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* introduce side information for AVPacketKostya Shishkov2011-04-153-13/+119
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* libavcodec: Bump micro after adding the dtx AVOptionsMartin Storsjö2011-04-141-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrwbenc: Allow enabling DTX via private AVOptionsMartin Storsjö2011-04-142-2/+26
| | | | | | | 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>
* libopencore-amr, libvo-amrwbenc: Only check the bitrate when changedMartin Storsjö2011-04-142-6/+16
| | | | | | | | | | | Also rename the incorrectly named enc_bitrate to enc_mode, use the enc_bitrate variable for storing the last chosen bitrate. This avoids continuous warning log messages if not using an exactly matching bitrate, while still allowing changing bitrate at any point. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrwbenc: Find the closest matching bitrateMartin Storsjö2011-04-142-33/+40
| | | | | | | Dynamically print the supported bitrates from the local table, instead of using a hardcoded log message. Signed-off-by: Martin Storsjö <martin@martin.st>
* libvo-*: Fix up the long codec namesMartin Storsjö2011-04-132-2/+2
| | | | | | | | | | Include VisualOn to clarify the codec name, but remove the actual library name from the user-friendly description. Also mention Android, to clarify which VisualOn implementation this refers to, since they do sell other variants of the same code, too. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Mark AVCodec->priv_class constMartin Storsjö2011-04-131-1/+1
| | | | | | | | | This avoids warnings of this kind, everywhere priv_class is initialized: warning: initialization discards qualifiers from pointer target type Signed-off-by: Martin Storsjö <martin@martin.st>
* libvo-aacenc: Only produce extradata if the global header flag is setMartin Storsjö2011-04-131-8/+10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavc: postpone removal of request_channelsAnton Khirnov2011-04-131-1/+1
| | | | No decoder uses the supposed replacement, request_channel_layout, yet.
* lavc: postpone removal of audioconvert and sample_fmt wrappersAnton Khirnov2011-04-131-2/+2
| | | | Those were moved to libavutil only recently.
* libopencore-amr: Cosmetics: Rewrap and alignMartin Storsjö2011-04-131-14/+10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrbwenc: Rename variables and functionsMartin Storsjö2011-04-132-22/+22
| | | | | | Avoid camelCase names for functions and variables. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Convert commented out debug logging into av_dlogMartin Storsjö2011-04-131-6/+6
| | | | | | Also add the avctx as logging context. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Remove an unused state variableMartin Storsjö2011-04-131-3/+0
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libvo-amrwbenc: Don't explicitly store bitrate modes in the bitrate tableMartin Storsjö2011-04-131-16/+4
| | | | | | The bitrate modes are equal to the array indices. Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Remove a useless local variableMartin Storsjö2011-04-131-7/+5
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrwbenc: Make the bitrate/mode mapping array static ↵Martin Storsjö2011-04-132-2/+2
| | | | | | const Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr, libvo-amrwbenc: Return proper error codes in most placesMartin Storsjö2011-04-132-12/+12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Don't print carriage returns in log messagesMartin Storsjö2011-04-131-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Remove an old workaround for libamr header weirdnessMartin Storsjö2011-04-131-5/+0
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Make the opaque encoder pointer a void*Martin Storsjö2011-04-131-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libopencore-amr: Remove unused code fragmentsMartin Storsjö2011-04-131-11/+0
| | | | | | | This parts are heritage from the encoder part from the old libamr code removed in SVN rev 19365. Signed-off-by: Martin Storsjö <martin@martin.st>
* Check for successful h263 init in msmpeg4 initAlberto Delmas2011-04-121-1/+2
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* libvo-*: Don't use deprecated sample format names and enum namesMartin Storsjö2011-04-122-2/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Use "const enum AVSampleFormat[]" in AVCodec initializationMartin Storsjö2011-04-125-5/+5
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Fix the conversion of AV_SAMPLE_FMT_FLT and _DBL to AV_SAMPLE_FMT_S32.Alex Converse2011-04-111-2/+2
| | | | | | | (1<<31) is undefined and seems to be evaluated by gcc to -2^31 when these formulae require 2^31. These conversions still need fate tests.
* Convert some undefined 1<<31 shifts into 1U<<31.Alex Converse2011-04-115-12/+12
| | | | | | | | | | | According to ISO 9899:1999 S 6.5.7/4: The result of E1 << E2 is E1 left-shifted E2 bit positions; vacated bits are filled with zeros. If E1 has an unsigned type, the value of the result is E1× 2^E2, reduced modulo one more than the maximum value representable in the result type. If E1 has a signed type and nonnegative value, and E1× 2^E2 is representable in the result type, then that is the resulting value; otherwise, the behavior is undefined.
* Add support for AMR-WB encoding via libvo-amrwbencMartin Storsjö2011-04-114-1/+130
| | | | | | The wrapper code is based on the libamr wrapper removed in SVN rev 19365. Signed-off-by: Martin Storsjö <martin@martin.st>
OpenPOWER on IntegriCloud