ffmpeg.git
7 years agoffmpeg: use opt_acodec when setting audio codec in opt_target.
Baptiste Coudurier [Sat, 4 Jun 2011 02:52:27 +0000 (19:52 -0700)]
ffmpeg: use opt_acodec when setting audio codec in opt_target.

7 years agoffmpeg: fix segfault with too many output files
Michael Niedermayer [Fri, 3 Jun 2011 23:24:00 +0000 (01:24 +0200)]
ffmpeg: fix segfault with too many output files

Fixes Ticket219

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffplay: error out with invalid sample rate or channels.
Michael Niedermayer [Fri, 3 Jun 2011 22:16:12 +0000 (00:16 +0200)]
ffplay: error out with invalid sample rate or channels.

Fixes Ticket119
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agooggdec: fix Ticket185
Michael Niedermayer [Fri, 3 Jun 2011 19:14:30 +0000 (21:14 +0200)]
oggdec: fix Ticket185

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoj2kdec: dont fail on non zero cblock style.
Michael Niedermayer [Fri, 3 Jun 2011 17:34:43 +0000 (19:34 +0200)]
j2kdec: dont fail on non zero cblock style.

This allows decoding to continue a bit further for some files.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomakefile: fix j2k encoder dependancies
Rukhsana Ruby [Fri, 3 Jun 2011 16:47:30 +0000 (18:47 +0200)]
makefile: fix j2k encoder dependancies

7 years agoudp: fix indention
JULIAN GARDNER [Fri, 3 Jun 2011 14:08:16 +0000 (16:08 +0200)]
udp: fix indention

7 years agocmdutils: move "#undef main" from ffplay.c to cmdutils.h
Carl Eugen Hoyos [Fri, 3 Jun 2011 11:30:27 +0000 (13:30 +0200)]
cmdutils: move "#undef main" from ffplay.c to cmdutils.h

On Windows/MinGW the SDL cflags re-define the main() function, which
results in a linking error if the define is not undeffed.

Since the addition of the SDL output device, SDL cflags are used also
for compiling ffmpeg and ffprobe, so we need to move this trick from
ffplay.c to a common header.

Fix trac issue #256.

7 years agowav: update size check for ds64
Michael Niedermayer [Fri, 3 Jun 2011 13:37:44 +0000 (15:37 +0200)]
wav: update size check for ds64

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agowav: fix skip size at end of ds64 chunk
Philip de Nier [Thu, 2 Jun 2011 16:04:42 +0000 (17:04 +0100)]
wav: fix skip size at end of ds64 chunk

