ffmpeg.git
6 years agoMAINTAINERS: add libswresample
Michael Niedermayer [Thu, 27 Dec 2012 11:15:59 +0000 (12:15 +0100)]
MAINTAINERS: add libswresample

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodocs: add soxr documentation
Rob Sykes [Thu, 27 Dec 2012 11:07:15 +0000 (12:07 +0100)]
docs: add soxr documentation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosoxr_resample: soxr API parameter rename
Rob Sykes [Thu, 27 Dec 2012 10:59:55 +0000 (11:59 +0100)]
soxr_resample: soxr API parameter rename

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosoxr_resample: Correct email address
Rob Sykes [Thu, 27 Dec 2012 10:57:32 +0000 (11:57 +0100)]
soxr_resample: Correct email address

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi/tile: small align cosmetics.
Clément Bœsch [Wed, 26 Dec 2012 20:32:38 +0000 (21:32 +0100)]
lavfi/tile: small align cosmetics.

6 years agolavfi/tile: remove usage of link->{cur,out}_buf.
Clément Bœsch [Wed, 26 Dec 2012 19:19:30 +0000 (20:19 +0100)]
lavfi/tile: remove usage of link->{cur,out}_buf.

6 years agolavfi/scale: remove usage of link->cur_buf.
Clément Bœsch [Wed, 26 Dec 2012 19:00:10 +0000 (20:00 +0100)]
lavfi/scale: remove usage of link->cur_buf.

6 years agolavfi/deshake: remove usage of link->cur_buf.
Clément Bœsch [Wed, 26 Dec 2012 19:00:00 +0000 (20:00 +0100)]
lavfi/deshake: remove usage of link->cur_buf.

6 years agolavfi/decimate: remove usage of link->cur_buf.
Clément Bœsch [Wed, 26 Dec 2012 18:56:53 +0000 (19:56 +0100)]
lavfi/decimate: remove usage of link->cur_buf.

6 years agolavfi/video: remove unused ff_inplace_start_frame().
Clément Bœsch [Wed, 26 Dec 2012 18:29:44 +0000 (19:29 +0100)]
lavfi/video: remove unused ff_inplace_start_frame().

6 years agomjpegdec: handle the occurance of rstn emulation
Michael Niedermayer [Wed, 26 Dec 2012 19:23:09 +0000 (20:23 +0100)]
mjpegdec: handle the occurance of rstn emulation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomjpegdec: Handle RSTn in progressive jpegs
Michael Niedermayer [Tue, 25 Dec 2012 02:54:51 +0000 (03:54 +0100)]
mjpegdec: Handle RSTn in progressive jpegs

Fixes Ticket2003

Reviewed-by: Alexander Strasser <eclipse7@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomjpegdec: factor handle_rstn() out
Michael Niedermayer [Tue, 25 Dec 2012 02:54:25 +0000 (03:54 +0100)]
mjpegdec: factor handle_rstn() out

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agobuild: mp filter does not depend on postproc anymore
Paul B Mahol [Wed, 26 Dec 2012 18:48:26 +0000 (18:48 +0000)]
build: mp filter does not depend on postproc anymore

This fixes testprogs build target if libpostproc is disabled.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agovf_idet: fix type of stats
Michael Niedermayer [Wed, 26 Dec 2012 02:22:26 +0000 (03:22 +0100)]
vf_idet: fix type of stats

Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi/idet: remove unused assert include.
Clément Bœsch [Wed, 26 Dec 2012 01:50:06 +0000 (02:50 +0100)]
lavfi/idet: remove unused assert include.

6 years agolavfi/idet: remove unecessary context assignment.
Clément Bœsch [Wed, 26 Dec 2012 01:48:07 +0000 (02:48 +0100)]
lavfi/idet: remove unecessary context assignment.

6 years agolavfi/idet: support named parameters.
Clément Bœsch [Wed, 26 Dec 2012 01:47:25 +0000 (02:47 +0100)]
lavfi/idet: support named parameters.

The parameters are currently not documented in doc/filters.texi, but now
they at least appear in the automatic help.

6 years agolavfi/idet: remove unecessary poll_frame callback.
Clément Bœsch [Wed, 26 Dec 2012 01:33:26 +0000 (02:33 +0100)]
lavfi/idet: remove unecessary poll_frame callback.

