ffmpeg.git
8 years agorelease notes for 0.5.4
Reinhard Tartler [Fri, 18 Feb 2011 16:06:06 +0000 (17:06 +0100)]
release notes for 0.5.4

8 years agoAmend Changelog for 0.5.4
Reinhard Tartler [Fri, 18 Feb 2011 16:06:06 +0000 (17:06 +0100)]
Amend Changelog for 0.5.4

8 years agoCall avcodec_set_dimensions() instead of simply setting avctx->width/height
Kostya Shishkov [Tue, 24 Nov 2009 06:05:41 +0000 (06:05 +0000)]
Call avcodec_set_dimensions() instead of simply setting avctx->width/height
when frame dimensions change in RV3/4.

Originally committed as revision 20595 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit d90aeeaf569e4a08c30b3d1d09c3cff3a86eb431)

8 years agoFix invalid reads in VC1 decoder
Reimar Döffinger [Sat, 19 Feb 2011 10:33:01 +0000 (11:33 +0100)]
Fix invalid reads in VC1 decoder

Patch discussed and taken from https://roundup.ffmpeg.org/issue2584
(cherry picked from commit 2bbec1eda46d907605772a8b6e8263caa4bc4c82)

Change related to CVE-2011-0723

8 years agoMake get_bits_left() available for use in libavcodec (was previously held
Ronald S. Bultje [Mon, 9 Nov 2009 22:10:43 +0000 (22:10 +0000)]
Make get_bits_left() available for use in libavcodec (was previously held
private in dv.c for some reason). See "[PATCH] get_bits_left()" thread.

Originally committed as revision 20490 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit c47ca25e74bbe465cdc8b99d4f6ab4f0ad5e4229)

8 years agoUpdate Changelog for 0.5.4 release.
Reinhard Tartler [Sun, 13 Feb 2011 22:34:41 +0000 (23:34 +0100)]
Update Changelog for 0.5.4 release.

8 years agoCheck rangebits to avoid a possible crash.
Frank Barchard [Sun, 13 Feb 2011 20:38:45 +0000 (21:38 +0100)]
Check rangebits to avoid a possible crash.
Fixes issue 2548 (and Chrome issue 68115 and unknown CERT issues).

Originally committed as revision 26365 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit 13184036a6b1b1d4b61c91118c0896e9ad4634c3)

Addresses: CVE-2011-0480

Conflicts:

libavcodec/vorbis_dec.c

8 years agoFix crashes in vorbis decoding found by zzuf
Jason Garrett-Glaser [Sun, 13 Feb 2011 19:41:13 +0000 (20:41 +0100)]
Fix crashes in vorbis decoding found by zzuf
Fixes issue 2322.

Originally committed as revision 25591 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit 3dde66752d59dfdd0f3727efd66e7202b3c75078)

Addresses: CVE-2010-4704

8 years agoalso ignore *.so for vhook plugins
Reinhard Tartler [Thu, 10 Feb 2011 13:09:35 +0000 (14:09 +0100)]
also ignore *.so for vhook plugins

8 years agoconsolidate .gitignore patters into a single file
Janne Grunau [Tue, 18 Jan 2011 19:44:24 +0000 (20:44 +0100)]
consolidate .gitignore patters into a single file

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 2c3589bfda036c7827ded0bf38b16dfe7630bae1)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 years agoconvert svn:ignore properties to .gitignore files
Janne Grunau [Mon, 17 Jan 2011 14:49:11 +0000 (15:49 +0100)]
convert svn:ignore properties to .gitignore files

Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 348b8218f7a59374355c966dbe3b851a7275f952)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 years agoUpdate dimensions in AVCodecContext when RV3/4 frame dimensions change
Kostya Shishkov [Sun, 22 Nov 2009 07:48:35 +0000 (07:48 +0000)]
Update dimensions in AVCodecContext when RV3/4 frame dimensions change

Originally committed as revision 20572 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit ec10d2d53999f6edf7d7b5ac88df263eccfb1fb0)

Fixes heap corruption crashes

Addresses: CVE-2011-0722
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
8 years agoUpdate safety check as the maximum pixel size is no longer 4.
Michael Niedermayer [Wed, 22 Apr 2009 01:54:05 +0000 (01:54 +0000)]
Update safety check as the maximum pixel size is no longer 4.
New max size is 16bit * 4 samples (RGBA).

