]> git.sesse.net Git - ffmpeg/log
ffmpeg
12 years agovcr1dec: Check that there is sufficient input data.
Michael Niedermayer [Wed, 28 Dec 2011 18:05:16 +0000 (19:05 +0100)]
vcr1dec: Check that there is sufficient input data.
Fixes crash.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agov410dec: Check for sufficient input data.
Michael Niedermayer [Wed, 28 Dec 2011 17:33:29 +0000 (18:33 +0100)]
v410dec: Check for sufficient input data.
Fixes crash

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoFix a crash when reading gray pam files.
Carl Eugen Hoyos [Wed, 28 Dec 2011 04:59:39 +0000 (05:59 +0100)]
Fix a crash when reading gray pam files.

Fixes ticket #837.

12 years agoFix a typo that broke writing (and reading) PAM files.
Carl Eugen Hoyos [Wed, 28 Dec 2011 04:54:59 +0000 (05:54 +0100)]
Fix a typo that broke writing (and reading) PAM files.

Reported and reviewed by Derek Buitenhuis.

12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 27 Dec 2011 23:48:53 +0000 (00:48 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  mpegvideo_enc: K&R cosmetics
  doxygen: remove unreplaced variables from custom header and footer
  threads: test for sys/param.h and include it for sysctl on OpenBSD
  v4l2: remove unneded linux specific asm/types.h include
  x86: Fix constraints for decode_significance*_x86

Conflicts:
libavcodec/mpegvideo_enc.c
libavdevice/v4l2.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoFixed crash in palette handling when converting certain .png images to .pcx or .bmp.
Frank Vernaillen [Tue, 27 Dec 2011 19:47:49 +0000 (20:47 +0100)]
Fixed crash in palette handling when converting certain .png images to .pcx or .bmp.

The existing code expected a palette buffer holding 256 uint32_t's allocated in the data[1] field of the AVFrame structure, but data[1] was NULL. The bug is fixed by using a fixed local array (palette256) to hold the palette instead.

This solves http://ffmpeg.org/trac/ffmpeg/ticket/833

Signed-off-by: Frank Vernaillen <fr_ve@hotmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMakefile: fix path to ffprobe.xsd
Michael Niedermayer [Tue, 27 Dec 2011 21:29:40 +0000 (22:29 +0100)]
Makefile: fix path to ffprobe.xsd

Idea-by: beastd
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompegvideo_enc: K&R cosmetics
Aneesh Dogra [Tue, 27 Dec 2011 06:08:07 +0000 (11:38 +0530)]
mpegvideo_enc: K&R cosmetics

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoMake Interplay palette opaque and increase its dynamics.
Carl Eugen Hoyos [Tue, 27 Dec 2011 17:26:31 +0000 (18:26 +0100)]
Make Interplay palette opaque and increase its dynamics.

12 years agoSupport decoding yuv442 and yuv421 jpeg images.
Carl Eugen Hoyos [Tue, 27 Dec 2011 17:21:38 +0000 (18:21 +0100)]
Support decoding yuv442 and yuv421 jpeg images.

Fixes ticket #787.

12 years agoFix some 1bit png samples, they can be palettised.
Carl Eugen Hoyos [Tue, 27 Dec 2011 17:17:57 +0000 (18:17 +0100)]
Fix some 1bit png samples, they can be palettised.

Fixes ticket #767.

12 years agodoxygen: remove unreplaced variables from custom header and footer
Janne Grunau [Tue, 27 Dec 2011 13:33:58 +0000 (14:33 +0100)]
doxygen: remove unreplaced variables from custom header and footer

12 years agothreads: test for sys/param.h and include it for sysctl on OpenBSD
Janne Grunau [Fri, 23 Dec 2011 23:23:55 +0000 (00:23 +0100)]
threads: test for sys/param.h and include it for sysctl on OpenBSD

12 years agov4l2: remove unneded linux specific asm/types.h include
Janne Grunau [Mon, 26 Dec 2011 23:14:41 +0000 (00:14 +0100)]
v4l2: remove unneded linux specific asm/types.h include

12 years agolavfi: add asplit filter
Stefano Sabatini [Sun, 25 Dec 2011 22:04:44 +0000 (23:04 +0100)]
lavfi: add asplit filter

12 years agolavfi: add missing check in avfilter_filter_samples()
Stefano Sabatini [Tue, 27 Dec 2011 14:15:02 +0000 (15:15 +0100)]
lavfi: add missing check in avfilter_filter_samples()

Avoid out-of-buffer data access when nb_channels is 8.

12 years agolavfi: fix avfilter_default_get_audio_buffer() after changes in av_samples_alloc()
Stefano Sabatini [Sun, 25 Dec 2011 22:35:06 +0000 (23:35 +0100)]
lavfi: fix avfilter_default_get_audio_buffer() after changes in av_samples_alloc()

av_samples_alloc() behavior changed in bbb46f3ec, resulting in random
data filling the data[] and linesize[] arrays of the returned
AVFilterBufferRef, which was resulting in wrong behavior in case of code
checking on data[i] nullity.

In particular fixes crash in avfilter_filter_samples():
        for (i = 0; samplesref->data[i]; i++)
            memcpy(link->cur_buf->data[i], samplesref->data[i], samplesref->linesize[0]);

and correctly fills the linesize[] array for planar data.

12 years agolavfi: don't try to indent words in trace messages
Stefano Sabatini [Sun, 25 Dec 2011 12:23:02 +0000 (13:23 +0100)]
lavfi: don't try to indent words in trace messages

The traces end up not indented and ugly anyway, but with the additional
spaces are much more painful to grep/parse.

12 years agoffprobe: add XML writer
Stefano Sabatini [Sat, 8 Oct 2011 22:24:31 +0000 (00:24 +0200)]
ffprobe: add XML writer

12 years agoffprobe: add show_private_data option
Stefano Sabatini [Thu, 22 Dec 2011 09:34:31 +0000 (10:34 +0100)]
ffprobe: add show_private_data option

12 years agoff* tools: move descriptions from copyright header to @file doxy
Stefano Sabatini [Thu, 22 Dec 2011 09:23:22 +0000 (10:23 +0100)]
ff* tools: move descriptions from copyright header to @file doxy

12 years agoChangelog: move thunbnail filter entry from 0.9 to "next" section
Stefano Sabatini [Tue, 27 Dec 2011 11:56:45 +0000 (12:56 +0100)]
Changelog: move thunbnail filter entry from 0.9 to "next" section

12 years agothumbnail: fix error code in case of invalid args.
Clément Bœsch [Tue, 27 Dec 2011 10:15:21 +0000 (11:15 +0100)]
thumbnail: fix error code in case of invalid args.

12 years agolavfi: add thumbnail video filter.
Clément Bœsch [Mon, 24 Oct 2011 15:11:10 +0000 (17:11 +0200)]
lavfi: add thumbnail video filter.

12 years agox86: Fix constraints for decode_significance*_x86
Martin Storsjö [Mon, 26 Dec 2011 19:47:20 +0000 (21:47 +0200)]
x86: Fix constraints for decode_significance*_x86

Originally, prior to 8742a4ff8, the caller code was compiled
within this condition:

ARCH_X86 && HAVE_7REGS && HAVE_EBX_AVAILABLE && !defined(BROKEN_RELOCATIONS)

Since HAVE_7REGS is defined as
(ARCH_X86_64 || (HAVE_EBX_AVAILABLE && HAVE_EBP_AVAILABLE))
the subcondition HAVE_7REGS && HAVE_EBX_AVAILABLE is equal
to HAVE_7REGS (for 32 bit at least). The correct simplification
of the original condition thus is HAVE_7REGS, not
HAVE_EBX_AVAILABLE.

This fixes compilation in some cases where HAVE_EBP_AVAILABLE = 0
and HAVE_EBX_AVAILABLE = 1.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agompegvideo: fix visualization buffer size.
Michael Niedermayer [Tue, 27 Dec 2011 04:53:58 +0000 (05:53 +0100)]
mpegvideo: fix visualization buffer size.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: Check that frames are user type before treating them as such
Michael Niedermayer [Tue, 27 Dec 2011 04:34:50 +0000 (05:34 +0100)]
ffmpeg: Check that frames are user type before treating them as such

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: disable dr1 in case of resolution changes, as this does not work currently.
Michael Niedermayer [Tue, 27 Dec 2011 04:22:44 +0000 (05:22 +0100)]
ffmpeg: disable dr1 in case of resolution changes, as this does not work currently.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: add remaining hunks to enable dr1 support
Michael Niedermayer [Mon, 26 Dec 2011 04:50:25 +0000 (05:50 +0100)]
ffmpeg: add remaining hunks to enable dr1 support

Author: Anton Khirnov
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 27 Dec 2011 00:19:04 +0000 (01:19 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  fate: split off vqf/twinvq FATE tests into their own file
  fate: split off mpc FATE tests into their own file
  fate: split off libavcodec FATE tests into their own file
  fate: split off Microsoft codec FATE tests into their own file
  fate: group all VP* codec FATE tests together in one file
  swscale: prevent invalid writes in packed_16bpc_bswap

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agofate: warn if SAMPLES is not specified.
Clément Bœsch [Thu, 22 Dec 2011 15:22:48 +0000 (16:22 +0100)]
fate: warn if SAMPLES is not specified.

12 years agofate: give stderr hint when a test fails.
Clément Bœsch [Thu, 22 Dec 2011 17:17:13 +0000 (18:17 +0100)]
fate: give stderr hint when a test fails.

12 years agofate: add generic rules for most of the tests/fate/*.mak files.
Clément Bœsch [Thu, 22 Dec 2011 15:13:03 +0000 (16:13 +0100)]
fate: add generic rules for most of the tests/fate/*.mak files.

12 years agodv: fix avpriv_dv_codec_profile with lowres > 0
Marton Balint [Sun, 25 Dec 2011 18:31:23 +0000 (19:31 +0100)]
dv: fix avpriv_dv_codec_profile with lowres > 0

Fixes ticket #44.

Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoid3v2: fix variable type for uncompress()
Michael Niedermayer [Mon, 26 Dec 2011 20:35:21 +0000 (21:35 +0100)]
id3v2: fix variable type for uncompress()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoProcess compressed id3v2 tags.
Adrian Drzewiecki [Sat, 24 Dec 2011 19:06:22 +0000 (11:06 -0800)]
Process compressed id3v2 tags.

ID3v2.4 allows for zlib compressed tags, but libavformat skips them.
Implement code to inflate compressed tags.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agofate: split off vqf/twinvq FATE tests into their own file
Diego Biurrun [Wed, 14 Dec 2011 22:19:03 +0000 (23:19 +0100)]
fate: split off vqf/twinvq FATE tests into their own file

12 years agofate: split off mpc FATE tests into their own file
Diego Biurrun [Wed, 14 Dec 2011 22:08:05 +0000 (23:08 +0100)]
fate: split off mpc FATE tests into their own file

12 years agofate: split off libavcodec FATE tests into their own file
Diego Biurrun [Wed, 14 Dec 2011 22:03:37 +0000 (23:03 +0100)]
fate: split off libavcodec FATE tests into their own file

12 years agofate: split off Microsoft codec FATE tests into their own file
Diego Biurrun [Wed, 14 Dec 2011 21:41:26 +0000 (22:41 +0100)]
fate: split off Microsoft codec FATE tests into their own file

12 years agofate: group all VP* codec FATE tests together in one file
Diego Biurrun [Wed, 14 Dec 2011 21:22:33 +0000 (22:22 +0100)]
fate: group all VP* codec FATE tests together in one file

12 years agoswscale: prevent invalid writes in packed_16bpc_bswap
Janne Grunau [Mon, 26 Dec 2011 12:38:39 +0000 (13:38 +0100)]
swscale: prevent invalid writes in packed_16bpc_bswap

Writes past the end of the destination buffer were occuring when its
stride was smaller than the stride of the source. Fixes Bug #183.

12 years agogxf: remove gxf_ prefix to timecode metadata keys.
Clément Bœsch [Thu, 15 Dec 2011 15:34:09 +0000 (16:34 +0100)]
gxf: remove gxf_ prefix to timecode metadata keys.

This will allow a shared "timecode" key metadata between formats to ease
third-party extraction.

12 years agotimecode: fix drop frame in avpriv_timecode_to_string().
Clément Bœsch [Mon, 26 Dec 2011 10:06:00 +0000 (11:06 +0100)]
timecode: fix drop frame in avpriv_timecode_to_string().

12 years agodv: add timecode to metadata
Matthieu Bouron [Thu, 22 Dec 2011 21:57:02 +0000 (22:57 +0100)]
dv: add timecode to metadata

Reviewed-by: Reimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: fix non ANSI C for(int
Michael Niedermayer [Mon, 26 Dec 2011 03:14:50 +0000 (04:14 +0100)]
ffmpeg: fix non ANSI C for(int

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 26 Dec 2011 02:35:54 +0000 (03:35 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  avs: call release_buffer() at the end.
  Add minor bumps and APIchanges entries for lavc/lavfi changes.
  mpegvideo.c: K&R formatting and cosmetics.
  avconv: avoid memcpy in vsrc_buffer when possible.
  avconv: implement get_buffer()/release_buffer().
  lavfi: add a new function av_buffersrc_buffer().
  lavfi: add avfilter_copy_frame_props()
  lavc: add format field to AVFrame
  lavc: add width and height fields to AVFrame
  lavc: add a sample_aspect_ratio field to AVFrame
  doxy: add website-alike style to the html output
  FAQ: add an entry for common error when using -profile

Conflicts:
avconv.c
cmdutils.c
doc/APIchanges
libavcodec/avcodec.h
libavcodec/mpegvideo.c
libavcodec/utils.c
libavcodec/version.h
libavfilter/Makefile
libavfilter/avfilter.c
libavfilter/avfilter.h
libavfilter/src_movie.c
libavfilter/vsrc_buffer.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavs: call release_buffer() at the end.
Anton Khirnov [Sun, 25 Dec 2011 18:35:19 +0000 (19:35 +0100)]
avs: call release_buffer() at the end.

Fixes a memleak.

12 years agoAdd minor bumps and APIchanges entries for lavc/lavfi changes.
Anton Khirnov [Sun, 25 Dec 2011 17:24:14 +0000 (18:24 +0100)]
Add minor bumps and APIchanges entries for lavc/lavfi changes.

12 years agompegvideo.c: K&R formatting and cosmetics.
Konstantin Todorov [Sun, 25 Dec 2011 17:58:01 +0000 (09:58 -0800)]
mpegvideo.c: K&R formatting and cosmetics.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoff*: add -max_alloc command line option
Michael Niedermayer [Sun, 25 Dec 2011 17:44:36 +0000 (18:44 +0100)]
ff*: add -max_alloc command line option

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomem: add av_max_alloc() to limit the maximum amount that may be allocated in one...
Michael Niedermayer [Sun, 25 Dec 2011 17:43:58 +0000 (18:43 +0100)]
mem: add av_max_alloc() to limit the maximum amount that may be allocated in one piece

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoshorten: validate values in fmt chunk search
Michael Niedermayer [Sun, 25 Dec 2011 11:31:23 +0000 (12:31 +0100)]
shorten: validate values in fmt chunk search

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoshorten: Fix invalid free()
Michael Niedermayer [Sun, 25 Dec 2011 11:28:50 +0000 (12:28 +0100)]
shorten: Fix invalid free()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavconv: avoid memcpy in vsrc_buffer when possible.
Anton Khirnov [Wed, 21 Dec 2011 20:04:05 +0000 (21:04 +0100)]
avconv: avoid memcpy in vsrc_buffer when possible.

Decoding Sintel.2010.1080p.mkv with 4 threads on an i7 2600K goes from
260s to 244s.

12 years agoavconv: implement get_buffer()/release_buffer().
Anton Khirnov [Mon, 19 Dec 2011 14:44:58 +0000 (15:44 +0100)]
avconv: implement get_buffer()/release_buffer().

This will allow memcpy-free passing frames to lavfi.

12 years agolavfi: add a new function av_buffersrc_buffer().
Anton Khirnov [Wed, 21 Dec 2011 19:39:18 +0000 (20:39 +0100)]
lavfi: add a new function av_buffersrc_buffer().

It can be used to directly pass a AVFilterBufferRef to lavfi, avoiding a
memcpy.

12 years agolavfi: add avfilter_copy_frame_props()
Stefano Sabatini [Sun, 1 May 2011 12:47:05 +0000 (14:47 +0200)]
lavfi: add avfilter_copy_frame_props()

avfilter_copy_frame_props() avoids code duplication and increases
robustness.

12 years agolavc: add format field to AVFrame
Stefano Sabatini [Sun, 1 May 2011 12:10:20 +0000 (14:10 +0200)]
lavc: add format field to AVFrame

The format is a per-frame property, having it in AVFrame simplify the
operation of extraction of that information, since avoids the need to
access the codec/stream context.

12 years agolavc: add width and height fields to AVFrame
Stefano Sabatini [Sun, 1 May 2011 12:02:08 +0000 (14:02 +0200)]
lavc: add width and height fields to AVFrame

width and height are per-frame properties, setting these values in
AVFrame simplify the operation of extraction of that information,
since avoids the need to check the codec/stream context.

12 years agolavc: add a sample_aspect_ratio field to AVFrame
Stefano Sabatini [Fri, 29 Apr 2011 11:04:47 +0000 (13:04 +0200)]
lavc: add a sample_aspect_ratio field to AVFrame

The sample aspect ratio is a per-frame property, so it makes sense to
define it in AVFrame rather than in the codec/stream context.
Simplify application-level sample aspect ratio information extraction,
and allow further simplifications.

12 years agodoxy: add website-alike style to the html output
Gautam Gupta [Sun, 11 Dec 2011 18:02:17 +0000 (19:02 +0100)]
doxy: add website-alike style to the html output

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agoFAQ: add an entry for common error when using -profile
Anton Khirnov [Sun, 25 Dec 2011 12:48:06 +0000 (13:48 +0100)]
FAQ: add an entry for common error when using -profile

12 years agosegafilm: fail earlier in case theres not enough bytestream left for a
Michael Niedermayer [Sun, 25 Dec 2011 03:49:23 +0000 (04:49 +0100)]
segafilm: fail earlier in case theres not enough bytestream left for a
audio packet.
This prevents a potentially large memory allocation.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavio: Fix ffio_limit() when due to seeking past the end less than 0 bytes remain.
Michael Niedermayer [Sun, 25 Dec 2011 03:48:26 +0000 (04:48 +0100)]
avio: Fix ffio_limit() when due to seeking past the end less than 0 bytes remain.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agogolomb: Fix infinite loop in svq3_get_ue_golomb()
Michael Niedermayer [Sun, 25 Dec 2011 03:15:56 +0000 (04:15 +0100)]
golomb: Fix infinite loop in svq3_get_ue_golomb()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agows_snd1: Fix wrong samples count and crash.
Michael Niedermayer [Sat, 24 Dec 2011 23:10:27 +0000 (00:10 +0100)]
ws_snd1: Fix wrong samples count and crash.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoasfdec: fix endless loop on EOF
Michael Niedermayer [Sat, 24 Dec 2011 22:21:40 +0000 (23:21 +0100)]
asfdec: fix endless loop on EOF

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agosierravmd: limit packetsize to the amount that could be read.
Michael Niedermayer [Sat, 24 Dec 2011 21:06:25 +0000 (22:06 +0100)]
sierravmd: limit packetsize to the amount that could be read.
Fixes huge allocations.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovmdav: check that theres enough space for a chunk remaining.
Michael Niedermayer [Sat, 24 Dec 2011 21:03:59 +0000 (22:03 +0100)]
vmdav: check that theres enough space for a chunk remaining.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agormdec: Avoid allocating huge packets
Michael Niedermayer [Sat, 24 Dec 2011 20:26:52 +0000 (21:26 +0100)]
rmdec: Avoid allocating huge packets

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompeg4videodec: Fix division by zero in mpeg4_decode_sprite_trajectory()
Michael Niedermayer [Sat, 24 Dec 2011 19:27:54 +0000 (20:27 +0100)]
mpeg4videodec: Fix division by zero in mpeg4_decode_sprite_trajectory()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agorpl: Fix near infinite loop in index reading due to missing eof check.
Michael Niedermayer [Sat, 24 Dec 2011 18:57:18 +0000 (19:57 +0100)]
rpl: Fix near infinite loop in index reading due to missing eof check.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoj2kdec: Fix crash in get_qcx
Michael Niedermayer [Sat, 24 Dec 2011 05:17:12 +0000 (06:17 +0100)]
j2kdec: Fix crash in get_qcx

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoj2kdec: Check curtileno for validity
Michael Niedermayer [Sat, 24 Dec 2011 04:06:20 +0000 (05:06 +0100)]
j2kdec: Check curtileno for validity

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoj2kdec: Check for interger overflow in tile array allocation
Michael Niedermayer [Sat, 24 Dec 2011 04:03:04 +0000 (05:03 +0100)]
j2kdec: Check for interger overflow in tile array allocation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoj2kdec: fix division by zero, check tile dimensions for validity
Michael Niedermayer [Sat, 24 Dec 2011 03:59:25 +0000 (04:59 +0100)]
j2kdec: fix division by zero, check tile dimensions for validity

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolzo: fix memcpy_backptr() with 0 offset
Michael Niedermayer [Sat, 24 Dec 2011 02:55:58 +0000 (03:55 +0100)]
lzo: fix memcpy_backptr() with 0 offset

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovf_drawtext: select YUV color for drawbox() in case YUV colorspace is used
Stefano Sabatini [Sat, 24 Dec 2011 15:17:18 +0000 (16:17 +0100)]
vf_drawtext: select YUV color for drawbox() in case YUV colorspace is used

Fix box alpha rendering when a YUV colorspace is selected, in particular
fix trac ticket #763.

12 years agoMake the palette in Quake II CIN files opaque and increase its dynamics.
Carl Eugen Hoyos [Sat, 24 Dec 2011 11:44:30 +0000 (12:44 +0100)]
Make the palette in Quake II CIN files opaque and increase its dynamics.

12 years agoMake the palette in Wing Commander III mve files opaque.
Carl Eugen Hoyos [Sat, 24 Dec 2011 11:41:44 +0000 (12:41 +0100)]
Make the palette in Wing Commander III mve files opaque.

12 years agoMake mov palette opaque or load alpha if present.
Carl Eugen Hoyos [Sat, 24 Dec 2011 11:38:32 +0000 (12:38 +0100)]
Make mov palette opaque or load alpha if present.

12 years agoMake the avi palette opaque.
Carl Eugen Hoyos [Sat, 24 Dec 2011 02:41:50 +0000 (03:41 +0100)]
Make the avi palette opaque.

12 years agodoc: build: TEXIDEP: Recognize verbatim includes
Alexander Strasser [Mon, 19 Dec 2011 23:27:22 +0000 (00:27 +0100)]
doc: build: TEXIDEP: Recognize verbatim includes

  When generating the .dep files for .texi sources, verbatim includes
(@verbatiminclude) should also be taken into account.

Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agobuild: Try to find fate_config.sh.template in source path
Alexander Strasser [Sat, 24 Dec 2011 00:28:30 +0000 (01:28 +0100)]
build: Try to find fate_config.sh.template in source path

  The FATE documentation depends on the mentioned file. But that
did break out of tree builds because the file was not found.

Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibopenjpeg: support decoding with bits per pixel greater than 8
Jean First [Thu, 22 Dec 2011 21:26:21 +0000 (22:26 +0100)]
libopenjpeg: support decoding with bits per pixel greater than 8

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Approved-by: Alex Zhukov
12 years agoMerge remote-tracking branch 'shariman/wmall'
Michael Niedermayer [Sat, 24 Dec 2011 00:54:25 +0000 (01:54 +0100)]
Merge remote-tracking branch 'shariman/wmall'

* shariman/wmall:
  Perform dequantization of channel coefficients
  Perform inverse inter-channel decorrelation and ac-filter
  Implement revert_inter_ch_decorr() and revert_acfilter()
  Enable inverse-MCLMS filter
  Fix inverse-MCLMS filtering routines
  Do not update buffers in case no speed change is necessary
  Use int for channel_coeffs instead of int16_t

Conflicts:
libavcodec/wmalosslessdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agorelease_notes: merge back changes from our 0.9 to master
Michael Niedermayer [Sat, 24 Dec 2011 00:13:46 +0000 (01:13 +0100)]
release_notes: merge back changes from our 0.9 to master
seems i have forgotten this

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoRELEASE_NOTES: remove possibly ofensive sounding wording
Michael Niedermayer [Sun, 11 Dec 2011 20:11:40 +0000 (21:11 +0100)]
RELEASE_NOTES: remove possibly ofensive sounding wording
from after the merge that i missed and do other general cleanup

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 23 Dec 2011 23:45:02 +0000 (00:45 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  vp3dec: Check coefficient index in vp3_dequant()
  svq1dec: call avcodec_set_dimensions() after dimensions changed.
  Prepare for 0.8_beta1 snapshot release
  threads: check defines before using them in automatic thread detection
  pthread: include sys/types.h before sys/sysctl.h
  4xm: remove unused variables.
  h264: Fix a possible overread in decode_nal_units()
  allfilters: fix type of avfilter_vsrc_buffer.
  w32thread: call ResetEvent() in pthread_cond_broadcast().

Conflicts:
Changelog
RELEASE
doc/RELEASE_NOTES
libavcodec/pthread.c
libavcodec/vp3.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavio: fix handling of , in urls
Michael Niedermayer [Fri, 23 Dec 2011 22:59:10 +0000 (23:59 +0100)]
avio: fix handling of , in urls
Fixes Ticket805

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoswr: fix swresample_version()
Michael Niedermayer [Fri, 23 Dec 2011 22:26:02 +0000 (23:26 +0100)]
swr: fix swresample_version()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoflvdec: disable new midstream param change code not only for h264 but all cases.
Michael Niedermayer [Fri, 23 Dec 2011 18:52:15 +0000 (19:52 +0100)]
flvdec: disable new midstream param change code not only for h264 but all cases.
It breaks some samples and iam not aware of one that it fixes.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoRevert "doc: build: TEXIDEP: Recognize verbatim includes"
Michael Niedermayer [Fri, 23 Dec 2011 17:01:10 +0000 (18:01 +0100)]
Revert "doc: build: TEXIDEP: Recognize verbatim includes"

This reverts commit e5cbf24e45ed21178674fff8f485d919128b793c.

This commits breaks out of tree builds

12 years agopthread: sysctl.h needs param.h on openbsd
Michael Niedermayer [Fri, 23 Dec 2011 15:34:46 +0000 (16:34 +0100)]
pthread: sysctl.h needs param.h on openbsd

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agothreads: check defines before using them in automatic thread detection
Janne Grunau [Fri, 23 Dec 2011 10:10:37 +0000 (11:10 +0100)]
threads: check defines before using them in automatic thread detection

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agopthread: include sys/types.h before sys/sysctl.h
Janne Grunau [Fri, 23 Dec 2011 09:14:15 +0000 (10:14 +0100)]
pthread: include sys/types.h before sys/sysctl.h

Fixes compilation on FreeBSD with clang 3.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovp3dec: Check coefficient index in vp3_dequant()
Reinhard Tartler [Sun, 4 Dec 2011 09:10:33 +0000 (10:10 +0100)]
vp3dec: Check coefficient index in vp3_dequant()

Based on a patch by Michael Niedermayer <michaelni@gmx.at>

Fixes NGS00145, CVE-2011-4352

Found-by: Phillip Langlois
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
12 years agosvq1dec: call avcodec_set_dimensions() after dimensions changed.
Michael Niedermayer [Fri, 18 Nov 2011 18:10:21 +0000 (19:10 +0100)]
svq1dec: call avcodec_set_dimensions() after dimensions changed.

Fixes NGS00148, CVE-2011-4579

Found-by: Phillip Langlois
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoPrepare for 0.8_beta1 snapshot release
Reinhard Tartler [Sun, 6 Nov 2011 10:12:04 +0000 (11:12 +0100)]
Prepare for 0.8_beta1 snapshot release