ffmpeg.git
4 years agoavfilter/vsrc_cellauto: Use av_mallocz_array()
Michael Niedermayer [Sun, 6 Jul 2014 12:35:13 +0000 (14:35 +0200)]
avfilter/vsrc_cellauto: Use av_mallocz_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavfilter/vf_vignette: Use av_malloc_array()
Michael Niedermayer [Sun, 6 Jul 2014 12:34:37 +0000 (14:34 +0200)]
avfilter/vf_vignette: Use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavfilter/unsharp_opencl: use av_mallocz_array()
Michael Niedermayer [Sun, 6 Jul 2014 12:33:54 +0000 (14:33 +0200)]
avfilter/unsharp_opencl: use av_mallocz_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavformat/smoothstreamingenc: fix memleak
Michael Niedermayer [Sun, 6 Jul 2014 03:02:38 +0000 (05:02 +0200)]
avformat/smoothstreamingenc: fix memleak

Fixes CID1224285
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoswresample: split option table to a separate file
Timothy Gu [Sun, 6 Jul 2014 01:08:34 +0000 (18:08 -0700)]
swresample: split option table to a separate file

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/mjpegenc_common: Restore removed copyright statements
Michael Niedermayer [Sun, 6 Jul 2014 01:26:47 +0000 (03:26 +0200)]
avcodec/mjpegenc_common: Restore removed copyright statements

These where removed by  libav while spliting the file in adcb8392c9b185fd8a91a95fa256d15ab1432a30

See: de6d9b6404bfd1c589799142da5a95428f146edd
See: 723106b279d9d78f5966f32bedfa33b88a702f69

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavutil/audio_fifo: split into a separate doxy module
Timothy Gu [Fri, 4 Jul 2014 18:06:43 +0000 (11:06 -0700)]
avutil/audio_fifo: split into a separate doxy module

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/Makefile: add libutvideo.h to SKIPHEADERS
Michael Niedermayer [Sat, 5 Jul 2014 22:14:23 +0000 (00:14 +0200)]
avcodec/Makefile: add libutvideo.h to SKIPHEADERS

libutvideo.h is not a C header and thus fails building as a C file

Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavutil/samplefmt: improve doxygen
Timothy Gu [Fri, 4 Jul 2014 18:06:41 +0000 (11:06 -0700)]
avutil/samplefmt: improve doxygen

Categorize the enum and funcs to "Audio related".

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/old_codec_ids: workaround doxygen inclusion bug
Timothy Gu [Fri, 4 Jul 2014 18:06:40 +0000 (11:06 -0700)]
avcodec/old_codec_ids: workaround doxygen inclusion bug

Currently, http://ffmpeg.org/doxygen/trunk/group__preproc__misc.html is
broken, because of inclusion bug in Doxygen's preprocessing mode. The
now-unincluded header file is included anyway in avcodec.h, the only
place where it is used, so there should be no problem removing it.

One concern is API-compatibility, because old_codec_ids.h is a public
header. However, IMO this is not a problem because currently users
cannot include only this header and not `avcodec.h` anyway, because of
missing AV_CODEC_ID_NONE symbol.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agox86/svq1enc: port ssd_int8_vs_int16 to yasm
James Almer [Sat, 5 Jul 2014 19:40:29 +0000 (16:40 -0300)]
x86/svq1enc: port ssd_int8_vs_int16 to yasm

Also add an SSE2 version

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit 'b0de1c766329dd8c9960ad1722e2f653160abc1b'
Michael Niedermayer [Sat, 5 Jul 2014 18:12:31 +0000 (20:12 +0200)]
Merge commit 'b0de1c766329dd8c9960ad1722e2f653160abc1b'

* commit 'b0de1c766329dd8c9960ad1722e2f653160abc1b':
  x86: build: Only compile FDCT code if MMX is enabled

Conflicts:
libavcodec/x86/Makefile

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit '12f129e545e5a5844b6ad7f3eb6a438015cad8bc'
Michael Niedermayer [Sat, 5 Jul 2014 17:19:22 +0000 (19:19 +0200)]
Merge commit '12f129e545e5a5844b6ad7f3eb6a438015cad8bc'

* commit '12f129e545e5a5844b6ad7f3eb6a438015cad8bc':
  x86: Unconditionally compile blockdsp and svq1enc init files

Conflicts:
libavcodec/x86/Makefile

