Commit Graph

19514 Commits

Author SHA1 Message Date
Zdenek Kabelac 92147b6bec Use new packet reading API, fixes a memory leak.
patch by Zdenek Kabelac, zdenek.kabelac gmail com

Originally committed as revision 18728 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-01 21:39:53 +00:00
Stefano Sabatini 2e032b32df Prefer (void) over () in function prototype.
Originally committed as revision 18727 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-01 21:35:01 +00:00
Stefano Sabatini dd04911c4e Make graphparser.c use av_get_token().
This also avoids the need for '\=' escaping.

Originally committed as revision 18726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-01 18:17:59 +00:00
Michael Niedermayer d11dbf092c av_get_token()
based on a patch by Stefano Sabatini

Originally committed as revision 18725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-01 14:38:07 +00:00
Michael Niedermayer 714127812c Ignore first entry of intra matrixes if it is invalid.
Fixes pink.mpg / issue1046.

Originally committed as revision 18724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-01 12:31:19 +00:00
Michael Niedermayer 45ccc61a06 Factorize quantization matrix loading code out.
Originally committed as revision 18723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-01 12:17:25 +00:00
Ramiro Polla da00b52578 Don't #if a function declaration and properly indent it.
Originally committed as revision 18722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-30 21:34:56 +00:00
Ramiro Polla bf4f19dc65 mlpdec: Move MLP's filter_channel() to dsputils.
Originally committed as revision 18721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-30 12:30:05 +00:00
Ramiro Polla 52bcc8e13c Document change in r18719.
Originally committed as revision 18720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-30 12:08:35 +00:00
Ramiro Polla ce1d9c851c Export av_free_packet().
Originally committed as revision 18719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-30 12:06:34 +00:00
Diego Biurrun f0a75e66b9 Add missing return statement to out-of-memory condition. Fixes the warning:
libavcodec/motionpixels.c:302: warning: statement with no effect

Originally committed as revision 18718 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-30 10:21:22 +00:00
Måns Rullgård 4c27207c12 configure: fix licence check function
Originally committed as revision 18717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-29 16:14:33 +00:00
Diego Biurrun a068a7f1f0 Drop unused libamr-nb fixed-point glue code.
Originally committed as revision 18716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-29 15:43:57 +00:00
Diego Biurrun 2f7ae63ba1 Require --enable-nonfree for turning on libfaac support.
libfaac lies about being LGPL, when it really is not.

Originally committed as revision 18715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-29 15:40:25 +00:00
Diego Biurrun 2184c6f7af Factorize GPL and nonfree license checks into a common function.
Originally committed as revision 18714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-29 15:32:40 +00:00
David Conrad d647ed789f ARM: Use fewer register in NEON put_pixels _y2 and _xy2
Approved by Mans on IRC

Originally committed as revision 18713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-29 11:38:09 +00:00
David Conrad 428bf2ac88 ARM: NEON put_pixels_clamped
Originally committed as revision 18712 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-29 11:31:43 +00:00
Stefano Sabatini 4b11e833b8 Convert names to the FFmpeg style.
Originally committed as revision 18711 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-28 19:51:50 +00:00
Michael Niedermayer e45aeb38a6 Reset eof state on seeking.
Fixes issue1005.

Originally committed as revision 18710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-28 18:02:21 +00:00
Stefano Sabatini 5efccce2a9 Implement av_get_bits_per_pixel().
Originally committed as revision 18709 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 23:20:30 +00:00
Vitor Sessak 859471565a Revert r18700, documentation of deprecated functions might be useful for
people trying to update to the new API.

Log of r18700:
Remove documentation from deprecated fields, they should not be used,
thus there is no sense in documenting them.

Originally committed as revision 18708 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 18:35:54 +00:00
Vitor Sessak 6cf92f6d26 Check if there is enough bytes before reading the buffer in the EA ADPCM
decoder. Fix issue 990.