6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 26 Dec 2012 13:35:54 +0000 (14:35 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  mpegvideo: initialize videodsp with correct pixel depth

Conflicts:
libavcodec/mpegvideo.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agovc1dsp: fix the warning fix, make it work with --disable-asm
Michael Niedermayer [Wed, 26 Dec 2012 13:23:54 +0000 (14:23 +0100)]
vc1dsp: fix the warning fix, make it work with --disable-asm

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodoc/resampler: extend docs for min_comp and min_hard_comp options
Stefano Sabatini [Wed, 26 Dec 2012 00:39:08 +0000 (01:39 +0100)]
doc/resampler: extend docs for min_comp and min_hard_comp options

Based on the text from the aresample filter docs.

6 years agolavfi/aresample: fix style
Stefano Sabatini [Wed, 26 Dec 2012 00:26:55 +0000 (01:26 +0100)]
lavfi/aresample: fix style

Improve overall consistency/improve readability.

6 years agolibswscale/swscale-test: fix some const correctness
Michael Niedermayer [Wed, 26 Dec 2012 02:14:59 +0000 (03:14 +0100)]
libswscale/swscale-test: fix some const correctness

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agovc1dsp: fix pointer type warnings
Michael Niedermayer [Wed, 26 Dec 2012 02:00:35 +0000 (03:00 +0100)]
vc1dsp: fix pointer type warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavc/utils: fix 'warning: missing braces around initializer'
Michael Niedermayer [Wed, 26 Dec 2012 00:53:45 +0000 (01:53 +0100)]
lavc/utils: fix 'warning: missing braces around initializer'

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolcldec: fix zlib const pointer warning
Michael Niedermayer [Wed, 26 Dec 2012 00:37:38 +0000 (01:37 +0100)]
lcldec: fix zlib const pointer warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoimgconvert: fix 2 "discards const qualifier from pointer target type"
Michael Niedermayer [Wed, 26 Dec 2012 00:36:00 +0000 (01:36 +0100)]
imgconvert: fix 2 "discards const qualifier from pointer target type"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoimgconvert: dont depend on default return type for get_color_type()
Michael Niedermayer [Wed, 26 Dec 2012 00:34:26 +0000 (01:34 +0100)]
imgconvert: dont depend on default return type for get_color_type()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoh264_direct: silence several warning: assignment from incompatible pointer type"
Michael Niedermayer [Wed, 26 Dec 2012 00:23:19 +0000 (01:23 +0100)]
h264_direct: silence several warning: assignment from incompatible pointer type"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompegvideo: initialize videodsp with correct pixel depth
Janne Grunau [Tue, 25 Dec 2012 23:24:21 +0000 (00:24 +0100)]
mpegvideo: initialize videodsp with correct pixel depth

Fixes decoding of 9/10 bit per pixel h264 videos as reported in
https://bugzilla.libav.org/show_bug.cgi?id=404 .

6 years agormdec: fix compiler warning for uninitialized variables
Jean First [Sat, 31 Dec 2011 13:15:35 +0000 (14:15 +0100)]
rmdec: fix compiler warning for uninitialized variables

Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompegts: update AVProgram after pmt change
XBMC [Sun, 16 Dec 2012 08:53:18 +0000 (09:53 +0100)]
mpegts: update AVProgram after pmt change

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomxfdec: Rescale audio stream duration from EditRate to SampleRate
Tomas Härdin [Fri, 14 Dec 2012 14:39:16 +0000 (15:39 +0100)]
mxfdec: Rescale audio stream duration from EditRate to SampleRate

Since 83cab07 audio stream time bases are based on SampleRate, not EditRate.
This fixes trac ticket #2029 and a few seeking issues.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoffmpeg: use the new swr -async parameter instead of a set of parameters.
Michael Niedermayer [Sat, 22 Dec 2012 22:54:25 +0000 (23:54 +0100)]
ffmpeg: use the new swr -async parameter instead of a set of parameters.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoswr: support -async X as a simple way to do what ffmpeg -async X did
Michael Niedermayer [Sat, 22 Dec 2012 22:53:45 +0000 (23:53 +0100)]
swr: support -async X as a simple way to do what ffmpeg -async X did

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Tue, 25 Dec 2012 15:36:49 +0000 (16:36 +0100)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: fix greenish line on the right edge with some xv sizes

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agovf_pp: add postproc to the library dependencys for avfilter when enabled.
Hendrik Leppkes [Tue, 25 Dec 2012 13:45:00 +0000 (14:45 +0100)]
vf_pp: add postproc to the library dependencys for avfilter when enabled.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoffplay: fix greenish line on the right edge with some xv sizes
Marton Balint [Thu, 6 Dec 2012 23:44:17 +0000 (00:44 +0100)]
ffplay: fix greenish line on the right edge with some xv sizes

If the XV image linesize was different from the width, SDL would create an
overlay wider than the actually requested one. This causes a greenish line on
the right, because the rightmost texel is blended with unset data.  This patch
introduces a function which duplicates the rightmost texel to the unset space,
that way the blending will be done with duplicated border texels.

Signed-off-by: Marton Balint <cus@passwd.hu>
6 years agosrt_probe: make buffer pointer const
Michael Niedermayer [Tue, 25 Dec 2012 01:57:48 +0000 (02:57 +0100)]
srt_probe: make buffer pointer const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodsputil_mmx: fix pointer type for emulated_edge_mc_func()
Michael Niedermayer [Tue, 25 Dec 2012 01:04:31 +0000 (02:04 +0100)]
dsputil_mmx: fix pointer type for emulated_edge_mc_func()

Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agostr_probe: make buffer related pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:55:22 +0000 (01:55 +0100)]
str_probe: make buffer related pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agopva_probe: make buffer related pointers and function arguments const
Michael Niedermayer [Tue, 25 Dec 2012 00:54:41 +0000 (01:54 +0100)]
pva_probe: make buffer related pointers and function arguments const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomxf_probe: make buffer related pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:54:20 +0000 (01:54 +0100)]
mxf_probe: make buffer related pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompc8_probe: make buffer related pointers and function arguments const
Michael Niedermayer [Tue, 25 Dec 2012 00:51:59 +0000 (01:51 +0100)]
mpc8_probe: make buffer related pointers and function arguments const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomp3_read_probe: make buffer related pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:51:32 +0000 (01:51 +0100)]
mp3_read_probe: make buffer related pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomicrodvd_probe: make buffer pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:50:58 +0000 (01:50 +0100)]
microdvd_probe: make buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompegps_probe: make buffer related pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:50:14 +0000 (01:50 +0100)]
mpegps_probe: make buffer related pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoloas_probe: make buffer pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:45:56 +0000 (01:45 +0100)]
loas_probe: make buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolmlm4_probe: make buffer pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:45:21 +0000 (01:45 +0100)]
lmlm4_probe: make buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoipmovie_probe: make buffer pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:44:59 +0000 (01:44 +0100)]
ipmovie_probe: make buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoflac_probe: make buffer pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:43:14 +0000 (01:43 +0100)]
flac_probe: make buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoac3_eac3_probe: mark buffer pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:42:23 +0000 (01:42 +0100)]
ac3_eac3_probe: mark buffer pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoadts_aac_probe: mark buffer pointers as const
Michael Niedermayer [Tue, 25 Dec 2012 00:41:00 +0000 (01:41 +0100)]
adts_aac_probe: mark buffer pointers as const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agooggdec: fix warning: assignment discards qualifiers from pointer target type
Michael Niedermayer [Mon, 24 Dec 2012 21:37:24 +0000 (22:37 +0100)]
oggdec: fix warning: assignment discards qualifiers from pointer target type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavfiltergraph: put variables used in #if 0 code themselfs under #if 0
Michael Niedermayer [Mon, 24 Dec 2012 21:35:27 +0000 (22:35 +0100)]
avfiltergraph: put variables used in #if 0 code themselfs under #if 0