blockdsp_mmx is renamed to blockdsp_init as we already have a blockdsp file
and _init is how all other such files are called

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavfilter/haldclut: fix R/B swap in CLUT loading
Clément Bœsch [Sat, 5 Jul 2014 17:35:31 +0000 (19:35 +0200)]
avfilter/haldclut: fix R/B swap in CLUT loading

Fixes Ticket #3751.

4 years agoMerge commit '009331303a6462d07cbe94aef9c446f1a1695519'
Michael Niedermayer [Sat, 5 Jul 2014 16:54:09 +0000 (18:54 +0200)]
Merge commit '009331303a6462d07cbe94aef9c446f1a1695519'

* commit '009331303a6462d07cbe94aef9c446f1a1695519':
  x86: huffyuvdsp: Move inline assembly to init file

Conflicts:
libavcodec/x86/Makefile
libavcodec/x86/huffyuvdsp.h
libavcodec/x86/huffyuvdsp_init.c
libavcodec/x86/huffyuvdsp_mmx.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agox86: build: Only compile FDCT code if MMX is enabled
Diego Biurrun [Sat, 8 Feb 2014 10:11:14 +0000 (11:11 +0100)]
x86: build: Only compile FDCT code if MMX is enabled

All other files containing purely inline assembly are treated the same way.

4 years agox86: Unconditionally compile blockdsp and svq1enc init files
Diego Biurrun [Thu, 3 Jul 2014 13:25:41 +0000 (06:25 -0700)]
x86: Unconditionally compile blockdsp and svq1enc init files

This avoids a link failure with MMX disabled as the init functions
are referenced unconditionally.

4 years agox86: huffyuvdsp: Move inline assembly to init file
Diego Biurrun [Thu, 3 Jul 2014 13:20:53 +0000 (06:20 -0700)]
x86: huffyuvdsp: Move inline assembly to init file

This avoids a link failure with MMX disabled as now code and
initialization are compiled under the same condition.

4 years agoFix standalone compilation of the amv encoder.
Carl Eugen Hoyos [Sat, 5 Jul 2014 10:55:14 +0000 (12:55 +0200)]
Fix standalone compilation of the amv encoder.

4 years agodoc/protocols: document unit of timeouts for ftp and http
Lukasz Marek [Fri, 4 Jul 2014 17:58:20 +0000 (19:58 +0200)]
doc/protocols: document unit of timeouts for ftp and http

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
4 years agotools/ffeval: print computed value even in case of error
Stefano Sabatini [Fri, 4 Jul 2014 14:39:29 +0000 (16:39 +0200)]
tools/ffeval: print computed value even in case of error

This is useful for debugging purposes.

4 years agolavfi/drawtext: do not allocate FT_Glyph, but keep it in the Glyph structure
Stefano Sabatini [Thu, 3 Jul 2014 15:58:38 +0000 (17:58 +0200)]
lavfi/drawtext: do not allocate FT_Glyph, but keep it in the Glyph structure

Slightly simplify.

4 years agoMerge remote-tracking branch 'cehoyos/master'
Michael Niedermayer [Sat, 5 Jul 2014 02:12:08 +0000 (04:12 +0200)]
Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  Use os/2 palette even if it contains less than 256 entries.
  Assume that old bmps do not contain transparency information.
  Do not detect jp2 images as mov files.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit 'e0bfe34ea8ccf333ec5b17961fd58eb575e74f8b'
Michael Niedermayer [Sat, 5 Jul 2014 01:41:35 +0000 (03:41 +0200)]
Merge commit 'e0bfe34ea8ccf333ec5b17961fd58eb575e74f8b'

* commit 'e0bfe34ea8ccf333ec5b17961fd58eb575e74f8b':
  libfdk-aacdec: Reduce the default decoder delay by one frame

Conflicts:
libavcodec/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoUse os/2 palette even if it contains less than 256 entries.
Carl Eugen Hoyos [Fri, 4 Jul 2014 19:23:53 +0000 (21:23 +0200)]
Use os/2 palette even if it contains less than 256 entries.

Fixes 11Bios13.bmp.

4 years agoAssume that old bmps do not contain transparency information.
Carl Eugen Hoyos [Fri, 4 Jul 2014 19:14:53 +0000 (21:14 +0200)]
Assume that old bmps do not contain transparency information.

Fixes MK50TEMP.BMP that has its RGB channel bit masks on the actual image.