Originally committed as revision 18655 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit 445f0a8b666a34e6402f6ae96c6804c8bc024baa)

Addresses: CVE-2010-3908
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
9 years agorelease notes for 0.5.3 v0.5.3
Reinhard Tartler [Mon, 18 Oct 2010 19:43:55 +0000 (19:43 +0000)]
release notes for 0.5.3

Originally committed as revision 25523 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoBump version number for 0.5.3 release.
Diego Biurrun [Mon, 18 Oct 2010 19:40:09 +0000 (19:40 +0000)]
Bump version number for 0.5.3 release.

Originally committed as revision 25522 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoUpdate Changelog for 0.5.3 release.
Diego Biurrun [Mon, 18 Oct 2010 19:38:02 +0000 (19:38 +0000)]
Update Changelog for 0.5.3 release.

Originally committed as revision 25521 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoFix several security issues in flicvideo.c
Reinhard Tartler [Sun, 3 Oct 2010 14:51:50 +0000 (14:51 +0000)]
Fix several security issues in flicvideo.c
This fixes CVE-2010-3429

backport r25223 by michael

Originally committed as revision 25325 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agounbreak compilation and finish backport r24280 by mstorsjo
Reinhard Tartler [Sun, 3 Oct 2010 14:50:04 +0000 (14:50 +0000)]
unbreak compilation and finish backport r24280 by mstorsjo

Originally committed as revision 25324 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoaviobuf: Do short seeks forward by reading and skipping data instead of a proper...
Reinhard Tartler [Thu, 22 Jul 2010 11:58:26 +0000 (11:58 +0000)]
aviobuf: Do short seeks forward by reading and skipping data instead of a proper seek

This improves performance on e.g. seekable http.

backport r24280 by mstorsjo

Originally committed as revision 24428 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoconfigure: improve temp file creation and cleanup
Reinhard Tartler [Mon, 31 May 2010 13:06:51 +0000 (13:06 +0000)]
configure: improve temp file creation and cleanup

backport r17752 by mru

Originally committed as revision 23393 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agorelease notes for 0.5.2 v0.5.2
Diego Biurrun [Mon, 24 May 2010 21:58:47 +0000 (21:58 +0000)]
release notes for 0.5.2

Originally committed as revision 23300 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoBump version number for 0.5.2 release.
Diego Biurrun [Mon, 24 May 2010 21:55:01 +0000 (21:55 +0000)]
Bump version number for 0.5.2 release.

Originally committed as revision 23299 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoUpdate Changelog for 0.5.2 release.
Diego Biurrun [Mon, 24 May 2010 21:41:51 +0000 (21:41 +0000)]
Update Changelog for 0.5.2 release.

Originally committed as revision 23298 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoCheck validity of channels & samplerate.
Reinhard Tartler [Wed, 24 Mar 2010 19:35:30 +0000 (19:35 +0000)]
Check validity of channels & samplerate.
This may be security relevant.
Based on 2 patches by chrome.

backport r19975 by michael

Originally committed as revision 22658 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agofix compilation issue on powerpc
Reinhard Tartler [Fri, 12 Mar 2010 20:35:04 +0000 (20:35 +0000)]
fix compilation issue on powerpc

unlike the ARCH_ macros, COMPILE_ALTIVEC needs to be tested more carefully

Originally committed as revision 22488 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoFix compilation on powerpc with --disable-altivec
Reinhard Tartler [Wed, 10 Mar 2010 20:55:07 +0000 (20:55 +0000)]
Fix compilation on powerpc with --disable-altivec

in case altivec is disabled, even compilation of code using altivec
keywords or asm must be avoided.

backport r30869 from mplayer repo by siretart

Originally committed as revision 22436 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoMention LGPL libswscale in the Changelog.
Diego Biurrun [Sat, 6 Mar 2010 19:50:56 +0000 (19:50 +0000)]
Mention LGPL libswscale in the Changelog.

Originally committed as revision 22253 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agolibswscale is no longer GPL; update help comment accordingly.
Diego Biurrun [Sat, 6 Mar 2010 19:40:37 +0000 (19:40 +0000)]
libswscale is no longer GPL; update help comment accordingly.

Originally committed as revision 22250 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoAdd Hurd to OS list and disable dv1394 in the Hurd case.
Andres Mejia [Sat, 6 Mar 2010 16:57:43 +0000 (16:57 +0000)]
Add Hurd to OS list and disable dv1394 in the Hurd case.
patch by Andres Mejia, mcitadel gmail com

