Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-10-04x86: get_cpu_flags: add necessary ifdefs around function bodyDiego Biurrun
ff_get_cpu_flags_x86() requires cpuid(), which is conditionally defined elsewhere in the file. Surrounding the function body with ifdefs allows building even when cpuid is not defined. An empty cpuflags mask is returned in this case.
2012-10-04x86: Drop CPU detection intrinsicsDiego Biurrun
Now that there is CPU detection in YASM, there will always be one of inline or external assembly enabled, which obviates the need to fall back on CPU detection through compiler intrinsics.
2012-10-04x86: Add YASM implementations of cpuid and xgetbv from x264Diego Biurrun
This allows detecting CPU features with builds that have neither gcc inline assembly nor the right compiler intrinsics enabled.
2012-10-04configure: add --enable-lto optionMans Rullgard
This works with gcc. Other compilers might need to have a flag mapping added. Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-04x86: cpu: Break out test for cpuid capabilities into separate functionDiego Biurrun
2012-10-04x86: ff_get_cpu_flags_x86(): Avoid a pointless variable indirectionDiego Biurrun
2012-10-04build: Factor out mpegaudio dependencies to CONFIG_MPEGAUDIODiego Biurrun
A new hidden config variable is added for the codecs that depend on the mpegaudio parts.
2012-10-04ffplay: autodetect realtime streams and enable infbufMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-04ffplay: add a 3rd state to infbuf for autodetectionMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-04segment: Add comments about calls that only are relevant for some muxersMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-04mpeg2enc: support and use frame_rate_ext when neededMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-04Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: vf_overlay: properly sync inputs. Conflicts: libavfilter/vf_overlay.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-04Merge commit 'ab35ec29a4071871934856c00da7d6ebcc0c095b'Michael Niedermayer
* commit 'ab35ec29a4071871934856c00da7d6ebcc0c095b': vf_overlay: get rid of pointless messing with timebase. samplefmt: make av_samples_alloc() initialize the data to silence. libspeexdec: handle NULL return value from speex_packet_to_header() h264probe: Don't error out on bits that no longer are reserved mpegvideo: set extended_data in ff_update_duplicate_context() libspeexdec: properly handle DTX for multiple frames-per-packet libspeexdec: move the SpeexHeader from LibSpeexContext to where it is used libspeexdec: simplify setting of frame_size libspeexdec: set channel_layout Conflicts: libavfilter/vf_overlay.c libavformat/h264dec.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-04segment: Flush buffered data before finishing a segmentMartin Storsjö
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>
2012-10-04segment: Set the resend_headers flag for each segmentMartin Storsjö
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>
2012-10-04segment: Add an option for disabling writing of a header/trailer to each segmentMartin Storsjö
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>
2012-10-04segment: Free and reinit the muxer before calling avformat_write_headerMartin Storsjö
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>
2012-10-04segment: Use the public av_write_header/av_write_trailer functionsMartin Storsjö
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>
2012-10-04segment: Properly create new AVStreams for the chained muxerMartin Storsjö
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>
2012-10-04segment: Add an option for omitting the first header and final trailerMartin Storsjö
This allows writing totally bare segments, without any header/trailer included anywhere. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-04segment: Add a missing spaceMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-04Merge commit '29abb04e73b0580ebe38703cadb988d26df6a76a'Michael Niedermayer
* commit '29abb04e73b0580ebe38703cadb988d26df6a76a': libspeexdec: If the channel count is not valid, decode as stereo. libspeexdec: improve setting of Speex mode and sample rate libspeex: Add a private option for enabling VAD xtea: Test inplace decryption xtea: Fix CBC decryption when src==dst xtea: Factorize testing into a separate function configure: Refactor HAVE_ options available on the command line avconv/avprobe: Add missing 'void' to exit_program() definition Allow use of strncpy() blowfish: Add more tests blowfish: Fix CBC decryption with dst==src blowfish: Factorize testing into a separate function Conflicts: configure libavcodec/libspeexdec.c libavutil/xtea.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-04vf_overlay: properly sync inputs.Anton Khirnov
Right now it incorrectly assumes that the frames are sent in the proper order, which worked with old ffmpeg and avconv versions by accident.
2012-10-04vf_overlay: get rid of pointless messing with timebase.Anton Khirnov
Output frames correspond 1:1 to input frames on the main input. So use the main input timebase for output.
2012-10-04samplefmt: make av_samples_alloc() initialize the data to silence.Anton Khirnov
Right now the buffer is zeroed, which does not represent silence for U8(P).
2012-10-04afq: sanity assert on remaining_samplesMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-04afq: update remaining samples variable.Michael Niedermayer
Fixes Ticket1785 (opusenc used this variable) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-04movenc: force video timebase to be 0.1ms precisse at least.Michael Niedermayer
The timebases before where only guranteed to be 1/fps precisse and could cause AV sync errors on low fps Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-04libspeexdec: handle NULL return value from speex_packet_to_header()Justin Ruggles
This will happen when the extradata is not a valid Speex header.
2012-10-04h264probe: Don't error out on bits that no longer are reservedMichael Niedermayer
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-04mpegvideo: set extended_data in ff_update_duplicate_context()Janne Grunau
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.
2012-10-04libspeexdec: If the channel count is not valid, decode as stereo.Justin Ruggles
When initialized as stereo, libspeex can decode either mono or stereo packets and will output stereo.
2012-10-04libspeexdec: properly handle DTX for multiple frames-per-packetJustin Ruggles
2012-10-04libspeexdec: move the SpeexHeader from LibSpeexContext to where it is usedJustin Ruggles
2012-10-04libspeexdec: simplify setting of frame_sizeJustin Ruggles
2012-10-04libspeexdec: set channel_layoutJustin Ruggles
2012-10-04libspeexdec: improve setting of Speex mode and sample rateJustin Ruggles
If there is no extradata and the sample rate given by the user is not valid, decode as ultra-wideband.
2012-10-03ff_choose_timebase: only try factors upto 14Michael Niedermayer
otherwise a unexpected timebase could be choosen that is one that is thousand times more precisse than requested which can have sideeffects. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-03mux/nut: factorize ff_choose_timebase() out of nutMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-03libspeex: Add a private option for enabling VADDmitry Samonenko
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>
2012-10-03tiffenc: remove unused variableMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-03xtea: Test inplace decryptionMichael Niedermayer
Based on test code by: Giorgio Vazzana <mywing81@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-03xtea: Fix CBC decryption when src==dstMichael Niedermayer
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-03xtea: Factorize testing into a separate functionMartin Storsjö
Based on a patch by Michael Niedermayer. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-03configure: Refactor HAVE_ options available on the command lineDiego Biurrun
2012-10-03avconv/avprobe: Add missing 'void' to exit_program() definitionDiego Biurrun
2012-10-03framecrcenc: print flags and side data elementsMichael Niedermayer
The new fields are only printed when they differ from their defaults this way only few fate refs change Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-03parser: fix large overreadsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-03lavc/h264: move ff_init_cabac_states() from decode_slice() to ↵Clément Bœsch
ff_h264_decode_init(). This fixes one of the potential races spotted by Helgrind.
2012-10-03Allow use of strncpy()Mans Rullgard
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>