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-11-07ffprobe: fix potential NULL pointer dereferenceStefano Sabatini
Found by Coverity, should fix CID 733741.
2012-10-25ffprobe: add an array of section print buffers to the WriterContextStefano Sabatini
Allow to factorize buffers initialization/release, for all the writers which use it. Simplify.
2012-10-11ffprobe: fix use of uninitialized pointer in av_strtok()Michael Niedermayer
Fixes CID733837 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-06ffprobe: reindent after previous commitStefano Sabatini
2012-10-06ffprobe: add -select_streams optionStefano Sabatini
2012-10-02fix exit_program() prototypesMichael Niedermayer
This fixes 2 warnings Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-02Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: ARM: fix Thumb PIC on Apple nut: add do {} while (0) to GET_V tiffenc: Check av_malloc() results. tiffenc: Simplify pixel format setup using AVPixFmtDescriptor. Use atexit() instead of defining a custom exit_program() interface. msvc: Fix detection of VFW & Avisynth required libs Conflicts: ffmpeg.c ffmpeg_opt.c ffplay.c ffprobe.c ffserver.c libavcodec/tiffenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-30ffprobe: extend disposition printing supportStefano Sabatini
This generalizes the previous work on disposition printing. Disposition flags are shown in a dedicated section, which should improve output intellegibility, extensibility and filtering operations. This breaks output syntax with the recently introduced disposition printing.
2012-09-30ffprobe: generalize nesting model for the XML writerStefano Sabatini
Do not make use of ad-hoc "tags" code, introduce a new section flag SECTION_FLAG_HAS_VARIABLE_FIELDS to deal with the tags in a content-agnostic way. This is required by the pending disposition change.
2012-09-29ffprobe: rework/fix ini writerStefano Sabatini
Do not build from scratch the section header for each section, but build it using the previous level buffer, thus improving efficiency. Also fix some few corner cases related to numbering which are exposed by the pending disposition patch.
2012-09-29ffprobe: rework/fix flat writerStefano Sabatini
Do not build from scratch the section header for each section, but build using the previous level buffer, thus improving efficiency and fix some few corner cases which are exposed by the pending disposition patch.
2012-09-29ffprobe: generalize nesting model for the compact writerStefano Sabatini
Regular section fields nested in a regular section are now prefixed by the nested section name. This is required by the pending change related to disposition.
2012-09-29ffprobe: generalize nesting model for the default writerStefano Sabatini
Regular section fields nested in a regular section are now prefixed by the nested section name. This is required by the pending change related to disposition.
2012-09-29ffprobe: drop SECTION_ENTRY macroStefano Sabatini
The use of the macro makes to add new optional fields somewhat harder.
2012-09-29ffprobe: add support to library ident printingStefano Sabatini
2012-09-28ffprobe: remove unused "args" argument in writer init callbackStefano Sabatini
The parameter is no longer used, since the arguments are parsed at the framework level.
2012-09-27ffprobe: fix indentation of the first line of packets_and_frames sections in ↵Stefano Sabatini
the json output
2012-09-26ffprobe: generalize writer subsection nesting modelStefano Sabatini
Discard unflexible structure based on the root/chapter/section layout in favor of a generalized concept of section. This should allow to represent sections at a generic level of nesting, and allow subsection fields selection. Also, simplify the code.
2012-09-25ffprobe: drop pointless opaque parameter in writer init callbackStefano Sabatini
The parameter was never used.
2012-09-25ffprobe: reindent after previous commitStefano Sabatini
2012-09-25ffprobe: rework checking logic in writer_print_time() and ↵Stefano Sabatini
writer_print_rational() Make writer_print_time() and writer_print_rational() always call writer_print_int() or writer_print_string(). This way the checks for determining if the value should be printed or not are consistently performed in the low level functions. writer_print_rational() is moved downward in order to avoid a forward reference. Simplify/amend the overall logic.
2012-09-25ffprobe: Consider the chosen separator when doing CSV escapingAlexander Strasser
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
2012-09-25ffprobe: Rename variable in csv_escape_str()Alexander Strasser
Sync to 3245be9 . Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
2012-09-25ffprobe: Simplify CSV field quoting codeAlexander Strasser
Sync with bac1b31 . Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
2012-09-22ffprobe: reindent after the previous commitStefano Sabatini
2012-09-22ffprobe: add -bitexact boolean optionStefano Sabatini
The option is mostly useful to make ffprobe output independent from the build, and in particular to fix FATE --enable-small failures.
2012-09-21ffprobe: print format long_name only if non-NULLStefano Sabatini
Fix possible crash when long_name is not defined (for example if --enable-small).
2012-09-21ffprobe: print codec_long_name only when availableStefano Sabatini
Avoid possible segmentation fault if codec_long_name is defined as NULL (for example if --enable-small).
2012-09-19ffprobe: fix CSV writer outputStefano Sabatini
Fix regression introduced in 749ddc14fc9ebcef09965dfd98c8bf2505dc3b58.
2012-09-19ffprobe: Add a few common disposition casesDerek Buitenhuis
This info is crucial in knowing which stream to pick in an automated setup. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2012-09-14ffprobe: kill initializers with nested union field definitionStefano Sabatini
The c99-to-c89 converter (for MSVC support) doesn't currently handle designated initializers or compound literals with nested unions or structs. This is apparently the only place where this construct is used in the FFmpeg codebase.
2012-09-14ffprobe: avoid potentially lossy long long int -> double cast in value_string()Stefano Sabatini
Previously the cast long long int -> double was always performed (and then the double was converted back to long long int) even when it was avoidable.
2012-09-12ffprobe: print start_pts and duration_ts stream informationStefano Sabatini
2012-09-12ffprobe: add priv_class field to Writer, and factorize writer options ↵Stefano Sabatini
initialization
2012-09-11ffprobe: add print_section option to the compact writerStefano Sabatini
Allow to skip section name at the begin of each line. Possibly simplify output.
2012-09-11ffprobe: add and use DEFINE_WRITER_CLASS macroStefano Sabatini
Factorize writer class definition.
2012-09-10ffprobe: simplify default printerStefano Sabatini
Remove pointless default_print_footer() and default_print_chapter_header() callbacks, also avoid to print an empty line when noprint_wrappers is selected.
2012-09-09ffprobe: avoid unsafe usage of the snprintf() return codeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-09ffprobe: use exp2 instead of pow(2, ...)Michael Niedermayer
2012-09-05Merge commit 'e6153f173a49e5bfa70b0c04d2f82930533597b9'Michael Niedermayer
* commit 'e6153f173a49e5bfa70b0c04d2f82930533597b9': avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member Conflicts: libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/libx264.c libavcodec/mpeg12enc.c libavcodec/options_table.h libavcodec/snowenc.c libavcodec/tiffenc.c libavdevice/v4l2.c libavdevice/x11grab.c libavfilter/af_amix.c libavfilter/af_asyncts.c libavfilter/af_join.c libavfilter/buffersrc.c libavfilter/src_movie.c libavfilter/vf_delogo.c libavfilter/vf_drawtext.c libavformat/http.c libavformat/img2dec.c libavformat/img2enc.c libavformat/movenc.c libavformat/mpegenc.c libavformat/mpegtsenc.c libavformat/options_table.h libavformat/segment.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-31Merge commit 'ec36aa69448f20a78d8c4588265022e0b2272ab5'Michael Niedermayer
* commit 'ec36aa69448f20a78d8c4588265022e0b2272ab5': x86: Fix linking with some or all of yasm, mmx, optimizations disabled configure: Add more fine-grained SSE CPU capabilities flags avfilter: x86: Use more precise compile template names x86: cosmetics: Comment some #endifs for better readability g723_1: add comfort noise generation utvideoenc: Switch to dsputils' median prediction utvideoenc: Avoid writing into the input picture avtools: remove the distinction between func_arg and func2_arg. avconv: make the -passlogfile option per-stream. avconv: make the -pass option per-stream. cmdutils: make -codecs print lossy/lossless flags. lavc: add lossy/lossless codec properties. Conflicts: Changelog cmdutils.c configure doc/APIchanges ffmpeg.h ffmpeg_opt.c ffprobe.c libavcodec/codec_desc.c libavcodec/g723_1.c libavcodec/utvideoenc.c libavcodec/version.h libavcodec/x86/mpegaudiodec.c libavcodec/x86/rv40dsp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-28Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: vc1: export some functions configure: use HOSTCC_C/O in check_host_cc configure: use AS_O setting in check_as configure: use LD_O setting in check_ld() Revert "dsputil: make {add/put/put_signed}_pixels_clamped() non-static." build: Restore dependency of acelp_filters.o on celp_math.o celp_math: Replace duplicate ff_dot_productf() by ff_scalarproduct_c() celp_math: Move ff_cos() to the only place it is used build: Use portable abstraction for linker/hostcc output file syntax configure: Fix shared library creation for OpenBSD vp56: Don't use DECLARE_ALIGN on a typedef name mss1: move code that will be reused by MSS2 decoder into separate file mss1: merge decode_intra() and decode_inter() avprobe: Get rid of ugly casts in the options table vf_hqdn3d: Remove a duplicate inline declaration Conflicts: Makefile configure ffprobe.c libavcodec/Makefile libavcodec/amrnbdec.c libavcodec/amrwbdec.c libavcodec/celp_math.c libavcodec/celp_math.h libavcodec/dsputil.c libavcodec/lsp.c libavcodec/mss1.c libavcodec/ra288.c libavcodec/vc1dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-20Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: fate: Add FATE tests for the Ut Video encoder lavc: add Ut Video encoder mpegvideo_enc: remove stray duplicate line from 7f9aaa4 swscale: x86: fix #endif comments in rgb2rgb template file avconv: mark more options as expert. avconv: split printing "main options" into global and per-file. avconv: refactor help printing. Conflicts: Changelog ffmpeg_opt.c ffserver.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-20Merge commit 'f8b1e665539010d3ca148f09cb1203c20c1ca174'Michael Niedermayer
* commit 'f8b1e665539010d3ca148f09cb1203c20c1ca174': avconv: print info/capabilities options in a separate help group. avtools: add -h demuxer/muxer cmdutils: extend -h to allow printing codec details. Conflicts: cmdutils.h ffmpeg_filter.c ffmpeg_opt.c ffplay.c ffserver.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-20Merge commit '7c5012127fb7e18f0616011257bb4248f6a8b608'Michael Niedermayer
* commit '7c5012127fb7e18f0616011257bb4248f6a8b608': cmdutils: change semantics of show_help_options() and document it. avtools: move some newlines to show_help_options(). avconv: deprecate -isync. Conflicts: ffmpeg_opt.c ffserver.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-20Merge commit 'd3810c47fe8c9509c28c65c0244e743c1d353daf'Michael Niedermayer
* commit 'd3810c47fe8c9509c28c65c0244e743c1d353daf': avconv: get rid of ugly casts in the options table. avconv: try to match codecs by codec descriptor name as a last resort. avtools: fix show_foo() signatures. Conflicts: cmdutils.c cmdutils.h cmdutils_common_opts.h ffmpeg_opt.c ffplay.c ffprobe.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-19Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: vorbisdec: remove some pointless comments avprobe: add const to AVCodec pointer libavformat: add const to AVCodec pointers pthread: add const to AVCodec pointers Conflicts: ffprobe.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-14Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: g723.1: simplify scale_vector() g723.1: simplify normalize_bits() vda: cosmetics: fix Doxygen comment formatting vda: better frame allocation vda: Merge implementation into one file vda: support synchronous decoding vda: Reuse the bitstream buffer and reallocate it only if needed build: Factor out mpegvideo encoding dependencies to CONFIG_MPEGVIDEOENC avprobe: Include libm.h for the log2 fallback proresenc: use the edge emulation buffer rtmp: handle bytes read reports configure: Fix typo in mpeg2video/svq1 decoder dependency declaration Use log2(x) instead of log(x) / log(2) x86: swscale: fix fragile memory accesses x86: swscale: remove disabled code x86: yadif: fix asm with suncc x86: cabac: allow building with suncc x86: mlpdsp: avoid taking address of void ARM: intmath: use native-size return types for clipping functions Conflicts: configure ffprobe.c libavcodec/Makefile libavcodec/g723_1.c libavcodec/v210dec.h libavcodec/vda.h libavcodec/vda_h264.c libavcodec/x86/cabac.h libavfilter/x86/yadif_template.c libswscale/x86/rgb2rgb_template.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-08-09Remove "Error parsing options string [...]" messages.Clément Bœsch
This reduces from 3 to 2 messages for the same syntax error in ffprobe, and from 4 to 3 in filters.
2012-08-08Merge commit '36ef5369ee9b336febc2c270f8718cec4476cb85'Michael Niedermayer
* commit '36ef5369ee9b336febc2c270f8718cec4476cb85': Replace all CODEC_ID_* with AV_CODEC_ID_* lavc: add AV prefix to codec ids. Conflicts: doc/APIchanges doc/examples/decoding_encoding.c doc/examples/muxing.c ffmpeg.c ffprobe.c ffserver.c libavcodec/8svx.c libavcodec/avcodec.h libavcodec/dnxhd_parser.c libavcodec/dvdsubdec.c libavcodec/error_resilience.c libavcodec/h263dec.c libavcodec/libvorbisenc.c libavcodec/mjpeg_parser.c libavcodec/mjpegenc.c libavcodec/mpeg12.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/pcm.c libavcodec/r210dec.c libavcodec/utils.c libavcodec/v210dec.c libavcodec/version.h libavdevice/alsa-audio-dec.c libavdevice/bktr.c libavdevice/v4l2.c libavformat/asfdec.c libavformat/asfenc.c libavformat/avformat.h libavformat/avidec.c libavformat/caf.c libavformat/electronicarts.c libavformat/flacdec.c libavformat/flvdec.c libavformat/flvenc.c libavformat/framecrcenc.c libavformat/img2.c libavformat/img2dec.c libavformat/img2enc.c libavformat/ipmovie.c libavformat/isom.c libavformat/matroska.c libavformat/matroskadec.c libavformat/matroskaenc.c libavformat/mov.c libavformat/movenc.c libavformat/mp3dec.c libavformat/mpeg.c libavformat/mpegts.c libavformat/mxf.c libavformat/mxfdec.c libavformat/mxfenc.c libavformat/nsvdec.c libavformat/nut.c libavformat/oggenc.c libavformat/pmpdec.c libavformat/rawdec.c libavformat/rawenc.c libavformat/riff.c libavformat/sdp.c libavformat/utils.c libavformat/vocenc.c libavformat/wtv.c libavformat/xmv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>