backport r18938 by diego

Originally committed as revision 22237 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoAdd point release date.
Diego Biurrun [Wed, 3 Mar 2010 08:25:10 +0000 (08:25 +0000)]
Add point release date.

Originally committed as revision 22163 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agofix 'seektest' again v0.5.1
Reinhard Tartler [Tue, 2 Mar 2010 16:03:06 +0000 (16:03 +0000)]
fix 'seektest' again

backport  r19270 by rbultje:

Remove any reference to ASFContext.packet_size and replace it with
AVFormatContext.packet_size. See "[PATCH] asf*.c/h: use
AVFormatContext->packet_size instead of own copy" thread on ML.

and r19361 by reimar:

Check for packet_length 0, it is already treated as invalid by the padding check,
but that resulted in a confusing/wrong error message.

Originally committed as revision 22147 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoBump version to 0.5.1.
Diego Biurrun [Tue, 2 Mar 2010 14:43:01 +0000 (14:43 +0000)]
Bump version to 0.5.1.

Originally committed as revision 22146 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoMention licensing-related changes; some whitespace adjustments.
Diego Biurrun [Tue, 2 Mar 2010 14:25:48 +0000 (14:25 +0000)]
Mention licensing-related changes; some whitespace adjustments.

Originally committed as revision 22145 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoIf we are using partial release names we might as well try to be funny.
Diego Biurrun [Mon, 1 Mar 2010 18:03:53 +0000 (18:03 +0000)]
If we are using partial release names we might as well try to be funny.

Originally committed as revision 22134 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoAdd release managers, merged from trunk.
Diego Biurrun [Mon, 1 Mar 2010 17:58:50 +0000 (17:58 +0000)]
Add release managers, merged from trunk.

Originally committed as revision 22133 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoamend release notes for 0.5.1
Reinhard Tartler [Mon, 1 Mar 2010 16:22:27 +0000 (16:22 +0000)]
amend release notes for 0.5.1

Originally committed as revision 22129 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoMention security fixes in the changelog.
Diego Biurrun [Sun, 28 Feb 2010 22:22:22 +0000 (22:22 +0000)]
Mention security fixes in the changelog.

Originally committed as revision 22121 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoadd myself to gpg fingerprint list
Reinhard Tartler [Sat, 27 Feb 2010 10:16:45 +0000 (10:16 +0000)]
add myself to gpg fingerprint list

backport r22089 by siretart

Originally committed as revision 22090 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agobump LIBAVCODEC_VERSION_MICRO for addition of the lock manager API
Reinhard Tartler [Sat, 27 Feb 2010 10:01:45 +0000 (10:01 +0000)]
bump LIBAVCODEC_VERSION_MICRO for addition of the lock manager API

As discussed with Diego, we'll go for bumping micro in 0.5 and will
consider adding a RELEASEVERSION macro for trunk and 0.6 seperatly

Originally committed as revision 22087 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoAvoid divisions by 0 in the ASF demuxer if packet_size is not valid.
Reinhard Tartler [Fri, 26 Feb 2010 15:49:52 +0000 (15:49 +0000)]
Avoid divisions by 0 in the ASF demuxer if packet_size is not valid.

r19330 by reimar

Originally committed as revision 22080 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agofix the remaining ogv segfaults from issue 1240.
Reinhard Tartler [Fri, 26 Feb 2010 14:32:27 +0000 (14:32 +0000)]
fix the remaining ogv segfaults from issue 1240.

First commit:

Make decode_init fail if the huffman tables are invalid and thus init_vlc fails.
Otherwise this will crash during decoding because the vlc tables are NULL.
Partially fixes ogv/smclock.ogv.1.101.ogv from issue 1240.

backport r19355 by reimar

Second commit:

Add extra validation checks to ff_vorbis_len2vlc.
They should not be necessary, but it seems like a reasonable precaution.

r19374 by reimar

Originally committed as revision 22076 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoMake sure we dont read over the end.
Reinhard Tartler [Fri, 26 Feb 2010 10:56:46 +0000 (10:56 +0000)]
Make sure we dont read over the end.
Fixes issue1237.

backport r19322 by michael

Originally committed as revision 22074 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agobackport libx264.c from trunk
Reinhard Tartler [Wed, 24 Feb 2010 22:40:10 +0000 (22:40 +0000)]
backport libx264.c from trunk