4 years agoDo not detect jp2 images as mov files.
Carl Eugen Hoyos [Fri, 4 Jul 2014 19:13:40 +0000 (21:13 +0200)]
Do not detect jp2 images as mov files.

4 years agolibfdk-aacdec: Reduce the default decoder delay by one frame
Omer Osman [Fri, 4 Jul 2014 09:05:44 +0000 (11:05 +0200)]
libfdk-aacdec: Reduce the default decoder delay by one frame

The default error concealment method if none is set via
aacDecoder_SetParam(AAC_CONCEAL_METHOD) is set in
CConcealment_InitCommonData within the fdk-aac library
and is set to Energy Interpolation. This method requires one frame
delay to the output. To reduce the default decoder output delay and
avoid missing the last frame in file based decoding, use Noise
Substitution as the default concealment method.

Signed-off-by: Omer Osman <omer.osman@iis.fraunhofer.de>
Signed-off-by: Martin Storsjö <martin@martin.st>
4 years agoDoxyfile: imitate gcc for better libavutil/attributes.h documentation
Timothy Gu [Fri, 4 Jul 2014 18:06:47 +0000 (11:06 -0700)]
Doxyfile: imitate gcc for better libavutil/attributes.h documentation

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agodownmix_info: clarify doxygen
Timothy Gu [Fri, 4 Jul 2014 18:06:45 +0000 (11:06 -0700)]
downmix_info: clarify doxygen

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agochannel_layout: doxy: merge functions with macros
Timothy Gu [Fri, 4 Jul 2014 18:06:44 +0000 (11:06 -0700)]
channel_layout: doxy: merge functions with macros

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoDoxyfile: enable browser-based search engine
Timothy Gu [Fri, 4 Jul 2014 18:06:46 +0000 (11:06 -0700)]
Doxyfile: enable browser-based search engine

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavutil: fix version macros doxygen module
Timothy Gu [Fri, 4 Jul 2014 18:06:42 +0000 (11:06 -0700)]
avutil: fix version macros doxygen module

Without this patch, "Library Version Macros" module is not visible on
libavutil homepage in `make apidoc`.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agolavf/libssh: call ssh_userauth_none before ssh_userauth_list
Lukasz Marek [Fri, 4 Jul 2014 17:50:13 +0000 (19:50 +0200)]
lavf/libssh: call ssh_userauth_none before ssh_userauth_list

According to doc, ssh_userauth_none must be called before ssh_userauth_list.
It solves login issue for new versions of libssh.

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/mlp_parser: check ff_combine_frame() return code
Michael Niedermayer [Fri, 4 Jul 2014 17:33:54 +0000 (19:33 +0200)]
avcodec/mlp_parser: check ff_combine_frame() return code

Fixes CID602338

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavformat/img2dec: remove functions from image pipe which are unneeded for image pipes
Michael Niedermayer [Fri, 4 Jul 2014 14:44:40 +0000 (16:44 +0200)]
avformat/img2dec: remove functions from image pipe which are unneeded for image pipes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/bmp: fix integer overflow in checking header sizes
Michael Niedermayer [Fri, 4 Jul 2014 12:37:01 +0000 (14:37 +0200)]
avcodec/bmp: fix integer overflow in checking header sizes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavformat/img2dec: improve bmp probe
Michael Niedermayer [Fri, 4 Jul 2014 02:54:52 +0000 (04:54 +0200)]
avformat/img2dec: improve bmp probe

fix probetest failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavformat/img2dec: increase probe buffer to 2k
Michael Niedermayer [Fri, 4 Jul 2014 02:54:32 +0000 (04:54 +0200)]
avformat/img2dec: increase probe buffer to 2k

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoconfigure: update dependencies for vf_spp
Michael Niedermayer [Fri, 4 Jul 2014 02:47:13 +0000 (04:47 +0200)]
configure: update dependencies for vf_spp

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavformat/img2dec: set AVProbeData size correctly on corner cases of tiny files
Michael Niedermayer [Fri, 4 Jul 2014 01:43:02 +0000 (03:43 +0200)]
avformat/img2dec: set AVProbeData size correctly on corner cases of tiny files

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavformat/img2dec: avoid seekback on probeing
Michael Niedermayer [Fri, 4 Jul 2014 01:42:30 +0000 (03:42 +0200)]
avformat/img2dec: avoid seekback on probeing

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavformat/img2dec: allocate and clear padding area for probe correctly
Michael Niedermayer [Fri, 4 Jul 2014 01:40:53 +0000 (03:40 +0200)]
avformat/img2dec: allocate and clear padding area for probe correctly

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge remote-tracking branch 'lukaszmluki/master'
Michael Niedermayer [Fri, 4 Jul 2014 00:19:04 +0000 (02:19 +0200)]
Merge remote-tracking branch 'lukaszmluki/master'

