summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lavf: Support unix socketsLuca Barbato2013-08-055-0/+182
|
* libx264: add shortcut for the bluray compatibility optionLuca Barbato2013-08-052-0/+9
| | | | As for intra-refresh it is just a commodity.
* mpegts: Make discard_pid() faster for single-program streamsBen Avison2013-08-051-0/+11
| | | | | | | | | | | | | When a stream contains a single program, there's no point in doing a PID -> program lookup. Normally the one and only program isn't disabled, so no packets should be discarded. Before After Mean StdDev Mean StdDev Change discard_pid() 73.8 9.4 20.2 1.5 +264.8% Overall 2300.8 28.0 2253.1 20.6 +2.1% Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegts: Remove one memcpy per packetBen Avison2013-08-051-13/+28
| | | | | | | | | | | | | | This was being performed to ensure that a complete packet was held in contiguous memory, prior to parsing the packet. However, the source buffer is typically large enough that the packet was already contiguous, so it is beneficial to return the packet by reference in most cases. Before After Mean StdDev Mean StdDev Change memcpy 720.7 32.7 649.8 25.1 +10.9% Overall 2372.7 46.1 2291.7 21.8 +3.5% Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: Add an internal function for reading without copyingBen Avison2013-08-052-0/+29
| | | | | | | | As long as there is enough contiguous data in the avio buffer, just return a pointer to it instead of copying it to the caller provided buffer. Signed-off-by: Martin Storsjö <martin@martin.st>
* build: Add missing img2.o dependency to apetag.oDiego Biurrun2013-08-051-1/+1
|
* ismindex: Replace mkdir ifdeffery by os_support.h #includeDiego Biurrun2013-08-051-5/+1
| | | | os_support.h contains more precise workarounds for non-POSIX mkdir().
* vdpau: deprecate bitstream buffers within the hardware contextRémi Denis-Courmont2013-08-054-1/+25
| | | | | | | | The bitstream buffers are now private and freed by libavcodec. For backward compatibility, the hold bitstream buffer pointer is left NULL (applications were supposed to av_freep() it). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vdpau: store picture data in picture's rather than codec's contextRémi Denis-Courmont2013-08-057-50/+94
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vdpau: deprecate VDPAU codec capabilityRémi Denis-Courmont2013-08-054-2/+12
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vdpau: deprecate old codec-specific pixel formatsRémi Denis-Courmont2013-08-055-1/+17
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vdpau: remove old-style decodersRémi Denis-Courmont2013-08-0513-545/+6
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avconv: support -t as an input option.Anton Khirnov2013-08-055-3/+19
| | | | It limits the duration of the data read from a given input.
* avconv: make input -ss accurate when transcodingAnton Khirnov2013-08-055-18/+66
| | | | | Insert (a)trim filters on the corresponding inputs, so the extra frames are decoded and discarded.
* avconv: distinguish between -ss 0 and -ss not being usedAnton Khirnov2013-08-053-9/+13
| | | | | Using -ss 0 to drop frames with negative timestamps is a perfectly valid use case.
* avconv: insert extra filters in the same way for both graph inputs and outputsAnton Khirnov2013-08-051-15/+12
| | | | | This will allow using the same code when one filter can be inserted both on input and output.
* lavfi/fifo: fix flushing when using request_samplesAnton Khirnov2013-08-051-2/+9
| | | | | If any samples are still buffered when request_frame returns EOF, they won't be returned currently.
* avconv: fix usage of deprecated lavfi APIAnton Khirnov2013-08-051-1/+1
|
* avserver: do not use a static string as a default for a string optionAnton Khirnov2013-08-041-1/+3
| | | | | | Fixes an invalid free. Bug-id: 448
* mxfenc: switch to av_reallocp_array() and check allocation errorsAlexandra Khirnova2013-08-041-18/+29
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* aac: Forward errors properly in aac_decode_frame_intLuca Barbato2013-08-041-17/+17
| | | | Incidentally also remove a warning.
* aac: Check init_get_bits return valueLuca Barbato2013-08-041-3/+6
| | | | | | Some code paths can call it with invalid length. CC: libav-stable@libav.org
* avconv: improve some variable namesAnton Khirnov2013-08-041-4/+4
| | | | | | | 'filter' is too generic, since the functions in question deal with several filters. Also add const qualifiers to those variables.
* lavfi: add const to the AVFilter parameter of avfilter_graph_create_filter()Anton Khirnov2013-08-042-2/+2
| | | | This function should never modify the filter.
* configure: Check for GCC diagnostic pragma support inside of functionsDiego Biurrun2013-08-021-2/+1
| | | | | The actual usage of the pragma is within functions and older versions of gcc only support the pragma outside of functions.
* avcodec: Add output_picture_number to AVCodecParserContextYusuke Nakamura2013-08-025-4/+14
| | | | | | Set output_picture_number in H.264 parser. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Disable deprecation warnings for cases where a replacement is availableDiego Biurrun2013-08-0220-1/+98
|
* build: Add _Pragma macro to disable deprecated declaration warningsDiego Biurrun2013-08-022-0/+14
|
* doc/print_options: Move options headers to a saner placeDiego Biurrun2013-08-021-4/+2
|
* Give less generic names to global library option arraysDiego Biurrun2013-08-029-14/+14
|
* rtmp: Add seek supportGavriloaie Eugen-Andrei2013-08-023-1/+57
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* h264_sei: Return meaningful valuesVittorio Giovara2013-08-021-11/+16
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h264_sei: K&R formatting cosmeticsVittorio Giovara2013-08-011-58/+78
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h264_sei: Remove pointless old commentDiego Biurrun2013-08-011-1/+1
|
* twinvq: Add proper twinvq prefixes to identifiersDiego Biurrun2013-08-011-94/+95
|
* flvdec: Eliminate completely silly gotoDiego Biurrun2013-08-011-11/+7
|
* flvdec: K&R formatting cosmeticsDiego Biurrun2013-08-011-323/+386
|
* flvdec: Fix = vs. == typo in sample rate checkDiego Biurrun2013-08-011-1/+1
|
* rtsp: Simplify code for forming the remote peer urlMartin Storsjö2013-08-011-8/+5
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avframe: have av_frame_get_side_data take const AVFrame*Vittorio Giovara2013-08-012-2/+2
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rtpproto: Allow specifying a separate rtcp port in ff_rtp_set_remote_urlMartin Storsjö2013-08-011-2/+11
| | | | | | | | | | A separate rtcp port can already be set when opening the rtp protocol normally, but when doing port setup as in RTSP (where we first need to open the local ports and pass them to the peer, and only then receive the remote peer port numbers), we didn't check the same url parameter as in the normal open routine. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpproto: Check the size before reading buf[1]Martin Storsjö2013-08-011-0/+3
| | | | | | | | I doubt that anyone ever would try to send a 1 byte packet via the RTP protocol, but check just in case - it shouldn't crash at least. Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: add -n option to immediately exit when output files already existVittorio Giovara2013-07-313-1/+13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: Call exit_program instead of exit in avconv_opt as wellMartin Storsjö2013-07-311-70/+70
| | | | | | This seems to have been missed in 636ced8e1dc. Signed-off-by: Martin Storsjö <martin@martin.st>
* avopt: Check whether the object actually has got an AVClassMartin Storsjö2013-07-311-0/+3
| | | | | | | | | | AVIOContext has got an av_class member that only gets set if opening the context using avio_open2, but not if allocating a custom IO context. A caller that wants to read AVOptions from an AVIOContext (recursively using AV_OPT_SEARCH_CHILDREN) may not know if the AVIOContext actually has got a class set or not. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpproto: Move rtpproto specific function declarations to a separate headerMartin Storsjö2013-07-316-5/+36
| | | | | | | Mixing these with the rtp depacketizer functions in rtpdec.h is no good. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpproto: Simplify the rtp_read function by looping over the fdsMartin Storsjö2013-07-311-19/+6
| | | | | | | This avoids having duplicate code where only the fd parameter differs. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpproto: Remove a misplaced commentMartin Storsjö2013-07-311-1/+0
| | | | | | | The fdset is a pollfd array nowadays, and it is already populated at this point. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpproto: Support nonblocking readsMartin Storsjö2013-07-311-1/+4
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Simplify code by introducing a macro for rescaling NTP timestampsMartin Storsjö2013-07-312-2/+4
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
OpenPOWER on IntegriCloud