now compiles with x264 API versions 65 up to 85

patch prepared by darkshikari

Originally committed as revision 22042 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agomisc. manpage updates, fixes LP: #501729, Debian: #570050
Reinhard Tartler [Tue, 16 Feb 2010 23:04:10 +0000 (23:04 +0000)]
misc. manpage updates, fixes LP: #501729, Debian: #570050

Update ffmpeg documentation regarding metadata setting. -title,
-author, -copyright, -track, -album, and -year options have been
dropped in favor of -metadata.
Add an explanation and complete the metadata usage example.

backported revisions r19285, r19287 and r19320 by stefano.

Originally committed as revision 21858 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agocosmetics: K&R coding style, prettyprinting
Reinhard Tartler [Mon, 15 Feb 2010 12:45:14 +0000 (12:45 +0000)]
cosmetics: K&R coding style, prettyprinting

backported r20083 by diego

This commit does not introduce functional changes.  It was applied in
order to faciliate reviewing the proposed libx264.c backport

Originally committed as revision 21832 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoFix crash in MLP decoder due to integer overflow.
Reinhard Tartler [Thu, 11 Feb 2010 21:03:30 +0000 (21:03 +0000)]
Fix crash in MLP decoder due to integer overflow.
Probably only DoS, init_get_bits sets buffer to NULL, thus causing a
NULL-dereference directly after.

backport r21426 by reimar

Originally committed as revision 21759 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoMake sure the block array is of the correct size.
Reinhard Tartler [Thu, 11 Feb 2010 20:57:49 +0000 (20:57 +0000)]
Make sure the block array is of the correct size.
This might have been exploitable.

backported r18393 by michael

Originally committed as revision 21758 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoFix crash when max_ref_frames was out of range.
Reinhard Tartler [Thu, 11 Feb 2010 16:22:59 +0000 (16:22 +0000)]
Fix crash when max_ref_frames was out of range.
This might have been exploitable.
Fixes first crash of issue840.

backport r18388 by michael

Originally committed as revision 21757 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoreverting objected hunks from previous commit
Reinhard Tartler [Thu, 11 Feb 2010 11:52:59 +0000 (11:52 +0000)]
reverting objected hunks from previous commit

as discussed with diego on irc, the spurious newline deletion and the
LIBAVCODEC_VERSION_MINOR bump are being reverted based on comments on
ffmpeg-cvslog by ramiro, uoti and michael.

See http://comments.gmane.org/gmane.comp.video.ffmpeg.cvs/28112 for the
full context.

Originally committed as revision 21755 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoAdd a lock manager API to libavcodec.
Reinhard Tartler [Tue, 9 Feb 2010 20:28:42 +0000 (20:28 +0000)]
Add a lock manager API to libavcodec.

Allows an application to register a callback that manages mutexes
on behalf of FFmpeg.
With this callback registered FFmpeg is fully thread safe.

backport r19025 by andoma

NB: This is a feature backport with little regression potential. It was
requested at FOSDEM 2010 by ben@geexbox.org for use by geexbox and the
enna mediacenter in the upcoming debian/squeeze and ubuntu/lucid
release.

Approved by DonDiego on #ffmpeg-devel

Originally committed as revision 21731 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoCheck submap indexes.
Google Chrome [Tue, 9 Feb 2010 19:59:11 +0000 (19:59 +0000)]
Check submap indexes.
10_vorbis_submap_indexes.patch by chrome.
I am applying this even though Reimar had some comments to improve it as it fixes
a serious security issue and I do not want to leave such things unfixed.

backport r20001 by michael

Originally committed as revision 21730 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoCheck begin/end/partition_size.
Google Chrome [Tue, 9 Feb 2010 19:54:42 +0000 (19:54 +0000)]
Check begin/end/partition_size.
23_vorbis_sane_partition.patch by chrome.
Also this should be better documented but i prefer not to leave potential
security issues open due to missing documentation.

r19996 by michael

Originally committed as revision 21729 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoCheck res_setup->books.
Google Chrome [Tue, 9 Feb 2010 19:52:27 +0000 (19:52 +0000)]
Check  res_setup->books.
15_more_residue_book_indexes.patch by chrome.

r19992 by michael

Originally committed as revision 21728 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoCheck masterbook index and subclass book index.
Google Chrome [Tue, 9 Feb 2010 19:50:47 +0000 (19:50 +0000)]
Check masterbook index and subclass book index.
14_floor_masterbook_index.patch by chrome

