summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* segment: Add an option for omitting the first header and final trailerMartin Storsjö2012-10-04
| | | | | | | This allows writing totally bare segments, without any header/trailer included anywhere. Signed-off-by: Martin Storsjö <martin@martin.st>
* segment: Flush buffered data before finishing a segmentMartin Storsjö2012-10-04
| | | | | | | This makes sure any buffered data is written to the segment, for muxers that buffer up data internally (e.g. fragmented mp4). Signed-off-by: Martin Storsjö <martin@martin.st>
* segment: Set the resend_headers flag for each segmentMartin Storsjö2012-10-04
| | | | | | | | | This makes sure new inline headers are emitted when the next packet is written. This allows segmenting mpegts without calling write_header/write_trailer (nor freeing/reiniting the muxer) for each segment. Signed-off-by: Martin Storsjö <martin@martin.st>
* segment: Add an option for disabling writing of a header/trailer to each segmentMartin Storsjö2012-10-04
| | | | | | | | Some segmented formats (such as fragmented mp4) are "bare", as in, the segment files do not have the same headers/trailers as full normal files of that format have. Signed-off-by: Martin Storsjö <martin@martin.st>
* segment: Free and reinit the muxer before calling avformat_write_headerMartin Storsjö2012-10-04
| | | | | | | | | | | | This makes sure the muxers are set up in the way they expect with no data left around from the previous run (which could cause various issues including memory leaks, depending on the chaine muxer). This fixes memory leaks with the mpegts and flv muxers. It also makes the usage of chained muxers correct. Signed-off-by: Martin Storsjö <martin@martin.st>
* segment: Use the public av_write_header/av_write_trailer functionsMartin Storsjö2012-10-04
| | | | | | | | | With this change, the segmenter muxer doesn't rely on anything not available/supported to libavformat external users, making the segmenter muxer do things just like a normal segmenter application using libavformat would do. Signed-off-by: Martin Storsjö <martin@martin.st>
* segment: Properly create new AVStreams for the chained muxerMartin Storsjö2012-10-04
| | | | | | | | | Before, the chained muxer reused the AVStreams array from the outer muxer, which made it impossible to use the proper public functions (such as av_write_frame) when calling the chained muxer. Signed-off-by: Martin Storsjö <martin@martin.st>
* segment: Add a missing spaceMartin Storsjö2012-10-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vf_overlay: properly sync inputs.Anton Khirnov2012-10-04
| | | | | Right now it incorrectly assumes that the frames are sent in the proper order, which worked with old ffmpeg and avconv versions by accident.
* vf_overlay: get rid of pointless messing with timebase.Anton Khirnov2012-10-04
| | | | | Output frames correspond 1:1 to input frames on the main input. So use the main input timebase for output.
* samplefmt: make av_samples_alloc() initialize the data to silence.Anton Khirnov2012-10-04
| | | | Right now the buffer is zeroed, which does not represent silence for U8(P).
* libspeexdec: handle NULL return value from speex_packet_to_header()Justin Ruggles2012-10-03
| | | | This will happen when the extradata is not a valid Speex header.
* h264probe: Don't error out on bits that no longer are reservedMichael Niedermayer2012-10-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegvideo: set extended_data in ff_update_duplicate_context()Janne Grunau2012-10-03
| | | | | | AVFrame.extended_data has to reset to the AVFrame.data of the current thread context after copying the frame contents. Fixes crashes with frame-threading after 2bc0de38584.
* libspeexdec: properly handle DTX for multiple frames-per-packetJustin Ruggles2012-10-03
|
* libspeexdec: move the SpeexHeader from LibSpeexContext to where it is usedJustin Ruggles2012-10-03
|
* libspeexdec: simplify setting of frame_sizeJustin Ruggles2012-10-03
|
* libspeexdec: set channel_layoutJustin Ruggles2012-10-03
|
* libspeexdec: If the channel count is not valid, decode as stereo.Justin Ruggles2012-10-03
| | | | | When initialized as stereo, libspeex can decode either mono or stereo packets and will output stereo.
* libspeexdec: improve setting of Speex mode and sample rateJustin Ruggles2012-10-03
| | | | | If there is no extradata and the sample rate given by the user is not valid, decode as ultra-wideband.
* libspeex: Add a private option for enabling VADDmitry Samonenko2012-10-03
| | | | | | | Speex detects non-speech periods and encodes them with just enough bits to reproduce the background noise, aka ``comfort noise generation''. Signed-off-by: Martin Storsjö <martin@martin.st>
* xtea: Test inplace decryptionMichael Niedermayer2012-10-03
| | | | | | Based on test code by: Giorgio Vazzana <mywing81@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* xtea: Fix CBC decryption when src==dstMichael Niedermayer2012-10-03
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* xtea: Factorize testing into a separate functionMartin Storsjö2012-10-03
| | | | | | Based on a patch by Michael Niedermayer. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Refactor HAVE_ options available on the command lineDiego Biurrun2012-10-03
|
* avconv/avprobe: Add missing 'void' to exit_program() definitionDiego Biurrun2012-10-03
|
* Allow use of strncpy()Mans Rullgard2012-10-03
| | | | | | | | There are cases where strncpy() does exactly what is required. A blanket ban forces more convoluted solutions to be used in those cases and has been a cause of bugs. Signed-off-by: Mans Rullgard <mans@mansr.com>
* blowfish: Add more testsMartin Storsjö2012-10-03
| | | | | | Test inplace ECB, normal CBC and inplace CBC encryption/decryption. Signed-off-by: Martin Storsjö <martin@martin.st>
* blowfish: Fix CBC decryption with dst==srcMartin Storsjö2012-10-03
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* blowfish: Factorize testing into a separate functionMartin Storsjö2012-10-03
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ARM: use numeric ID for Tag_ABI_align_preservedMans Rullgard2012-10-03
| | | | | | Some old assemblers still in use do not support named tags. Signed-off-by: Mans Rullgard <mans@mansr.com>
* segment: Pass the interrupt callback on to the chained AVFormatContext, tooMartin Storsjö2012-10-02
| | | | | | | | This might not be needed at the moment, but it's good practice to pass it to all chained AVFormatContexts, if it would happen to be used there at a later point. Signed-off-by: Martin Storsjö <martin@martin.st>
* ARM: bswap: drop armcc version of av_bswap16()Mans Rullgard2012-10-02
| | | | | | | This function causes several versions of armcc to miscompile code, and the performance impact is small. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: set Tag_ABI_align_preserved in all asm filesMans Rullgard2012-10-02
| | | | | | | | All our ARM asm preserves alignment so setting this attribute in a common location is simpler. This removes numerous warnings when linking with armcc. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: fix Thumb PIC on AppleMans Rullgard2012-10-02
| | | | | | | LDR with register offset and PC as base register is not available in the Thumb instruction set so the addition must be done separately. Signed-off-by: Mans Rullgard <mans@mansr.com>
* nut: add do {} while (0) to GET_VLuca Barbato2012-10-02
| | | | Make it consistent with the other function-like macros.
* tiffenc: Check av_malloc() results.Alex Converse2012-10-01
|
* tiffenc: Simplify pixel format setup using AVPixFmtDescriptor.Alex Converse2012-10-01
|
* Use atexit() instead of defining a custom exit_program() interface.Diego Elio Pettenò2012-10-01
|
* msvc: Fix detection of VFW & Avisynth required libsDerek Buitenhuis2012-10-01
| | | | | | It should be vfw32.lib with MSVC. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avformat: refactor avformat_write_headerLuca Barbato2012-10-01
| | | | Split away option settings, sanity checks and general setup.
* avformat: refactor avformat_write_headerLuca Barbato2012-10-01
| | | | Mostly cosmetic changes adding some intermediate to shorten the lines.
* avformat: split muxing functions from util.cLuca Barbato2012-10-01
|
* adpcmdec: set AVCodec.sample_fmtsJustin Ruggles2012-10-01
|
* twinvq: use planar sample formatJustin Ruggles2012-10-01
|
* ralf: use planar sample formatJustin Ruggles2012-10-01
|
* mpc7/8: use planar sample formatJustin Ruggles2012-10-01
|
* iac/imc: use planar sample formatJustin Ruggles2012-10-01
|
* dcadec: use float planar sample formatJustin Ruggles2012-10-01
|
* cook: use planar sample formatJustin Ruggles2012-10-01
|