7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 3 Jun 2011 03:19:30 +0000 (05:19 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (25 commits)
  Replace custom DEBUG preprocessor trickery by the standard one.
  vorbis: Remove non-compiling debug statement.
  vorbis: Remove pointless DEBUG #ifdef around debug output macros.
  cook: Remove non-compiling debug output.
  Remove pointless #ifdefs around function declarations in a header.
  Replace #ifdef + av_log() combinations by av_dlog().
  Replace custom debug output functions by av_dlog().
  cook: Remove unused debug functions.
  Remove stray extra arguments from av_dlog() invocations.
  targa: fix big-endian build
  v4l2: remove one forgotten use of AVFormatParameters.pix_fmt.
  vfwcap: add a framerate private option.
  v4l2: add a framerate private option.
  libdc1394: add a framerate private option.
  fbdev: add a framerate private option.
  bktr: add a framerate private option.
  oma: check avio_read() return value
  nutdec: remove unused variable
  Remove unused variables
  swscale: allocate larger buffer to handle altivec overreads.
  ...

Conflicts:
ffmpeg.c
libavcodec/dca.c
libavcodec/dirac.c
libavcodec/error_resilience.c
libavcodec/h264.c
libavcodec/mpeg12.c
libavcodec/mpeg4videodec.c
libavcodec/mpegvideo.c
libavcodec/mpegvideo_enc.c
libavcodec/pthread.c
libavcodec/rv10.c
libavcodec/s302m.c
libavcodec/shorten.c
libavcodec/truemotion2.c
libavcodec/utils.c
libavdevice/dv1394.c
libavdevice/fbdev.c
libavdevice/libdc1394.c
libavdevice/v4l2.c
libavformat/4xm.c
libavformat/apetag.c
libavformat/asfdec.c
libavformat/avidec.c
libavformat/mmf.c
libavformat/mpeg.c
libavformat/mpegenc.c
libavformat/mpegts.c
libavformat/oggdec.c
libavformat/oggparseogm.c
libavformat/rl2.c
libavformat/rmdec.c
libavformat/rpl.c
libavformat/rtpdec_latm.c
libavformat/sauce.c
libavformat/sol.c
libswscale/utils.c
tests/ref/vsynth1/error
tests/ref/vsynth2/error

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoh264 fill_filter_caches: Dont init chroma nnz_cache.
Michael Niedermayer [Fri, 3 Jun 2011 01:43:46 +0000 (03:43 +0200)]
h264 fill_filter_caches: Dont init chroma nnz_cache.

Found-by: Dark Shikari
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoIn print_report, print progression time in hours:mins:secs:us
Baptiste Coudurier [Thu, 2 Jun 2011 22:29:36 +0000 (00:29 +0200)]
In print_report, print progression time in hours:mins:secs:us

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmpeg: In print_report, use int64_t for pts to check for 0 and avoid inf value for...
Baptiste Coudurier [Thu, 2 Jun 2011 22:28:52 +0000 (00:28 +0200)]
ffmpeg: In print_report, use int64_t for pts to check for 0 and avoid inf value for bitrate.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoIn libswscale, use all lines when converting from 422p to rgb with mmx, improve quality.
Baptiste Coudurier [Thu, 2 Jun 2011 22:12:43 +0000 (00:12 +0200)]
In libswscale, use all lines when converting from 422p to rgb with mmx, improve quality.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoReplace custom DEBUG preprocessor trickery by the standard one.
Diego Biurrun [Thu, 2 Jun 2011 20:45:15 +0000 (22:45 +0200)]
Replace custom DEBUG preprocessor trickery by the standard one.

7 years agovorbis: Remove non-compiling debug statement.
Diego Biurrun [Thu, 2 Jun 2011 21:03:54 +0000 (23:03 +0200)]
vorbis: Remove non-compiling debug statement.

7 years agovorbis: Remove pointless DEBUG #ifdef around debug output macros.
Diego Biurrun [Thu, 2 Jun 2011 21:02:34 +0000 (23:02 +0200)]
vorbis: Remove pointless DEBUG #ifdef around debug output macros.

7 years agocook: Remove non-compiling debug output.
Diego Biurrun [Thu, 2 Jun 2011 20:59:27 +0000 (22:59 +0200)]
cook: Remove non-compiling debug output.

random_state was changed from an int to a struct and can no longer be printed
as easily as before.

7 years agoRemove pointless #ifdefs around function declarations in a header.
Diego Biurrun [Thu, 2 Jun 2011 20:56:29 +0000 (22:56 +0200)]
Remove pointless #ifdefs around function declarations in a header.

7 years agoReplace #ifdef + av_log() combinations by av_dlog().
Diego Biurrun [Thu, 2 Jun 2011 20:55:51 +0000 (22:55 +0200)]
Replace #ifdef + av_log() combinations by av_dlog().

7 years agoReplace custom debug output functions by av_dlog().
Diego Biurrun [Thu, 2 Jun 2011 20:49:53 +0000 (22:49 +0200)]
Replace custom debug output functions by av_dlog().

7 years agocook: Remove unused debug functions.
Diego Biurrun [Thu, 2 Jun 2011 20:46:11 +0000 (22:46 +0200)]
cook: Remove unused debug functions.

7 years agolavfi: add avfilter_link_free() function
Stefano Sabatini [Thu, 2 Jun 2011 15:45:33 +0000 (17:45 +0200)]
lavfi: add avfilter_link_free() function

Allow to free the buffers cached in each AVFilterLink pool.
Fix leak.

7 years agoswscale: reintroduce sws_format_name() symbol
Stefano Sabatini [Thu, 2 Jun 2011 17:00:47 +0000 (19:00 +0200)]
swscale: reintroduce sws_format_name() symbol

Reintroduce the internal symbol which was removed in:

commit e1197b9e1746c03b1d13d816d1569aeaf1b71ecc
Author: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Date:   Sun May 29 17:57:40 2011 +0200

    swscale: remove sws_format_name()

    Use av_get_pix_fmt_name() instead.

The symbol is used by some external libs (hi libx264!), this gives
time to them to use the recently added av_get_pix_fmt_name() rather
than an internal symbol.

7 years agoRemove stray extra arguments from av_dlog() invocations.
Diego Biurrun [Thu, 2 Jun 2011 18:40:09 +0000 (20:40 +0200)]
Remove stray extra arguments from av_dlog() invocations.

7 years agotarga: fix big-endian build
Mans Rullgard [Thu, 2 Jun 2011 20:07:53 +0000 (21:07 +0100)]
targa: fix big-endian build

7 years agov4l2: remove one forgotten use of AVFormatParameters.pix_fmt.
Anton Khirnov [Sun, 29 May 2011 13:22:45 +0000 (15:22 +0200)]
v4l2: remove one forgotten use of AVFormatParameters.pix_fmt.

7 years agovfwcap: add a framerate private option.
Anton Khirnov [Tue, 24 May 2011 19:16:47 +0000 (21:16 +0200)]
vfwcap: add a framerate private option.

7 years agov4l2: add a framerate private option.
Anton Khirnov [Tue, 24 May 2011 19:16:47 +0000 (21:16 +0200)]
v4l2: add a framerate private option.

7 years agolibdc1394: add a framerate private option.
Anton Khirnov [Tue, 24 May 2011 19:16:47 +0000 (21:16 +0200)]
libdc1394: add a framerate private option.

7 years agofbdev: add a framerate private option.
Anton Khirnov [Tue, 24 May 2011 19:16:47 +0000 (21:16 +0200)]
fbdev: add a framerate private option.

7 years agobktr: add a framerate private option.
Anton Khirnov [Tue, 24 May 2011 19:16:47 +0000 (21:16 +0200)]
bktr: add a framerate private option.

7 years agooma: check avio_read() return value
Mans Rullgard [Wed, 1 Jun 2011 16:30:28 +0000 (17:30 +0100)]
oma: check avio_read() return value

7 years agonutdec: remove unused variable
Mans Rullgard [Wed, 1 Jun 2011 16:29:22 +0000 (17:29 +0100)]
nutdec: remove unused variable

7 years agoRemove unused variables
Mans Rullgard [Wed, 1 Jun 2011 16:26:27 +0000 (17:26 +0100)]
Remove unused variables

7 years agoswscale: dither for planar yuv outputs
Michael Niedermayer [Thu, 2 Jun 2011 02:41:44 +0000 (04:41 +0200)]
swscale: dither for planar yuv outputs

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswscale: Fix use of uninitialized values
Michael Niedermayer [Thu, 2 Jun 2011 17:26:40 +0000 (19:26 +0200)]
swscale: Fix use of uninitialized values
(bug probably introduced from a marge of libav)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agocpudetect: add av_force_cpu_flags()
Michael Niedermayer [Thu, 2 Jun 2011 14:09:22 +0000 (16:09 +0200)]
cpudetect: add av_force_cpu_flags()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswscale: allocate larger buffer to handle altivec overreads.
Ronald S. Bultje [Thu, 2 Jun 2011 18:25:56 +0000 (11:25 -0700)]
swscale: allocate larger buffer to handle altivec overreads.

Altivec sws code intentionally overreads buffers for better performance,
so we need to allocate larger buffers to handle that.

7 years agoH264/MPEG frame-level multi-threading.
Alexander Strange [Thu, 2 Jun 2011 17:15:58 +0000 (10:15 -0700)]
H264/MPEG frame-level multi-threading.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
7 years agovsrc_buffer: propagate error code in av_vsrc_buffer_add_frame()
Stefano Sabatini [Thu, 2 Jun 2011 14:09:24 +0000 (16:09 +0200)]
vsrc_buffer: propagate error code in av_vsrc_buffer_add_frame()

Propagate av_vsrc_buffer_add_video_buffer_ref() error code rather than
return 0.

7 years agolavfi: reindent after the previous commit
Stefano Sabatini [Thu, 2 Jun 2011 14:36:12 +0000 (16:36 +0200)]
lavfi: reindent after the previous commit

7 years agolavfi: add braces around the block of an if() expression in avfilter_default_get_vide...
Stefano Sabatini [Thu, 2 Jun 2011 14:33:25 +0000 (16:33 +0200)]
lavfi: add braces around the block of an if() expression in avfilter_default_get_video_buffer

Clarify code layout.

7 years agolavfi: clarify the context of a comment in avfilter_default_get_video_buffer()
Stefano Sabatini [Thu, 2 Jun 2011 14:27:56 +0000 (16:27 +0200)]
lavfi: clarify the context of a comment in avfilter_default_get_video_buffer()

The comment is meant to be about the align parameter.

7 years agolavfi: apply misc style fixes
Stefano Sabatini [Thu, 2 Jun 2011 14:26:55 +0000 (16:26 +0200)]
lavfi: apply misc style fixes

Adopt K&R style for overall consistency/readability.

7 years agoCosmetic changes to h264_idct_10bit.asm.
Loren Merritt [Wed, 1 Jun 2011 05:01:01 +0000 (01:01 -0400)]
Cosmetic changes to h264_idct_10bit.asm.

Removes redundant dword tags and whitespace changes.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
7 years ago2x faster h264_idct_add8_10.
Loren Merritt [Thu, 2 Jun 2011 01:53:15 +0000 (21:53 -0400)]
2x faster h264_idct_add8_10.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
7 years agoaacenc: Add stereo_mode option.
Nathan Caldwell [Wed, 1 Jun 2011 05:38:09 +0000 (23:38 -0600)]
aacenc: Add stereo_mode option.

ms_off is the default, until Mid/Side is no longer buggy.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
7 years agoh264: remove CONFIG_GPL from x86 intra prediction code.
Ronald S. Bultje [Thu, 2 Jun 2011 04:56:55 +0000 (21:56 -0700)]
h264: remove CONFIG_GPL from x86 intra prediction code.

The authors permitted relicensing to LGPL a long time ago (Holger,
Loren and Jason).

7 years agodoc: cosmetics: libx264 typos
James Zern [Wed, 1 Jun 2011 20:56:12 +0000 (13:56 -0700)]
doc: cosmetics: libx264 typos

7 years agopostprocess: Remove test for impossible condition (was: Re: postprocess.c: replace...
Piotr Kaczuba [Wed, 1 Jun 2011 16:47:37 +0000 (18:47 +0200)]
postprocess: Remove test for impossible condition (was: Re: postprocess.c: replace check for p==NULL with *p==0)

7 years agoFix various uninitialized variable warnings
Clément Bœsch [Sun, 29 May 2011 19:02:20 +0000 (21:02 +0200)]
Fix various uninitialized variable warnings

7 years agoPort remove of get_sws_cpuflags from MPlayer's libmpcodecs.
Reimar Döffinger [Wed, 1 Jun 2011 19:30:13 +0000 (21:30 +0200)]
Port remove of get_sws_cpuflags from MPlayer's libmpcodecs.

7 years agoReplace "vector const" by "const vector" otherwise gcc 4.6.0 fails.
Reimar Döffinger [Wed, 1 Jun 2011 20:15:36 +0000 (22:15 +0200)]
Replace "vector const" by "const vector" otherwise gcc 4.6.0 fails.

Given that this compiles fine with the Apple compiler that is probably
a gcc bug, but "const vector" is nicer anyway.

7 years agoPort recent changes to MPlayer libmpcodecs.
Reimar Döffinger [Wed, 1 Jun 2011 19:24:16 +0000 (21:24 +0200)]
Port recent changes to MPlayer libmpcodecs.

Also include an older fix for vf_smartblur which was essentially
broken due to reading the threshold value wrongly.

7 years agoReplace non-existent HAVE_SSE2 with HAVE_SSE.
Reimar Döffinger [Wed, 1 Jun 2011 18:52:43 +0000 (20:52 +0200)]
Replace non-existent HAVE_SSE2 with HAVE_SSE.

Since this is only a compilation check (the actual function used is
selected at runtime) and HAVE_SSE indicates that we can also compile
SSE2 code, this is correct.

7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 2 Jun 2011 03:12:10 +0000 (05:12 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  ARM: ac3dsp: optimised update_bap_counts()
  mpegaudiodec: Fix av_dlog() invocation.
  h264/10bit: add HAVE_ALIGNED_STACK checks.
  Update 8-bit H.264 IDCT function names to reflect bit-depth.
  Add IDCT functions for 10-bit H.264.
  mpegaudioenc: Fix broken av_dlog statement.
  Employ correct printf format specifiers, mostly in debug output.
  ARM: fix MUL64 inline asm for pre-armv6

Conflicts:
libavcodec/mpegaudioenc.c
libavformat/ape.c
libavformat/mxfdec.c
libavformat/r3d.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoSimplify code and avoid compiler warning about incompatible types.
Reimar Döffinger [Wed, 1 Jun 2011 18:29:27 +0000 (20:29 +0200)]
Simplify code and avoid compiler warning about incompatible types.

7 years agoFix type of out[] variable, it should not be const.
Reimar Döffinger [Wed, 1 Jun 2011 18:26:54 +0000 (20:26 +0200)]
Fix type of out[] variable, it should not be const.

Fixes compiler warning about incompatible types in sws_scale call.

7 years agoARM: ac3dsp: optimised update_bap_counts()
Mans Rullgard [Sun, 29 May 2011 13:27:03 +0000 (14:27 +0100)]
ARM: ac3dsp: optimised update_bap_counts()

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agompegaudiodec: Fix av_dlog() invocation.
Diego Biurrun [Wed, 1 Jun 2011 10:17:30 +0000 (12:17 +0200)]
mpegaudiodec: Fix av_dlog() invocation.

Some parameters passed to the av_dlog can be either float or int, depending on
the mode the file is being compiled as.  Cast those parameters to float and use
appropriate conversion specifiers.

7 years agoswscale: fix compilation of bfin due to missing pixdesc.h header
Stefano Sabatini [Wed, 1 Jun 2011 11:30:35 +0000 (13:30 +0200)]
swscale: fix compilation of bfin due to missing pixdesc.h header

This is required after sws_format_name() was replaced by
av_get_pix_fmt(), which is declared in libavutil/pixdesc.h.

7 years agolavf: tag dump_format() as @deprecated
Stefano Sabatini [Wed, 1 Jun 2011 11:07:57 +0000 (13:07 +0200)]
lavf: tag dump_format() as @deprecated

This makes the generated Doxygen doc link to the replacement
av_dump_format() function.

7 years agoyuv4mpeg: complain and exit if a non-rawvideo stream is selected
Stefano Sabatini [Mon, 30 May 2011 15:09:12 +0000 (17:09 +0200)]
yuv4mpeg: complain and exit if a non-rawvideo stream is selected

The yuv4mpeg muxer will crash otherwise.

7 years agoffmpeg: handle copy of packets for AVFMT_RAWPICTURE output formats
Stefano Sabatini [Mon, 30 May 2011 14:52:35 +0000 (16:52 +0200)]
ffmpeg: handle copy of packets for AVFMT_RAWPICTURE output formats

Store AVPicture in AVPacket as required by AVFMT_RAWPICTURE formats.

Fix trac issue #251.

7 years agodoc/examples: give meaningful names to the example files
Stefano Sabatini [Mon, 30 May 2011 07:18:42 +0000 (09:18 +0200)]
doc/examples: give meaningful names to the example files

Rename:
api-example.c    -> encoding-example.c
output-example.c -> muxing-example.c

7 years agoh264/10bit: add HAVE_ALIGNED_STACK checks.
Daniel Kang [Wed, 1 Jun 2011 03:10:51 +0000 (23:10 -0400)]
h264/10bit: add HAVE_ALIGNED_STACK checks.

Fixes regression in 836f47d34b49e8ba9883e738a42f154130421caa in ICC-10.x,
since ICC<=11.0 doesn't align stack upon function calls.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
7 years agoswscale: More accurate rounding in YSCALE_YUV_2_PACKEDX_FULL_C()
Michael Niedermayer [Wed, 1 Jun 2011 02:15:13 +0000 (04:15 +0200)]
swscale: More accurate rounding in YSCALE_YUV_2_PACKEDX_FULL_C()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 31 May 2011 21:16:26 +0000 (23:16 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  vf_drawtext: Replace FFmpeg by Libav in license boilerplate.
  mpegaudiodec: remove unusued code and variables
  improved 'edts' atom writing support
  mpegaudio: clean up compute_antialias() definition
  vp8: fix segmentation race during frame-threading.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoUpdate 8-bit H.264 IDCT function names to reflect bit-depth.
Daniel Kang [Tue, 24 May 2011 19:15:08 +0000 (15:15 -0400)]
Update 8-bit H.264 IDCT function names to reflect bit-depth.

Signed-off-by: Ronald S. Bultje <rbultje@google.com>
7 years agoAdd IDCT functions for 10-bit H.264.
Daniel Kang [Tue, 24 May 2011 19:14:38 +0000 (15:14 -0400)]
Add IDCT functions for 10-bit H.264.

Ports the majority of IDCT functions for 10-bit H.264.

Parts are inspired from 8-bit IDCT code in Libav; other parts ported from x264 with relicensing permission from author.

Signed-off-by: Ronald S. Bultje <rbultje@google.com>
7 years agompegaudioenc: Fix broken av_dlog statement.
Diego Biurrun [Tue, 31 May 2011 19:24:13 +0000 (21:24 +0200)]
mpegaudioenc: Fix broken av_dlog statement.

7 years agoEmploy correct printf format specifiers, mostly in debug output.
Diego Biurrun [Tue, 31 May 2011 19:23:45 +0000 (21:23 +0200)]
Employ correct printf format specifiers, mostly in debug output.

7 years agoARM: fix MUL64 inline asm for pre-armv6
Mans Rullgard [Tue, 31 May 2011 20:04:01 +0000 (21:04 +0100)]
ARM: fix MUL64 inline asm for pre-armv6

Prior to ARMv6, the destination registers of the SMULL instruction
must be distinct from the first source register.  Marking the
output early-clobber ensures it is allocated unique registers.

This restriction is dropped in ARMv6 and later, so allowing overlap
between input and output registers there might give better code.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agodoc: add libvpx encoder section
James Zern [Tue, 31 May 2011 20:48:49 +0000 (13:48 -0700)]
doc: add libvpx encoder section

Documents the mapping from FFmpeg options to libvpx.

7 years agovf_drawtext: Replace FFmpeg by Libav in license boilerplate.
Diego Biurrun [Tue, 31 May 2011 12:00:12 +0000 (14:00 +0200)]
vf_drawtext: Replace FFmpeg by Libav in license boilerplate.

7 years agompegaudiodec: remove unusued code and variables
Mans Rullgard [Tue, 31 May 2011 17:38:01 +0000 (18:38 +0100)]
mpegaudiodec: remove unusued code and variables

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agopostprocess.c: filter name needs to be double 0 terminated
Piotr Kaczuba [Mon, 30 May 2011 11:19:35 +0000 (13:19 +0200)]
postprocess.c: filter name needs to be double 0 terminated

7 years agoimproved 'edts' atom writing support
Gil Pedersen [Mon, 2 May 2011 17:25:28 +0000 (19:25 +0200)]
improved 'edts' atom writing support

The 'edts' write function can now generate an initial empty edit resulting in a track-specific presentation delay.
This is automatically calculated and inserted for any track where the initial DTS != 0.
Added support for long (version==1) timecodes.

7 years agompegaudio: clean up compute_antialias() definition
Mans Rullgard [Thu, 19 May 2011 12:36:21 +0000 (13:36 +0100)]
mpegaudio: clean up compute_antialias() definition

This merges the float and fixed-point versions of the compute_antialias
function, fixes invalid array indexing, and eliminates a dead copy of
csa_table.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agovp8: fix segmentation race during frame-threading.
Ronald S. Bultje [Sun, 29 May 2011 22:53:42 +0000 (18:53 -0400)]
vp8: fix segmentation race during frame-threading.

Fixes occasional failure of make fate-vp8-test-vector-010 with
frame-multithreading enabled.

7 years agoPort libmpcodec fixes from MPlayer.
Reimar Döffinger [Mon, 30 May 2011 21:44:54 +0000 (23:44 +0200)]
Port libmpcodec fixes from MPlayer.

7 years ago Merge remote-tracking branch 'ffmpeg-mt/master'
Alexander Strange [Tue, 31 May 2011 01:10:35 +0000 (03:10 +0200)]
Merge remote-tracking branch 'ffmpeg-mt/master'

    * ffmpeg-mt/master:
      Update todo
      The maximum buffer size needs to be 33, not 32

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

7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 31 May 2011 00:08:13 +0000 (02:08 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  swscale: Remove unused variable.
  ARM: simplify inline asm with 64-bit operands

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswscale: Remove unused variable.
Diego Biurrun [Mon, 30 May 2011 18:31:27 +0000 (20:31 +0200)]
swscale: Remove unused variable.

7 years agoARM: simplify inline asm with 64-bit operands
Mans Rullgard [Mon, 30 May 2011 15:37:06 +0000 (16:37 +0100)]
ARM: simplify inline asm with 64-bit operands

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoAdd "const" to avoid "initialization discards qualifiers" warning.
Reimar Döffinger [Mon, 30 May 2011 18:07:39 +0000 (20:07 +0200)]
Add "const" to avoid "initialization discards qualifiers" warning.

7 years agoAdd const to fix "cast discards qualifiers" warnings.
Reimar Döffinger [Mon, 30 May 2011 18:02:39 +0000 (20:02 +0200)]
Add const to fix "cast discards qualifiers" warnings.

7 years agoInclude pixdesc.h for av_get_pix_fmt_name.
Reimar Döffinger [Mon, 30 May 2011 17:35:32 +0000 (19:35 +0200)]
Include pixdesc.h for av_get_pix_fmt_name.

Fixes compilation on PPC with Altivec enabled.

7 years agowav: Don't avio_seek() if we know we'll run into EOF
Tomas Härdin [Fri, 27 May 2011 20:01:32 +0000 (22:01 +0200)]
wav: Don't avio_seek() if we know we'll run into EOF

Since we want to break the loop the 'if (data_ofs < 0)' block is moved after the loop.
This fixes ticket #250.

7 years agoapi-example: uppercase first letter in "copyright"
Stefano Sabatini [Mon, 30 May 2011 07:14:48 +0000 (09:14 +0200)]
api-example: uppercase first letter in "copyright"

Improve consistency.

7 years agooutput-example: create @file doxy from text in the copyright header
Stefano Sabatini [Mon, 30 May 2011 07:12:48 +0000 (09:12 +0200)]
output-example: create @file doxy from text in the copyright header

7 years agoexamples: move API examples to a dedicated dir in doc
Stefano Sabatini [Sun, 29 May 2011 10:47:40 +0000 (12:47 +0200)]
examples: move API examples to a dedicated dir in doc

7 years agoffmpeg: simplify opt_*_codec() options
Stefano Sabatini [Sun, 29 May 2011 08:42:44 +0000 (10:42 +0200)]
ffmpeg: simplify opt_*_codec() options

Replace opt_{audio,video,subtitle,data}_codec() with a single
opt_codec() function.

7 years agov4l2: rewrite code iterating the supported standards
Stefano Sabatini [Sat, 28 May 2011 19:14:06 +0000 (21:14 +0200)]
v4l2: rewrite code iterating the supported standards

Simplify/clarify the code logic and error reporting.

7 years agov4l2: perform minor style fixes
Stefano Sabatini [Sat, 28 May 2011 19:04:29 +0000 (21:04 +0200)]
v4l2: perform minor style fixes

7 years agov4l2: replace memset() with explicit struct initialization
Stefano Sabatini [Sat, 28 May 2011 19:02:14 +0000 (21:02 +0200)]
v4l2: replace memset() with explicit struct initialization

7 years agorawdec: fail in case of unknow pixel format
Stefano Sabatini [Sun, 29 May 2011 23:42:45 +0000 (01:42 +0200)]
rawdec: fail in case of unknow pixel format

7 years agoswscale: remove sws_format_name()
Stefano Sabatini [Sun, 29 May 2011 15:57:40 +0000 (17:57 +0200)]
swscale: remove sws_format_name()

Use av_get_pix_fmt_name() instead.