r19991 by michael

Originally committed as revision 21727 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoAdd checks for per-packet mode indexes and per-header mode mapping indexes.
Google Chrome [Tue, 9 Feb 2010 19:49:28 +0000 (19:49 +0000)]
Add checks for per-packet mode indexes and per-header mode mapping indexes.
12_vorbis_mode_indexes.patch by chrome
maybe exploitable

r19990 by michael

Originally committed as revision 21726 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoCheck classbook value.
Google Chrome [Tue, 9 Feb 2010 19:47:42 +0000 (19:47 +0000)]
Check classbook value.
11_vorbis_residue_book_index.patch by chrome.

r19989 by michael

Originally committed as revision 21725 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoFix book_idx check.
Google Chrome [Tue, 9 Feb 2010 19:46:22 +0000 (19:46 +0000)]
Fix book_idx check.
25_vorbis_floor0_index.patch by chrome.

backport r19984 by michael

Originally committed as revision 21724 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoSanity checks for magnitude and angle.
Google Chrome [Tue, 9 Feb 2010 19:45:16 +0000 (19:45 +0000)]
Sanity checks for magnitude and angle.
26_vorbis_mag_angle_index.patch by chrome

backport r19983 by michael

Originally committed as revision 21723 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years ago= -> == typo.
Google Chrome [Tue, 9 Feb 2010 19:44:06 +0000 (19:44 +0000)]
= -> == typo.
27_vorbis_residue_loop_error.patch by chrome

backport r19982 by michael

Originally committed as revision 21722 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoCheck dimensions against 0 too.
Reinhard Tartler [Tue, 9 Feb 2010 19:42:30 +0000 (19:42 +0000)]
Check dimensions against 0 too.
39_vorbis_zero_dims.patch from chrome

backport r19976 by michael

Originally committed as revision 21721 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoMake sure that all memory allocations succeed.
Reinhard Tartler [Tue, 9 Feb 2010 19:31:04 +0000 (19:31 +0000)]
Make sure that all memory allocations succeed.
Based on 28_theora_malloc_checks.patch from the Google Chrome team.

backport r20008 by melanson

Originally committed as revision 21720 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoFix init_get_bits() buffer size.
Google Chrome [Tue, 9 Feb 2010 19:26:47 +0000 (19:26 +0000)]
Fix init_get_bits() buffer size.
18_fix_theora_header_bit_len.patch by chrome

backport r19993 by michael

Originally committed as revision 21719 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoSet data_size to 0 to avoid having it uninitialized.
Reinhard Tartler [Tue, 9 Feb 2010 19:22:19 +0000 (19:22 +0000)]
Set data_size to 0 to avoid having it uninitialized.
based on 31_mp3_outlen.patch by chrome.

backported r19988 by michael

Originally committed as revision 21718 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoCheck data_size in decode_frame_mp3on4().
Reinhard Tartler [Tue, 9 Feb 2010 19:20:25 +0000 (19:20 +0000)]
Check data_size in decode_frame_mp3on4().

backported r19987 by michael

Originally committed as revision 21717 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agocheck data_size in decode_frame()
Reinhard Tartler [Tue, 9 Feb 2010 19:09:12 +0000 (19:09 +0000)]
check data_size in decode_frame()

backported r19986 by michael

Originally committed as revision 21716 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoCheck num_units_in_tick/time_scale to be valid and within the range we support.
Reinhard Tartler [Tue, 9 Feb 2010 19:02:39 +0000 (19:02 +0000)]
Check num_units_in_tick/time_scale to be valid and within the range we support.
based on a patch by chrome

backported r19979 by michael

Originally committed as revision 21715 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoFix a possibly exploitable buffer overflow.
Reinhard Tartler [Tue, 9 Feb 2010 18:55:41 +0000 (18:55 +0000)]
Fix a possibly exploitable buffer overflow.

backported r18640 by michael

Originally committed as revision 21712 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoFix possible buffer over-read in vorbis_comment, fix it double to be sure.
Reinhard Tartler [Tue, 9 Feb 2010 18:51:11 +0000 (18:51 +0000)]
Fix possible buffer over-read in vorbis_comment, fix it double to be sure.
First, make s signed, so that comparisons against end - p will not be made as
unsigned, making the check incorrectly pass if p is beyond end.
Also ensure that p will never be > end, so the code is correct also if
buf is not padded.