Originally committed as revision 18707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 16:06:01 +00:00
Vitor Sessak 8a06cb14f9 Skip 0x0000 frame footer in EA ADPCM decoder.
Originally committed as revision 18706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 16:04:43 +00:00
Cédric Schieli b78c8e2103 Remove useless duplicated code in yuv2rgb_c_32, yuva2rgba_c and yuva2argb_c
Originally committed as revision 29240 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-04-27 14:25:44 +00:00
Michael Niedermayer 859f9c0b47 Remove useless and outright wrong chatter from avcodec_encode_video().
Originally committed as revision 18705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 12:41:41 +00:00
Michael Niedermayer aa04b9204e Remove redundant chatter from avcodec_encode_audio()
Originally committed as revision 18704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 12:39:30 +00:00
Michael Niedermayer 1885c76acf Negative is error not -1, corrected in the doxy for avcodec_decode_subtitle2().
Originally committed as revision 18703 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 12:38:14 +00:00
Michael Niedermayer 4d24c24fcb Add multiframe note to avcodec_decode_video() too.
Originally committed as revision 18702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 12:36:23 +00:00
Michael Niedermayer e5776422b4 Cleanup first paragraph of doxy of avcodec_decode_audio3().
Originally committed as revision 18701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 12:34:25 +00:00
Michael Niedermayer 3784411100 Remove documentation from deprecated fields, they should not be used,
thus there is no sense in documenting them.

Originally committed as revision 18700 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 12:28:56 +00:00
Michael Niedermayer ed57ef39e6 Remove confusing and redundant engrish chatter from avcodec_decode_video2().
Originally committed as revision 18699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 12:25:36 +00:00
Cyril Comparon 276f8e2b9b Add avlanguage helpers in libavformat.
Patch by Cyril Comparon: standard_gmail_full_name_address
Original thread: Suggestion for a centralized language-tag facility in libavformat
Date: 04/10/2009 07:33 PM

Originally committed as revision 18698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 07:27:39 +00:00
Benoit Fouet 80b9d6366f Make function pointer assignments consistent in option handling.
Originally committed as revision 18697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 07:13:50 +00:00
Kostya Shishkov 9c4b5eb8ce Revert changing VLC initialization type for RV3/4 decoder.
While using large static table is not good (especially for embedded devices and
CPUs with small cache), other alternatives are not very good either.

Originally committed as revision 18696 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-27 05:30:22 +00:00
Ramiro Polla 77b12f809b mlpdec: Simplify filtering code by using only one counter variable.
Originally committed as revision 18695 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-26 20:37:40 +00:00
Laurent Aimar 60294c593e Correctly update output sample format in wavpack decoder.
Patch by Laurent Aimar (at 'fenrir (cons 'videolan 'org))

Originally committed as revision 18694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-26 04:23:29 +00:00
Benjamin Larsson bdb8d99613 Proper subpacket size check for cook multichannel files.
Originally committed as revision 18693 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-25 20:09:34 +00:00
Benjamin Larsson bb1135c8a3 Remove parentheses
Originally committed as revision 18692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-25 19:47:18 +00:00
Benjamin Larsson fcc01e646b Set the type of size in COOKSubpacket to unsigned
Originally committed as revision 18691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-25 18:43:30 +00:00
Stefano Sabatini 75801da580 Add pixdescs definitions for planar YUV pixfmts with 16 bits per
component.

Originally committed as revision 18690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-25 18:29:31 +00:00
Benjamin Larsson ec32cfd2cc Make sure we only parse max amount of subpackets (5) in the cook decoder.
Originally committed as revision 18689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-25 17:46:27 +00:00
Benjamin Larsson da75426b26 Indent
Originally committed as revision 18688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-25 17:35:21 +00:00
Benjamin Larsson 0a704b5f21 Remove redundant code
Originally committed as revision 18687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-25 17:33:36 +00:00
Benjamin Larsson 9189d7eba6 Add Changelog for Cook multi channel support
Originally committed as revision 18686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-25 10:47:24 +00:00
Benjamin Larsson 67da31826f Support cook multichannel files.
Originally committed as revision 18685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-25 10:46:07 +00:00
Benjamin Larsson 7204850ea9 Fix the COOKDEBUG code
Originally committed as revision 18684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-25 10:25:14 +00:00
Benjamin Larsson 4a291c90fe Factor out COOKSubpacket, in preparation for multichannel support.
Originally committed as revision 18683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-25 10:20:48 +00:00
Stefano Sabatini 10151b138a Add missing pixel format descriptor definitions.
Originally committed as revision 18682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-25 07:53:55 +00:00
Kostya Shishkov 3df18b3ed1 Get rid of monstrous static table and initialize VLCs for RV3/4 dynamically.
Originally committed as revision 18681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-25 05:47:38 +00:00
Kostya Shishkov 1c86db80a9 Remove useless assignment during initialization for some decoders
Originally committed as revision 18680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-24 14:09:24 +00:00