* lukaszmluki/master:
  lavf/ftp: always treat all response codes >= 500 as error
  lavf/ftp: explicitly enable UTF-8
  lavf/ftp: make response parsing more RFC compliant

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agox86/swr: use lavu helper macros to check CPU extensions
James Almer [Thu, 3 Jul 2014 01:16:50 +0000 (22:16 -0300)]
x86/swr: use lavu helper macros to check CPU extensions

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoAutodetect JPEG2000 imagess.
Carl Eugen Hoyos [Fri, 4 Jul 2014 00:10:26 +0000 (02:10 +0200)]
Autodetect JPEG2000 imagess.

Autodetection of jp2 files does not work yet, the files are detected
as mov.

4 years agox86/swr: split audioconvert and rematrix DSP into separate files
James Almer [Thu, 3 Jul 2014 01:16:49 +0000 (22:16 -0300)]
x86/swr: split audioconvert and rematrix DSP into separate files

Also rename resample_x86_dsp.c to resample_init.c

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoswr: initialize only the necessary resample dsp functions
James Almer [Thu, 3 Jul 2014 01:16:48 +0000 (22:16 -0300)]
swr: initialize only the necessary resample dsp functions

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agolavf/ftp: always treat all response codes >= 500 as error
Lukasz Marek [Thu, 3 Jul 2014 23:05:48 +0000 (01:05 +0200)]
lavf/ftp: always treat all response codes >= 500 as error

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
4 years agolavf/ftp: explicitly enable UTF-8
Lukasz Marek [Thu, 3 Jul 2014 22:32:16 +0000 (00:32 +0200)]
lavf/ftp: explicitly enable UTF-8

Most FTP servers enable UTF-8 by default, but it is not required by the standard.
Enabling it manually makes ffmpeg implementation more consistent when server
doesn't enable it by default.

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
4 years agolavf/ftp: make response parsing more RFC compliant
Lukasz Marek [Thu, 3 Jul 2014 19:08:23 +0000 (21:08 +0200)]
lavf/ftp: make response parsing more RFC compliant

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
4 years agoMerge commit '391ecc961ced2bde7aecb3053ac35191f838fae8'
Michael Niedermayer [Thu, 3 Jul 2014 23:17:39 +0000 (01:17 +0200)]
Merge commit '391ecc961ced2bde7aecb3053ac35191f838fae8'

* commit '391ecc961ced2bde7aecb3053ac35191f838fae8':
  x86: mpegvideoenc: Change SIMD optimization name suffixes to lowercase

Conflicts:
libavcodec/x86/mpegvideoenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit 'c6698dfe7cdbc7634f33245875488ed3fa4a8ced'
Michael Niedermayer [Thu, 3 Jul 2014 23:08:35 +0000 (01:08 +0200)]
Merge commit 'c6698dfe7cdbc7634f33245875488ed3fa4a8ced'

* commit 'c6698dfe7cdbc7634f33245875488ed3fa4a8ced':
  webpdec: Fix decoding of the huffman group indices.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit '9279826008b80daad7446950a821f32033ccd33f'
Michael Niedermayer [Thu, 3 Jul 2014 22:50:28 +0000 (00:50 +0200)]
Merge commit '9279826008b80daad7446950a821f32033ccd33f'

* commit '9279826008b80daad7446950a821f32033ccd33f':
  id3v2enc: use a case-insensitive comparison for APIC picture type

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/dvdsubdec: fix alpha in debuging code
Oliver Fromme [Thu, 3 Jul 2014 14:12:12 +0000 (16:12 +0200)]
avcodec/dvdsubdec: fix alpha in debuging code

improve the debugging function for saving subtitles
to PPM files: Actually use the alpha channel.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/dvdsubdec: Fix off-by-one error
Oliver Fromme [Thu, 3 Jul 2014 14:12:12 +0000 (16:12 +0200)]
avcodec/dvdsubdec: Fix off-by-one error

