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-03-17x11grab: fix a memory leak exposed by valgrindAntonio Ospite
When using "-f x11grab -i :0.0" valgrind reports a definitely lost memory block with this message: ==31544== 5 bytes in 1 blocks are definitely lost in loss record 1 of 2 ==31544== at 0x4026E68: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==31544== by 0x4026F17: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==31544== by 0x60D399A: av_malloc (in /usr/lib/x86_64-linux-gnu/libavutil.so.51.22.1) ==31544== by 0x60D3A70: av_strdup (in /usr/lib/x86_64-linux-gnu/libavutil.so.51.22.1) ==31544== by 0x4A2BE58: ??? (in /usr/lib/x86_64-linux-gnu/libavdevice.so.53.2.0) ==31544== by 0x506D29E: avformat_open_input (in /usr/lib/x86_64-linux-gnu/libavformat.so.53.21.0) ==31544== by 0x400A80: main (in /home/ao2/WIP/am7xxx-play/tests/a.out) The 5 bytes lost are the ones from param = av_strdup(":0.0"), so let's free param in the exit path. Also check the av_strdup() return value. Note: calling av_free(param) even when av_strdup() fails and param is NULL is OK and keeps the code simpler without adding another label to skip av_free(). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2012-03-05libcdio: add a forgotten AVClass to the private context.Anton Khirnov
2012-02-28doxygen: Remove documentation for non-existing parameters; misc small fixes.Diego Biurrun
2012-02-104xm, timefilter: K&R formatting cosmeticsYordan Makariev
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-01-28cosmetics: Remove extra newlines at EOFAlex Converse
2012-01-27lavf: remove AVFormatParameters from AVFormatContext.read_header signatureAnton Khirnov
2012-01-24lavd: remove deprecated v4l grab device.Anton Khirnov
2012-01-10v4l2: use C99 struct initializerLuca Barbato
Remove some unneeded memsets.
2012-01-10v4l2: poll the file descriptorLuca Barbato
Instead of busy waiting use poll();
2012-01-10v4l2: support compressed formatsLuca Barbato
Let pass the codec name to -pixel_format and introduce -input_format.
2012-01-08cosmetics: drop some pointless parenthesesDiego Biurrun
2012-01-05v4l2: use V4L2_FMT_FLAG_EMULATED only if it is definedJanne Grunau
V4L2_FMT_FLAG_EMULATED was added in 2.6.32.
2012-01-04v4l2: list available formatsLuca Barbato
Make use of the experimental framesize enumeration ioctl if available.
2012-01-04v4l2: set the proper codec_tagLuca Barbato
Unbreak direct streamcopy.
2012-01-04v4l2: refactor device_openLuca Barbato
Check capabilities directly in the function, further simplify the code.
2012-01-04v4l2: simplify away io_methodLuca Barbato
Only mmap is supported.
2012-01-04v4l2: cosmeticsLuca Barbato
2012-01-04v4l2: uniform and format optionsLuca Barbato
2012-01-04v4l2: do not force interlaced modeLuca Barbato
Video4linux2 supports both interlaced and non-interlaced mode, do not ask for interlaced if not necessary.
2011-12-27v4l2: remove unneded linux specific asm/types.h includeJanne Grunau
2011-12-13build: move inclusion of subdir.mak to main subdir loopMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-12-12Add basic libavdevice documentation.Anton Khirnov
2011-12-11Fix a bunch of common typos.Diego Biurrun
2011-12-07cosmetics: drop some completely pointless parenthesesDiego Biurrun
2011-12-05misc Doxygen markup improvementsDiego Biurrun
2011-11-30lavf: make av_set_pts_info private.Anton Khirnov
It's supposed to be called only from (de)muxers.
2011-11-25Make channel layout masks unsignedMans Rullgard
It makes more sense for a bit mask to use an unsigned type. The change should be source and binary compatible on all supported systems, hence micro version bump. Fixes a few invalid shifts. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-11-14pulse: compute frame_duration once and fix itLuca Barbato
The frame duration was calculated without taking in account the bytes per sample. Thanks to Lorenzo Pistone <blaffablaffa@gmail.com> for pointing the issue and providing an initial fix.
2011-11-06Remove leftover includes of strings.hMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-11-06Replace all usage of strcasecmp/strncasecmpReimar Döffinger
All current usages of it are incompatible with localization. For example strcasecmp("i", "I") != 0 is possible, but would break many of the places where it is used. Instead use our own implementations that always treat the data as ASCII. Signed-off-by: Martin Storsjö <martin@martin.st>
2011-10-27pulse: introduce pulseaudio inputLuca Barbato
It currently use the simple api and is using the latency information provided only to offset the stream start. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-10-21Move timefilter code from lavf to lavd.Anton Khirnov
It's only used in the JACK device. Fixes linking shared lavd with JACK enabled.
2011-10-20lavf: use avpriv_ prefix for some dv functions.Anton Khirnov
They are used in libavdevice.
2011-10-20lavf: use avpriv_ prefix for ff_new_chapter().Anton Khirnov
It's used in libavdevice.
2011-10-19lavf,lavd: replace av_new_stream->avformat_new_stream part I.Anton Khirnov
Trivial replacements with sed are done in this commit: sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
2011-10-12AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov
2011-10-05Fix 'heigth' vs. 'height' typos.Diego Biurrun
2011-09-24Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations.Diego Biurrun
2011-09-21alsa: add missing headerAnton Khirnov
Fixes compile with next lavc major.
2011-09-17lavd: add libcdio-paranoia input device for audio CD grabbingAnton Khirnov
2011-08-15lavf,lavd: remove all usage of AVFormatParameters from demuxers.Anton Khirnov
AVFormatParameters are converted into corresponding private options in av_open_input_file/stream() compat wrappers, so accessing them from demuxers is redundant.
2011-08-15jack: add 'channels' private option.Anton Khirnov
Get rid of AVFormatParameters usage.
2011-07-31x11grab: add show_region AVOption.Yu-Jie Lin
Draw the current grabbing region for indication. Signed-off-by: Yu-Jie Lin <livibetter@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-07-31x11grab: add follow_mouse AVOption.Yu-Jie Lin
-follow_mouse centered|PIXELS move grabbing region to where mouse pointer at the center; or only move when pointer reaches within PIXELS to the edge. Signed-off-by: Yu-Jie Lin <livibetter@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-07-15doxygen: use Doxygen markup for authors and web links where appropriateDiego Biurrun
2011-07-10alsa: limit buffer_size to 32768 frames.Justin Ruggles
In testing, the file output plugin gave a max buffer size of about 20 million frames, which is way more than what is really needed and causes a memory allocation error on my system.
2011-07-10alsa: fallback to buffer_size/4 for period_size.Justin Ruggles
buffer_size/4 is the value used by aplay. This fixes output to null devices, e.g. writing ALSA output to a file.
2011-07-08x11grab: replace undocumented nomouse hackery with a private option.Anton Khirnov
2011-07-08libavdevice: Remove disabled code.Diego Biurrun
2011-07-05Add some missing mathematics.h #includes for av_rescale().Diego Biurrun