Fixes unused variable warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomcdec: suppress "warning: a/vst may be used uninitialized in this function"
Michael Niedermayer [Mon, 24 Dec 2012 17:21:46 +0000 (18:21 +0100)]
mcdec: suppress "warning: a/vst may be used uninitialized in this function"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavf/mpeg: suppress warning: lpcm_header_len may be used uninitialized in this function
Michael Niedermayer [Mon, 24 Dec 2012 17:18:03 +0000 (18:18 +0100)]
lavf/mpeg: suppress warning: lpcm_header_len may be used uninitialized in this function

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 24 Dec 2012 15:13:06 +0000 (16:13 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  wnv1: cosmetics, reformat
  xan: remove a trivially true if().
  ansi: do not depend on get_buffer() initializing the frame.
  zerocodec: remove an unused variable.
  zmbv: remove some pointless comments and empty lines

Conflicts:
libavcodec/xan.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit 'c6303f8d70c25dd6c6e6486c78bf99c9924e2b6b'
Michael Niedermayer [Mon, 24 Dec 2012 14:42:52 +0000 (15:42 +0100)]
Merge commit 'c6303f8d70c25dd6c6e6486c78bf99c9924e2b6b'

* commit 'c6303f8d70c25dd6c6e6486c78bf99c9924e2b6b':
  yop: simplify/sanitize the decoding loop
  c93: set palette_has_changed.
  bmp: cosmetics, reformat
  hlsenc: Don't duplicate a string constant

Conflicts:
libavcodec/bmp.c
tests/ref/fate/yop

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '3193b13aa1e271f6d2dd68de67d448c08aef3c00'
Michael Niedermayer [Mon, 24 Dec 2012 14:29:15 +0000 (15:29 +0100)]
Merge commit '3193b13aa1e271f6d2dd68de67d448c08aef3c00'

* commit '3193b13aa1e271f6d2dd68de67d448c08aef3c00':
  hlsenc: Allocate enough space for the pattern string
  lavc: Correct the description of pkt_dts
  avfilter: Compile FIFO filters unconditionally

Conflicts:
libavcodec/avcodec.h
libavfilter/Makefile
libavfilter/allfilters.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit 'f3298f12997eb4b7ad203766f768f92e3dd72a2a'
Michael Niedermayer [Mon, 24 Dec 2012 14:09:58 +0000 (15:09 +0100)]
Merge commit 'f3298f12997eb4b7ad203766f768f92e3dd72a2a'

* commit 'f3298f12997eb4b7ad203766f768f92e3dd72a2a':
  Return proper error code after av_log_ask_for_sample()
  configure: cosmetics: Separate hwaccel dependencies from decoders/encoders
  oggdec: check memory allocation

Conflicts:
configure
libavcodec/pictordec.c
libavformat/anm.c
libavformat/oggdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit 'f5f1cf52240759208b42477e2157a7b4409ade10'
Michael Niedermayer [Mon, 24 Dec 2012 13:43:03 +0000 (14:43 +0100)]
Merge commit 'f5f1cf52240759208b42477e2157a7b4409ade10'

* commit 'f5f1cf52240759208b42477e2157a7b4409ade10':
  oggdec: K&R cosmetic formatting
  hlsenc: correctly report target duration

Conflicts:
libavformat/oggdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agownv1: cosmetics, reformat
Anton Khirnov [Fri, 16 Nov 2012 17:42:16 +0000 (18:42 +0100)]
wnv1: cosmetics, reformat

6 years agoxan: remove a trivially true if().
Anton Khirnov [Fri, 16 Nov 2012 05:40:14 +0000 (06:40 +0100)]
xan: remove a trivially true if().

This function used to be shared with the xxan decoder, but that is not
true anymore.

6 years agoansi: do not depend on get_buffer() initializing the frame.
Anton Khirnov [Thu, 15 Nov 2012 13:24:51 +0000 (14:24 +0100)]
ansi: do not depend on get_buffer() initializing the frame.

The background changes from 128 (used by the default/cmdutils
get_buffer()) to 0. This looks more correct.

6 years agozerocodec: remove an unused variable.
Anton Khirnov [Thu, 15 Nov 2012 19:42:22 +0000 (20:42 +0100)]
zerocodec: remove an unused variable.

6 years agozmbv: remove some pointless comments and empty lines
Anton Khirnov [Thu, 15 Nov 2012 17:24:29 +0000 (18:24 +0100)]
zmbv: remove some pointless comments and empty lines

6 years agoyop: simplify/sanitize the decoding loop
Anton Khirnov [Thu, 15 Nov 2012 21:03:00 +0000 (22:03 +0100)]
yop: simplify/sanitize the decoding loop

Do not overwrite linesize set by get_buffer().

The last frame in the FATE test is not decoded anymore, since the file
is cut and a part of it is missing.

6 years agoc93: set palette_has_changed.
Anton Khirnov [Thu, 15 Nov 2012 09:38:38 +0000 (10:38 +0100)]
c93: set palette_has_changed.

6 years agobmp: cosmetics, reformat
Anton Khirnov [Thu, 15 Nov 2012 08:23:55 +0000 (09:23 +0100)]
bmp: cosmetics, reformat

6 years agotiffdec: Fix runend handling
Michael Niedermayer [Mon, 24 Dec 2012 03:35:12 +0000 (04:35 +0100)]
tiffdec: Fix runend handling

Fixes Ticket1999

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agorl2: return EOF on EOF
Michael Niedermayer [Mon, 24 Dec 2012 01:51:51 +0000 (02:51 +0100)]
rl2: return EOF on EOF

Fixes Ticket1947

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoChangelog: reword H264-MT entry
Michael Niedermayer [Mon, 24 Dec 2012 00:45:20 +0000 (01:45 +0100)]
Changelog: reword H264-MT entry

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodoc/filters: remove outdated comments
Stefano Sabatini [Mon, 24 Dec 2012 00:15:22 +0000 (01:15 +0100)]
doc/filters: remove outdated comments

Audio API should not be considered unstable any longer, and mentioning
VHOOK is confusing, as it was removed 4 years ago.

6 years agolavc/pthread: do not re-define _GNU_SOURCE if already defined.
Clément Bœsch [Sun, 23 Dec 2012 21:50:44 +0000 (22:50 +0100)]
lavc/pthread: do not re-define _GNU_SOURCE if already defined.

This fixes the following warning with GCC:
    libavcodec/pthread.c:35:0: warning: _GNU_SOURCE redefined [enabled by default]
    <command-line>::0: note: this is the location of the previous definition

The reason of the presence of this flag is:
    % pkg-config --cflags sdl
    -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL

6 years agodoc: stop generating syntax.html.
Clément Bœsch [Sun, 23 Dec 2012 20:29:00 +0000 (21:29 +0100)]
doc: stop generating syntax.html.

Just like doc/eval.texi, this file is meant to be included from
ffmpeg-utils.texi, and not to be used as a standalone documentation.

6 years agohlsenc: Don't duplicate a string constant
Martin Storsjö [Sun, 23 Dec 2012 19:34:06 +0000 (21:34 +0200)]
hlsenc: Don't duplicate a string constant

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agohlsenc: Allocate enough space for the pattern string
Stefano Sabatini [Thu, 20 Dec 2012 23:27:00 +0000 (00:27 +0100)]
hlsenc: Allocate enough space for the pattern string

If s->filename doesn't contain any period/filename extension to strip
away, the buffer will be too small to fit both strings. This isn't
any buffer overflow since the concatenation uses av_strlcat with
the right buffer size.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agoNIST SPHERE demuxer
Paul B Mahol [Tue, 18 Dec 2012 20:38:49 +0000 (20:38 +0000)]
NIST SPHERE demuxer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoalsdec: improve warning message when invalid channel position is found
Paul B Mahol [Sat, 22 Dec 2012 12:01:57 +0000 (12:01 +0000)]
alsdec: improve warning message when invalid channel position is found

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agodoc/ffserver: fix a few typo.
Clément Bœsch [Sun, 23 Dec 2012 19:25:28 +0000 (20:25 +0100)]
doc/ffserver: fix a few typo.

6 years agolavc: Correct the description of pkt_dts
Martin Storsjö [Sun, 23 Dec 2012 15:10:04 +0000 (17:10 +0200)]
lavc: Correct the description of pkt_dts

The description as updated in 6e5c44b0f made it sound like it is
handled exactly like the pts, which it is not. Clarify that it
is the packet that triggered returning the frame instead of just
the last avpacket (in case of frame threading, it won't be the
dts of the last packet).

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agodocs: add aresample/async example
Michael Niedermayer [Sat, 22 Dec 2012 23:06:37 +0000 (00:06 +0100)]
docs: add aresample/async example

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agox86/ac3dsp_init: try to workaround ICC failure.
Michael Niedermayer [Thu, 20 Dec 2012 16:09:09 +0000 (17:09 +0100)]
x86/ac3dsp_init: try to workaround ICC failure.

The asm code is not valid for older compilers as it uses too many
operands, ICC on x86_32 seems affected by this.
This patch disables the affected code for ICC on x86_32 and should
make it compileable again.
A better fix would be to use fewer operands or to change this code
to yasm, later is being worked on AFAIK so this is a temporary
solution.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi: remove mp=pp filter.
Clément Bœsch [Fri, 21 Dec 2012 21:13:25 +0000 (22:13 +0100)]
lavfi: remove mp=pp filter.

Native pp filter is available.

postproc dependency is also dropped from mp wrapper since it was the
only filter needing that dependency.

6 years agolavfi: add pp filter.
Clément Bœsch [Thu, 22 Nov 2012 17:19:12 +0000 (18:19 +0100)]
lavfi: add pp filter.

Ported from MPlayer. Original author is A'rpi, with various
contributions from Michael Niedermayer. The original documentation was
mostly written by Diego Biurrun. See the MPlayer history for full
credits.

The filter is under GPL like the original filter, even if it differs
quite a lot. There is not much point in making it LGPL since pp is under
GPL.

6 years agofate/mp=pp: remove dering subfilter test.
Clément Bœsch [Fri, 21 Dec 2012 21:05:34 +0000 (22:05 +0100)]
fate/mp=pp: remove dering subfilter test.

This subfilter gives a different output when linesize and width are
differents.

6 years agofate/mp=pp: expand subfilters with dr (dering) in them.
Clément Bœsch [Fri, 21 Dec 2012 21:03:40 +0000 (22:03 +0100)]
fate/mp=pp: expand subfilters with dr (dering) in them.

Commands are equivalent at this point.

6 years agoavfilter: Compile FIFO filters unconditionally
Diego Biurrun [Tue, 18 Dec 2012 14:04:48 +0000 (15:04 +0100)]
avfilter: Compile FIFO filters unconditionally

Building libavfilter without that functionality makes little sense.

6 years agoReturn proper error code after av_log_ask_for_sample()
Diego Biurrun [Sun, 23 Dec 2012 17:10:05 +0000 (18:10 +0100)]
Return proper error code after av_log_ask_for_sample()

6 years agoconfigure: cosmetics: Separate hwaccel dependencies from decoders/encoders
Diego Biurrun [Thu, 20 Dec 2012 21:40:39 +0000 (22:40 +0100)]
configure: cosmetics: Separate hwaccel dependencies from decoders/encoders

Also move mpegvideo_select statement to the correct position.

6 years agodoc/ffmpeg-resampler: mention that the options also work with the aresample filter
Michael Niedermayer [Sun, 23 Dec 2012 17:31:33 +0000 (18:31 +0100)]
doc/ffmpeg-resampler: mention that the options also work with the aresample filter

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agormenc: write correct bytes per minute
Piotr Bandurski [Sun, 23 Dec 2012 14:28:51 +0000 (15:28 +0100)]
rmenc: write correct bytes per minute

improves playback of ac3 in RealPlayer

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agormdec: set bit rate for ra3
Piotr Bandurski [Sun, 23 Dec 2012 12:39:06 +0000 (13:39 +0100)]
rmdec: set bit rate for ra3

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 23 Dec 2012 14:03:15 +0000 (15:03 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  8bps: cosmetics
  aasc: cosmetics, reformat
  ansi: remove an extra return
  asvdec: cosmetics, reformat
  aura: cosmetics, reformat

Conflicts:
libavcodec/aasc.c
libavcodec/asvdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit 'b047c68783aa4042b322af7af043b643d5daf09c'
Michael Niedermayer [Sun, 23 Dec 2012 13:36:47 +0000 (14:36 +0100)]
Merge commit 'b047c68783aa4042b322af7af043b643d5daf09c'

* commit 'b047c68783aa4042b322af7af043b643d5daf09c':
  4xm: don't rely on get_buffer() initializing the frame.
  huffyuv: split encoder and decoder into separate files.
  lavc: make pkt_{p,d}ts doxy less confusing

Conflicts:
libavcodec/Makefile
libavcodec/huffyuv.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '418693bdc5edad72b0d055f741931612d797eb05'
Michael Niedermayer [Sun, 23 Dec 2012 12:28:01 +0000 (13:28 +0100)]
Merge commit '418693bdc5edad72b0d055f741931612d797eb05'

* commit '418693bdc5edad72b0d055f741931612d797eb05':
  lavc: rewrite and extend AVFrame doxy
  opt: avoid segfault in av_opt_next() if the class does not have an option list
  ttadec: fix last frame handling when seeking
  alacdec: do not be too strict about the extradata size

Conflicts:
libavcodec/alac.c
libavcodec/avcodec.h
libavcodec/tta.c
libavutil/opt.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agooggdec: check memory allocation
Luca Barbato [Sat, 22 Dec 2012 16:58:24 +0000 (17:58 +0100)]
oggdec: check memory allocation

6 years agooggdec: K&R cosmetic formatting
Luca Barbato [Fri, 21 Dec 2012 18:12:41 +0000 (19:12 +0100)]
oggdec: K&R cosmetic formatting