backported r20014 by reimar

Originally committed as revision 21711 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agocheck stream existence before assignment, fix #1222
Reinhard Tartler [Tue, 9 Feb 2010 18:44:49 +0000 (18:44 +0000)]
check stream existence before assignment, fix #1222

backported r19259 by bcoudurier

Originally committed as revision 21710 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoadd one missing check for stream existence in read_elst, fix #1364
Reinhard Tartler [Tue, 9 Feb 2010 18:41:17 +0000 (18:41 +0000)]
add one missing check for stream existence in read_elst, fix #1364

backported patch r19792 by bcoudurier

Originally committed as revision 21709 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoDisable parsing for ogg streams where no ogg header was found,
Reinhard Tartler [Tue, 9 Feb 2010 18:24:30 +0000 (18:24 +0000)]
Disable parsing for ogg streams where no ogg header was found,
if no header was found the parser was not initialized and thus will
crash when trying to use it.

Originally committed as revision 21708 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoMake arguments of av_set_pts_info() unsigned.
Reinhard Tartler [Tue, 9 Feb 2010 18:10:07 +0000 (18:10 +0000)]
Make arguments of av_set_pts_info() unsigned.
Fixes issue1240/mpeg1/smclockmpeg1.avi.3.1

Originally committed as revision 21707 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agofix aac playback regression
Reinhard Tartler [Tue, 9 Feb 2010 17:36:18 +0000 (17:36 +0000)]
fix aac playback regression

Discussed at http://comments.gmane.org/gmane.comp.video.ffmpeg.devel/103768

related reports:
 - http://bugs.debian.org/540729
 - https://roundup.ffmpeg.org/roundup/ffmpeg/issue800

Originally committed as revision 21706 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agobuild PIC code on powerpc
Reinhard Tartler [Tue, 2 Feb 2010 20:48:21 +0000 (20:48 +0000)]
build PIC code on powerpc

this avoids failing 24bit relocations as seen on
http://bugs.debian.org/561956 as side effect

Originally committed as revision 21613 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoAdd gnu/kfreebsd to list of recognized operating systems.
Andres Mejia [Tue, 2 Feb 2010 20:44:47 +0000 (20:44 +0000)]
Add gnu/kfreebsd to list of recognized operating systems.
patch by Andres Mejia, mcitadel gmail com

Originally committed as revision 21612 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agobackport configure bits for cpu runtime detection for libpostproc and libswscale
Reinhard Tartler [Tue, 2 Feb 2010 20:30:20 +0000 (20:30 +0000)]
backport configure bits for cpu runtime detection for libpostproc and libswscale

Originally committed as revision 21611 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agofix version script for libswscale
Reinhard Tartler [Tue, 2 Feb 2010 20:16:46 +0000 (20:16 +0000)]
fix version script for libswscale

Originally committed as revision 21610 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agounbreak compilation with vhook enabled
Reinhard Tartler [Tue, 2 Feb 2010 19:58:05 +0000 (19:58 +0000)]
unbreak compilation with vhook enabled

the backported introduced a regression that prevents successfully
linking vhook shared objects on systems with gnu linkers. As the version
scripts only apply to shared objects against that applications are being
linked, this commit unties the VHOOKSHFLAGS and SHFLAGS variable.

Originally committed as revision 21609 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agomissing hunk to unbreak linking with symbol versioning
Reinhard Tartler [Tue, 2 Feb 2010 19:57:40 +0000 (19:57 +0000)]
missing hunk to unbreak linking with symbol versioning

this hunk is does not apply in trunk/ because there the dependencies for
this rule was reworked

Originally committed as revision 21608 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agomention symbol versioning
Reinhard Tartler [Mon, 1 Feb 2010 16:02:46 +0000 (16:02 +0000)]
mention symbol versioning

Originally committed as revision 21596 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agobackport symbol versioning patch
Reinhard Tartler [Mon, 1 Feb 2010 16:00:09 +0000 (16:00 +0000)]
backport symbol versioning patch

Originally committed as revision 21595 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

9 years agoThe license upgrade code was ported from trunk.
Diego Biurrun [Tue, 15 Dec 2009 22:34:22 +0000 (22:34 +0000)]
The license upgrade code was ported from trunk.

