summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* wmall: use AVFrame API properlyHendrik Leppkes2013-08-11
| | | | | | This fixes a bug with non-refcounted callers resulting in invalid memory access. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rtmp: Do not misuse memcmpLuca Barbato2013-08-11
| | | | CC: libav-stable@libav.org
* doc: Clarify the avconv section about -reMartin Storsjö2013-08-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* doc: Add an example on publishing over RTMPMartin Storsjö2013-08-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* doc: Add librtmp to the section header for the librtmp specific detailsMartin Storsjö2013-08-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* doc: Explain that the default RTMP user agent is different when publishingMartin Storsjö2013-08-10
| | | | | | | | | The fact that a different user agent is used is cruicial for getting publishing authentication working. (When using librtmp, this other user agent has to be specified manually, but that's not needed with the libavformat internal RTMP support.) Signed-off-by: Martin Storsjö <martin@martin.st>
* doc: Extend the rtmp example to include how to pass username/passwordMartin Storsjö2013-08-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: Detect and warn if the user tries to pass librtmp style parametersMartin Storsjö2013-08-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtmp: rename data_size to sizeLuca Barbato2013-08-10
|
* rtmp: Use PRId64 when needed.Luca Barbato2013-08-10
|
* lavc: Add refcounted api to AVPacketLuca Barbato2013-08-10
| | | | Provide a clean way to manipulate packets.
* h264: check one context_init() allocationVittorio Giovara2013-08-10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264: use explicit variable names for *_field_flagVittorio Giovara2013-08-10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264: return meaningful valuesVittorio Giovara2013-08-10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libavutil: Make avpriv_open a library-internal function on msvcrtMartin Storsjö2013-08-10
| | | | | | | | | | | | | | | Add one copy of the function into each of the libraries, similarly to what we do for log2_tab. When using static libs, only one copy of the file_open.o object file gets included, while when using shared libraries, each of them get a copy of its own. This fixes DLL builds with a statically linked C runtime, where each DLL effectively has got its own instance of the C runtime, where file descriptors can't be shared across runtimes. On systems not using msvcrt, the function is not duplicated. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavutil: Move avpriv_open to a new file, file_open.cMartin Storsjö2013-08-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* bktr: Changed a missed occurrance of open into avpriv_openMartin Storsjö2013-08-10
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavutil: Enable the MSVC DLL symbol loading workaround in shared builds as ↵Martin Storsjö2013-08-10
| | | | | | | | | | | | | | | well This used to only be necessary in static builds (when using the dynamically linked C runtime), since the _imp prefixed symbols do exist when linking to the actual DLL. When building testprogs, however, the current library (e.g. libavutil for some of the testprogs) is linked statically. This fixes make fate on DLL builds when using the dynamically linked C runtime. Signed-off-by: Martin Storsjö <martin@martin.st>
* ff_socket: put out-of-line and fallback to fcntl() for close-on-execRémi Denis-Courmont2013-08-09
| | | | | | | This supports non-Linux systems (SOCK_CLOEXEC is non-standard) and older Linux kernels to the extent possible. Signed-off-by: Martin Storsjö <martin@martin.st>
* FATE: add a TAK testAnton Khirnov2013-08-08
|
* file: Move win32 utf8->wchar open wrapper to libavutilMartin Storsjö2013-08-08
| | | | | | | | | | | | | When libavformat was changed to use the new avpriv_open function in 51eb213d001, this silently bypassed the existing wrapper for win32. Move the win32 wrapper into libavutil/file.c to make sure it gets called everywhere (not just in the libavformat case). This makes sure that non-ascii file names gets opened properly (where file names internally are stored as utf8, but they get converted to wchar_t and opened with _wsopen). Signed-off-by: Martin Storsjö <martin@martin.st>
* arm: Add assembly version of h264_find_start_code_candidateBen Avison2013-08-08
| | | | | | | | | | | | | | Before After Mean StdDev Mean StdDev Change This function 508.8 23.4 185.4 9.0 +174.4% Overall 3068.5 31.7 2752.1 29.4 +11.5% In combination with the preceding patch: Before After Mean StdDev Mean StdDev Change Overall 2925.6 26.2 2752.1 29.4 +6.3% Signed-off-by: Martin Storsjö <martin@martin.st>
* h264dsp: Factorize code into a new function, h264_find_start_code_candidateBen Avison2013-08-08
| | | | | | | | | | | | | | | This performs the start code search which was previously part of h264_find_frame_end() - the most CPU intensive part of the function. By itself, this results in a performance regression: Before After Mean StdDev Mean StdDev Change Overall time 2925.6 26.2 3068.5 31.7 -4.7% but this can more than be made up for by platform-optimised implementations of the function. Signed-off-by: Martin Storsjö <martin@martin.st>
* h264_parser: Initialize the h264dsp context in the parser as wellBen Avison2013-08-08
| | | | | | | | | | | | | | | Each AVStream struct for an H.264 elementary stream actually has two copies of the H264DSPContext struct (and in fact all the other members of H264Context as well): ((H264Context *) ((AVStream *)st)->codec->priv_data)->h264dsp ((H264Context *) ((AVStream *)st)->parser->priv_data)->h264dsp but only the first of these was actually being initialised. This prevented the addition of platform-specific implementations of parser-related functions. Signed-off-by: Martin Storsjö <martin@martin.st>
* Voxware MetaSound decoderKostya Shishkov2013-08-08
|
* avio: Add const qualifiers to ffio_read_indirectBen Avison2013-08-08
| | | | | | | This provides at least some protection against potential accidental corruption of AVIO buffer workspace. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavutil: Don't use fcntl if the function does not existDerek Buitenhuis2013-08-08
| | | | | | | Not all platforms have the function. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* cmdutils: Only do the windows-specific commandline parsing on _WIN32Diogo Franco2013-08-08
| | | | | | | | | | | | | Fixes commandline parsing on Cygwin (on 64 bit, and on very recent 32 bit), where the configure check does find the CommandLineToArgvW function (since it exists in the link libraries and in the headers), but whose GetCommandLineW() only returns the application's path. (This is due to a cygwin internal optimization, see http://cygwin.com/ml/cygwin/2013-07/msg00538.html for details.) Arguments are only given through main's argc/argv, and they're already UTF-8. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: use avpriv_open()Rémi Denis-Courmont2013-08-07
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libavdevice: use avpriv_open()Rémi Denis-Courmont2013-08-07
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libavcodec: use avpriv_open()Rémi Denis-Courmont2013-08-07
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libavutil: use avpriv_open()Rémi Denis-Courmont2013-08-07
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libavutil: add avpriv_open() to open files with close-on-exec flagRémi Denis-Courmont2013-08-07
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegvideo_enc: drop outdated copy_picture_attributes() in favour of a modern ↵Vittorio Giovara2013-08-07
| | | | | | av_frame_copy_props() Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rtsp: Don't include the listen flag in the SDP demuxer flagsMartin Storsjö2013-08-07
| | | | | | | It's only relevant for the RTSP demuxer. Similarly, the custom_io flag is only present in the SDP demuxer options list. Signed-off-by: Martin Storsjö <martin@martin.st>
* deprecate AV_CODEC_ID_VOXWARE and introduce AV_CODEC_ID_METASOUND insteadKostya Shishkov2013-08-07
| | | | | Voxware is the name of company, it has produced several audio codecs e.g. MetaVoice family and MetaSound.
* rtpenc_chain: Check for errors from ffio_fdopen and ffio_open_dyn_packet_bufMartin Storsjö2013-08-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtspenc: Check the return value from ffio_open_dyn_packet_bufMartin Storsjö2013-08-07
| | | | | | | Also clear the AVIOContext handle after freeing, to avoid possible dangling pointers if the later call fails. Signed-off-by: Martin Storsjö <martin@martin.st>
* pcm_bluray: Return AVERROR_INVALIDDATA instead of -1 on header errorsChristian Schmidt2013-08-06
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* configure: Properly split dv1394 indev dependenciesDiego Biurrun2013-08-06
|
* configure: Properly set zlib dependencies for all componentsDiego Biurrun2013-08-06
|
* configure: The W64 demuxer should select the WAV demuxer, not depend on itDiego Biurrun2013-08-06
|
* configure: Properly split avserver component and system dependenciesDiego Biurrun2013-08-06
|
* riff: Move demuxing code to a separate file.Diego Biurrun2013-08-06
|
* riff: Move muxing code to a separate fileDiego Biurrun2013-08-06
|
* avformat/dv: K&R formatting cosmeticsDiego Biurrun2013-08-06
|
* tcp: Use a different log message and level if there's more addresses to tryMartin Storsjö2013-08-06
| | | | | | | | | This lowers the level of warnings printed if trying to connect to a host name that provides both v6 and v4 addresses but the service only is available on the v4 address (often occurring for 'localhost', with servers that aren't v6-aware). Signed-off-by: Martin Storsjö <martin@martin.st>
* unix: Convert from AVERROR to errno range before comparing error codesMartin Storsjö2013-08-06
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec/options: Drop deprecation warning suppression macrosDiego Biurrun2013-08-06
| | | | | | The options table is used in tools built by the host compiler and the deprecation macros pull in bits that are not safe to use if host and target compiler differ.
* riff.h: Remove stray extern declaration for non-existing symbolDiego Biurrun2013-08-05
|