Fix an off-by-one error that causes the height of decoded
subtitles to be too small, thus cutting off the lowest row
of pixels.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agox86: mpegvideoenc: Change SIMD optimization name suffixes to lowercase
Diego Biurrun [Mon, 30 Dec 2013 16:06:45 +0000 (17:06 +0100)]
x86: mpegvideoenc: Change SIMD optimization name suffixes to lowercase

4 years agoMerge commit '0955e57ad07640574fc20ce0bea3c0b83982ada1'
Michael Niedermayer [Thu, 3 Jul 2014 19:42:16 +0000 (21:42 +0200)]
Merge commit '0955e57ad07640574fc20ce0bea3c0b83982ada1'

* commit '0955e57ad07640574fc20ce0bea3c0b83982ada1':
  daud: split muxer and demuxer

Conflicts:
libavformat/Makefile

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agowebpdec: Fix decoding of the huffman group indices.
Justin Ruggles [Thu, 3 Jul 2014 15:28:17 +0000 (11:28 -0400)]
webpdec: Fix decoding of the huffman group indices.

Per the specification, "The red and green components of a pixel
define the meta Huffman code used in a particular block of the ARGB
image."

4 years agoMerge commit 'f920d089535bf7cf10aeda900cc43201c5e18cd0'
Michael Niedermayer [Thu, 3 Jul 2014 19:02:56 +0000 (21:02 +0200)]
Merge commit 'f920d089535bf7cf10aeda900cc43201c5e18cd0'

* commit 'f920d089535bf7cf10aeda900cc43201c5e18cd0':
  ismindex: Add an option for outputting files elsewhere than in the current directory

Conflicts:
tools/ismindex.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoid3v2enc: use a case-insensitive comparison for APIC picture type
Anton Khirnov [Wed, 2 Jul 2014 20:41:47 +0000 (22:41 +0200)]
id3v2enc: use a case-insensitive comparison for APIC picture type

4 years agoMerge commit '6bc4934b75dde9354ee16a6e700ebe6775abf69e'
Michael Niedermayer [Thu, 3 Jul 2014 18:37:00 +0000 (20:37 +0200)]
Merge commit '6bc4934b75dde9354ee16a6e700ebe6775abf69e'

* commit '6bc4934b75dde9354ee16a6e700ebe6775abf69e':
  ismindex: Allow adding a path prefix to the generated .ism file

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agodaud: split muxer and demuxer
Nidhi Makhijani [Mon, 23 Jun 2014 04:03:50 +0000 (09:33 +0530)]
daud: split muxer and demuxer

Signed-off-by: Diego Biurrun <diego@biurrun.de>
4 years agoismindex: Add an option for outputting files elsewhere than in the current directory
Martin Storsjö [Wed, 2 Jul 2014 20:02:58 +0000 (23:02 +0300)]
ismindex: Add an option for outputting files elsewhere than in the current directory

Signed-off-by: Martin Storsjö <martin@martin.st>
4 years agoismindex: Allow adding a path prefix to the generated .ism file
Martin Storsjö [Wed, 2 Jul 2014 19:44:32 +0000 (22:44 +0300)]
ismindex: Allow adding a path prefix to the generated .ism file

This allows storing the .ismv/.isma/.ismc files separately from
the .ism file on a server, without having to manually edit the
.ism file after generating it with the ismindex tool.

Signed-off-by: Martin Storsjö <martin@martin.st>
4 years agoavformat: Add image3 demuxers with format autodetection
Carl Eugen Hoyos [Sat, 21 Jun 2014 19:43:19 +0000 (21:43 +0200)]
avformat: Add image3 demuxers with format autodetection

Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoivfenc: support VP9
James Zern [Thu, 3 Jul 2014 03:28:39 +0000 (20:28 -0700)]
ivfenc: support VP9

libvpx tools accept vp9 ivf files

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavfilter/vf_drawtext: fix resource leak
Leandro Santiago [Wed, 2 Jul 2014 12:39:50 +0000 (09:39 -0300)]
avfilter/vf_drawtext: fix resource leak

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavformat/avformat: minor grammar improvement
Michael Niedermayer [Thu, 3 Jul 2014 11:51:53 +0000 (13:51 +0200)]
avformat/avformat: minor grammar improvement

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit 'cdab9db2adeec46b3984309c8c651bdd737d2b6b'
Michael Niedermayer [Thu, 3 Jul 2014 11:38:28 +0000 (13:38 +0200)]
Merge commit 'cdab9db2adeec46b3984309c8c651bdd737d2b6b'