Originally committed as revision 20876 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoMerge remaining changes to make libswscale usable in LGPL mode from trunk.
Diego Biurrun [Sun, 5 Jul 2009 20:35:02 +0000 (20:35 +0000)]
Merge remaining changes to make libswscale usable in LGPL mode from trunk.

Originally committed as revision 19352 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoRevert r19321.
Stefano Sabatini [Fri, 3 Jul 2009 11:14:37 +0000 (11:14 +0000)]
Revert r19321.
The changes were not approved.

Originally committed as revision 19329 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoUpdate ffmpeg documentation regarding metadata setting. -title,
Stefano Sabatini [Wed, 1 Jul 2009 20:14:19 +0000 (20:14 +0000)]
Update ffmpeg documentation regarding metadata setting. -title,
-author, -copyright, -track, -album, and -year options have been
dropped in favor of -metadata.

Backfix of r19285, r19287, and r19320.

Originally committed as revision 19321 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoFix OpenCORE build: Do not use new AVPacket infrastructure from trunk.
Diego Biurrun [Sun, 7 Jun 2009 22:41:11 +0000 (22:41 +0000)]
Fix OpenCORE build: Do not use new AVPacket infrastructure from trunk.

Originally committed as revision 19134 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoMerge OpenCORE AMR support from trunk.
Diego Biurrun [Sun, 7 Jun 2009 20:14:56 +0000 (20:14 +0000)]
Merge OpenCORE AMR support from trunk.

Originally committed as revision 19133 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoMerge recent libamr changes from trunk, as preparation for OpenCORE support.
Diego Biurrun [Sun, 7 Jun 2009 16:14:50 +0000 (16:14 +0000)]
Merge recent libamr changes from trunk, as preparation for OpenCORE support.

Originally committed as revision 19131 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoMerge (L)GPL upgrade code and related changes from trunk.
Diego Biurrun [Sun, 7 Jun 2009 12:52:31 +0000 (12:52 +0000)]
Merge (L)GPL upgrade code and related changes from trunk.

Originally committed as revision 19129 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoIgnore generated files.
Diego Biurrun [Mon, 25 May 2009 09:17:17 +0000 (09:17 +0000)]
Ignore generated files.

Originally committed as revision 18939 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoMerge more verbose licensing information output.
Diego Biurrun [Sun, 24 May 2009 22:14:10 +0000 (22:14 +0000)]
Merge more verbose licensing information output.

Originally committed as revision 18931 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoMerge GPL --> LGPL conversion of AC-3 decoder from trunk.
Diego Biurrun [Sat, 23 May 2009 12:58:44 +0000 (12:58 +0000)]
Merge GPL --> LGPL conversion of AC-3 decoder from trunk.

Originally committed as revision 18915 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoMention post 0.5 commits in the changelog.
Diego Biurrun [Sat, 23 May 2009 12:18:53 +0000 (12:18 +0000)]
Mention post 0.5 commits in the changelog.

Originally committed as revision 18914 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoMerge explanation of changelog sort order from trunk.
Diego Biurrun [Sat, 23 May 2009 12:04:11 +0000 (12:04 +0000)]
Merge explanation of changelog sort order from trunk.

Originally committed as revision 18913 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoMerge fix for license check function from trunk.
Diego Biurrun [Sun, 10 May 2009 11:02:03 +0000 (11:02 +0000)]
Merge fix for license check function from trunk.

Originally committed as revision 18782 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoRevert unapproved changes.
Ramiro Polla [Thu, 7 May 2009 22:46:42 +0000 (22:46 +0000)]
Revert unapproved changes.

Originally committed as revision 18770 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoBackport r17995 from trunk.
Ramiro Polla [Wed, 6 May 2009 15:31:02 +0000 (15:31 +0000)]
Backport r17995 from trunk.

Originally committed as revision 18760 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoBackport r18214 from trunk.
Ramiro Polla [Wed, 6 May 2009 15:29:59 +0000 (15:29 +0000)]
Backport r18214 from trunk.

Originally committed as revision 18759 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoMerge marking of libfaac as non-free from trunk.
Diego Biurrun [Wed, 6 May 2009 12:12:05 +0000 (12:12 +0000)]
Merge marking of libfaac as non-free from trunk.

Originally committed as revision 18757 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5

10 years agoMerge factorization of license check code from trunk.
Diego Biurrun [Wed, 6 May 2009 12:10:27 +0000 (12:10 +0000)]
Merge factorization of license check code from trunk.

Originally committed as revision 18756 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5