summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Fix several security issues in flicvideo.cReinhard Tartler2010-10-03
| | | | | | | | | | This fixes CVE-2010-3429 backport r25223 by michael Originally committed as revision 25325 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* Check validity of channels & samplerate.Reinhard Tartler2010-03-24
| | | | | | | | | | | | 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
* bump LIBAVCODEC_VERSION_MICRO for addition of the lock manager APIReinhard Tartler2010-02-27
| | | | | | | | 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
* fix the remaining ogv segfaults from issue 1240. Reinhard Tartler2010-02-26
| | | | | | | | | | | | | | | | | | | | 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
* Make sure we dont read over the end.Reinhard Tartler2010-02-26
| | | | | | | | | Fixes issue1237. backport r19322 by michael Originally committed as revision 22074 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* backport libx264.c from trunkReinhard Tartler2010-02-24
| | | | | | | | | 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
* cosmetics: K&R coding style, prettyprintingReinhard Tartler2010-02-15
| | | | | | | | | | | 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
* Fix crash in MLP decoder due to integer overflow.Reinhard Tartler2010-02-11
| | | | | | | | | | 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
* Make sure the block array is of the correct size.Reinhard Tartler2010-02-11
| | | | | | | | | | This might have been exploitable. backported r18393 by michael Originally committed as revision 21758 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* Fix crash when max_ref_frames was out of range.Reinhard Tartler2010-02-11
| | | | | | | | | | 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
* reverting objected hunks from previous commitReinhard Tartler2010-02-11
| | | | | | | | | | | | 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
* Add a lock manager API to libavcodec.Reinhard Tartler2010-02-09
| | | | | | | | | | | | | | | | | | 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
* Check submap indexes.Google Chrome2010-02-09
| | | | | | | | | | | 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
* Check begin/end/partition_size.Google Chrome2010-02-09
| | | | | | | | | | | 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
* Check res_setup->books.Google Chrome2010-02-09
| | | | | | | | | 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
* Check masterbook index and subclass book index.Google Chrome2010-02-09
| | | | | | | | | 14_floor_masterbook_index.patch by chrome r19991 by michael Originally committed as revision 21727 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* Add checks for per-packet mode indexes and per-header mode mapping indexes.Google Chrome2010-02-09
| | | | | | | | | | 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
* Check classbook value.Google Chrome2010-02-09
| | | | | | | | | 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
* Fix book_idx check.Google Chrome2010-02-09
| | | | | | | | | 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
* Sanity checks for magnitude and angle.Google Chrome2010-02-09
| | | | | | | | | 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
* = -> == typo.Google Chrome2010-02-09
| | | | | | | | | 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
* Check dimensions against 0 too.Reinhard Tartler2010-02-09
| | | | | | | | | 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
* Make sure that all memory allocations succeed.Reinhard Tartler2010-02-09
| | | | | | | | | 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
* Fix init_get_bits() buffer size.Google Chrome2010-02-09
| | | | | | | | | 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
* Set data_size to 0 to avoid having it uninitialized.Reinhard Tartler2010-02-09
| | | | | | | | | 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
* Check data_size in decode_frame_mp3on4().Reinhard Tartler2010-02-09
| | | | | | | backported r19987 by michael Originally committed as revision 21717 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* check data_size in decode_frame()Reinhard Tartler2010-02-09
| | | | | | | | | backported r19986 by michael Originally committed as revision 21716 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* Check num_units_in_tick/time_scale to be valid and within the range we support.Reinhard Tartler2010-02-09
| | | | | | | | | | | based on a patch by chrome backported r19979 by michael Originally committed as revision 21715 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* Fix a possibly exploitable buffer overflow.Reinhard Tartler2010-02-09
| | | | | | | | backported r18640 by michael Originally committed as revision 21712 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* fix aac playback regressionReinhard Tartler2010-02-09
| | | | | | | | | | | | 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
* backport configure bits for cpu runtime detection for libpostproc and libswscaleReinhard Tartler2010-02-02
| | | | Originally committed as revision 21611 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* backport symbol versioning patchReinhard Tartler2010-02-01
| | | | Originally committed as revision 21595 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* Fix OpenCORE build: Do not use new AVPacket infrastructure from trunk.Diego Biurrun2009-06-07
| | | | Originally committed as revision 19134 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* Merge OpenCORE AMR support from trunk.Diego Biurrun2009-06-07
| | | | Originally committed as revision 19133 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* Merge recent libamr changes from trunk, as preparation for OpenCORE support.Diego Biurrun2009-06-07
| | | | Originally committed as revision 19131 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* Merge GPL --> LGPL conversion of AC-3 decoder from trunk.Diego Biurrun2009-05-23
| | | | Originally committed as revision 18915 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* Merge replacement of MPEG group reference DCT code.Diego Biurrun2009-04-13
| | | | Originally committed as revision 18492 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* cosmetics: Reformat long_names so that "DPCM" comes first.Diego Biurrun2009-03-02
| | | | Originally committed as revision 17721 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Reformat long_names so that "ADPCM" comes first.Diego Biurrun2009-03-02
| | | | Originally committed as revision 17720 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Reformat long_names so that "PCM" comes first.Diego Biurrun2009-03-02
| | | | Originally committed as revision 17719 to svn://svn.ffmpeg.org/ffmpeg/trunk
* small spelling/grammar fixesDiego Biurrun2009-03-02
| | | | Originally committed as revision 17718 to svn://svn.ffmpeg.org/ffmpeg/trunk
* xvmc works with MPEG-2 as well as MPEG-1, note this in the codec long_name.Diego Biurrun2009-03-02
| | | | Originally committed as revision 17717 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change a bunch of codec long_names to be more consistent and descriptive.Diego Biurrun2009-03-02
| | | | Originally committed as revision 17716 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add some missing codecs and update names to match the codec long_nameJustin Ruggles2009-03-02
| | | | | | or vice-versa. Originally committed as revision 17706 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RA144: work around gcc bug/oddity on ARMMåns Rullgård2009-03-01
| | | | | | | | | This should not make any difference, yet some gcc versions on ARM produce incorrect output without this fix. Approved by Vitor. Originally committed as revision 17698 to svn://svn.ffmpeg.org/ffmpeg/trunk
* SVQ3: Fix decoding with A32_BITSTREAM_READERMåns Rullgård2009-03-01
| | | | | | | | | svq3_decode_slice_header() modifies the buffer used by the bitstream reader. Some of the bitstream readers cache a few bytes of data, which must be flushed after such a modification. Calling skip_bits_long(gb, 0) achieves this. Originally committed as revision 17680 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: fix missing MUL16() return typeMåns Rullgård2009-03-01
| | | | Originally committed as revision 17679 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after last commitVitor Sessak2009-03-01
| | | | Originally committed as revision 17678 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not read uninitialized buffer, no matter if it will be multiplied byVitor Sessak2009-03-01
| | | | | | | zero later. This should fix some valgrind warnings and hopefully FATE ra144 test on ARM. Originally committed as revision 17677 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable in mpeg_mc_decode_initReimar Döffinger2009-03-01
| | | | Originally committed as revision 17676 to svn://svn.ffmpeg.org/ffmpeg/trunk