* commit 'cdab9db2adeec46b3984309c8c651bdd737d2b6b':
  lavf: document av_dump_format()

Conflicts:
libavformat/avformat.h

See: 61f96be08a66e74897406fd64da4e61ea4b6a8c5
Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit 'df949b645b12d62bb4da56d629a887c81f67f2e5'
Michael Niedermayer [Thu, 3 Jul 2014 11:15:33 +0000 (13:15 +0200)]
Merge commit 'df949b645b12d62bb4da56d629a887c81f67f2e5'

* commit 'df949b645b12d62bb4da56d629a887c81f67f2e5':
  hevc: Use the local context variable when needed

Conflicts:
libavcodec/hevc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavdevice/pulse_audio_dec: clear pa_simple pointer after deallocation
Michael Niedermayer [Thu, 3 Jul 2014 02:26:18 +0000 (04:26 +0200)]
avdevice/pulse_audio_dec: clear pa_simple pointer after deallocation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavfilter: add flanger filter
Paul B Mahol [Fri, 27 Jun 2014 08:42:35 +0000 (08:42 +0000)]
avfilter: add flanger filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
4 years agoavfilter/af_aphaser: move wave table generation code into separate file
Paul B Mahol [Thu, 26 Jun 2014 08:54:23 +0000 (08:54 +0000)]
avfilter/af_aphaser: move wave table generation code into separate file

Signed-off-by: Paul B Mahol <onemda@gmail.com>
4 years agolavf: document av_dump_format()
Vittorio Giovara [Sun, 8 Jun 2014 15:56:34 +0000 (11:56 -0400)]
lavf: document av_dump_format()

4 years agohevc: Use the local context variable when needed
Luca Barbato [Wed, 18 Jun 2014 02:13:20 +0000 (04:13 +0200)]
hevc: Use the local context variable when needed

4 years agoavfilter/vf_format: Check pix_fmts before dereferencing it
Michael Niedermayer [Thu, 3 Jul 2014 00:05:34 +0000 (02:05 +0200)]
avfilter/vf_format: Check pix_fmts before dereferencing it

Fixes CID1224286

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavfilter/avfiltergraph: dont "or" together error codes
Michael Niedermayer [Wed, 2 Jul 2014 23:37:00 +0000 (01:37 +0200)]
avfilter/avfiltergraph: dont "or" together error codes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoFix standalone compilation of the wtv muxer.
Carl Eugen Hoyos [Wed, 2 Jul 2014 21:41:29 +0000 (23:41 +0200)]
Fix standalone compilation of the wtv muxer.

4 years agoavcodec/on2avc: Fix out of array access
Michael Niedermayer [Wed, 2 Jul 2014 18:22:12 +0000 (20:22 +0200)]
avcodec/on2avc: Fix out of array access

Fixes CID1206648

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit '98569d89638efc325042bd0081e9a02181afdafa'
Michael Niedermayer [Wed, 2 Jul 2014 18:05:54 +0000 (20:05 +0200)]
Merge commit '98569d89638efc325042bd0081e9a02181afdafa'

* commit '98569d89638efc325042bd0081e9a02181afdafa':
  matroskadec: Fix a double negation typo

See: 2c5b92fe90463402be6bf611ef40195f86f434fd
Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec: Updated comment for sub param
Anshul Maheshwari [Wed, 2 Jul 2014 16:37:59 +0000 (22:07 +0530)]
avcodec: Updated comment for sub param

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/dvbsubdec: removed unnecessary null check for subtitle
Anshul Maheshwari [Wed, 2 Jul 2014 16:21:37 +0000 (21:51 +0530)]
avcodec/dvbsubdec: removed unnecessary null check for subtitle

In refrence to coverity defect 1224278

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agomatroskadec: Fix a double negation typo
Michael Niedermayer [Sat, 20 Oct 2012 14:58:33 +0000 (16:58 +0200)]
matroskadec: Fix a double negation typo

This typo has existed since this code was added in c16582579.
Newer versions of clang pointed out that this comparison always
was true (since the result of the negation is either 0 or 1, while
AVDISCARD_ALL has the value 48).

Signed-off-by: Martin Storsjö <martin@martin.st>
4 years agolavfi/overlay: show incoming frames on debug messages
Stefano Sabatini [Fri, 20 Jun 2014 11:33:37 +0000 (13:33 +0200)]
lavfi/overlay: show incoming frames on debug messages

This is especially useful to debug queue overflow issues.

Ideally we should be able to set the debug message at the
dualinput/framesync level, but they do not have the information related
to the filter context and the inlink, so cannot access much useful
information.

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
4 years agoavcodec/dvdec: remove redundant null check
Michael Niedermayer [Wed, 2 Jul 2014 14:18:07 +0000 (16:18 +0200)]
avcodec/dvdec: remove redundant null check

Fixes CID700682 again

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/bitstream: remove trivial assert
Michael Niedermayer [Wed, 2 Jul 2014 13:34:48 +0000 (15:34 +0200)]
avcodec/bitstream: remove trivial assert

Fixed CID1224273

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoswr: rename swresample_dsp init functions to swri_resample_dsp
James Almer [Wed, 2 Jul 2014 03:05:08 +0000 (00:05 -0300)]
swr: rename swresample_dsp init functions to swri_resample_dsp

The swresample_ prefix is not for internal functions

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agodoc/filters: fix typo
Dave Rice [Wed, 2 Jul 2014 02:44:05 +0000 (22:44 -0400)]
doc/filters: fix typo

Signed-off-by: Dave Rice <dave@dericed.com>
Reviewed-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoffmpeg: check av_opt_set_dict() return
Michael Niedermayer [Wed, 2 Jul 2014 03:20:26 +0000 (05:20 +0200)]
ffmpeg: check av_opt_set_dict() return

Fixes CID1224275

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agodoc/ffprobe.xsd: fix order and missing elements/attributes
Dave Rice [Wed, 2 Jul 2014 01:49:11 +0000 (21:49 -0400)]
doc/ffprobe.xsd: fix order and missing elements/attributes

Signed-off-by: Dave Rice <dave@dericed.com>
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoswr: remove obsolete resample prototypes
James Almer [Wed, 2 Jul 2014 00:22:28 +0000 (21:22 -0300)]
swr: remove obsolete resample prototypes

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoPartially revert "swr: add prototypes for resample dsp functions"
James Almer [Tue, 1 Jul 2014 21:45:21 +0000 (18:45 -0300)]
Partially revert "swr: add prototypes for resample dsp functions"

Prototypes are not needed anymore now that the x86 functions don't
include resample_template.c

The DO_RESAMPLE_ONE macro is removed for that same reason as well.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agox86/swr: add ff_resample_{common, linear}_int16_xop
James Almer [Mon, 30 Jun 2014 16:06:02 +0000 (13:06 -0300)]
x86/swr: add ff_resample_{common, linear}_int16_xop

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agox86/swr: add ff_resample_{common, linear}_float_fma
James Almer [Mon, 30 Jun 2014 16:06:01 +0000 (13:06 -0300)]
x86/swr: add ff_resample_{common, linear}_float_fma

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agox86: rename dsputil.asm to idctdsp.asm
James Almer [Tue, 1 Jul 2014 21:10:15 +0000 (18:10 -0300)]
x86: rename dsputil.asm to idctdsp.asm

Its only function is no longer part of dsputil.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/mjpegdec: factorize some parts of the pix_fmt_id switch()
Michael Niedermayer [Tue, 1 Jul 2014 21:28:18 +0000 (23:28 +0200)]
avcodec/mjpegdec: factorize some parts of the pix_fmt_id switch()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/mjpegdec: handle luma upscale detection generically
Michael Niedermayer [Tue, 1 Jul 2014 21:26:19 +0000 (23:26 +0200)]
avcodec/mjpegdec: handle luma upscale detection generically

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/mjpegdec: set upscale_h/upscale_v using generic code instead of hardcoding...
Michael Niedermayer [Tue, 1 Jul 2014 20:40:20 +0000 (22:40 +0200)]
avcodec/mjpegdec: set upscale_h/upscale_v using generic code instead of hardcoding a list

Some code is left to handle corner cases

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/mjpegdec: Support pix_fmt_id==0x11222200
Michael Niedermayer [Tue, 1 Jul 2014 20:11:46 +0000 (22:11 +0200)]
avcodec/mjpegdec: Support pix_fmt_id==0x11222200

Fixes: 4858286_300.jpg

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>