Commit Graph

14710 Commits

Author SHA1 Message Date
Michael Niedermayer 0328995893 All mp3 parsers are buggy fix 2 of n (out of array write, i suspect not exploitable)
Originally committed as revision 14070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-04 22:04:41 +00:00
Michael Niedermayer d5ae45841f All id3 parsers are buggy, 0 termination fix 1 of n (issue created by andreas
and found by reimar) fix is from reimar + cosmetics by me.

Originally committed as revision 14069 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-04 22:00:35 +00:00
Vitor Sessak 6f1e7a9e09 Write for loops in a more standard way. In my opinion, they are much more readable now.
Originally committed as revision 14068 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-04 19:55:58 +00:00
Ramiro Polla b517af05b9 MLP/TrueHD decoder.
Originally committed as revision 14067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-04 15:44:13 +00:00
Vitor Sessak 69c23e6f33 Move vars declaration to inner loop when possible
Originally committed as revision 14066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-04 15:37:52 +00:00
Vitor Sessak 12ea267bca Simplify
Originally committed as revision 14065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-04 15:32:04 +00:00
Diego Biurrun 8a3227968c spelling/grammar/wording overhaul
Originally committed as revision 27190 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-04 13:49:45 +00:00
Diego Biurrun 4bdc44c7fe whitespace cosmetics
Originally committed as revision 27188 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-04 13:14:29 +00:00
Diego Biurrun 7a4d5e174c Place license header at the top of the file for consistency.
Originally committed as revision 27187 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-07-04 13:12:47 +00:00
Diego Biurrun 15d6e3612f spelling cosmetics
Originally committed as revision 14064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-04 13:05:06 +00:00
Vitor Sessak ab52eb8e50 Remove unneeded var
Originally committed as revision 14063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-03 19:25:12 +00:00
Vitor Sessak 780433976d Use a matrix instead of a vector
Originally committed as revision 14062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-03 19:23:42 +00:00
Vitor Sessak a429946ba9 Reindent table
Originally committed as revision 14061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-03 19:21:19 +00:00
Ronald S. Bultje 1e2802c5cf Reindent after r14059, see "[PATCH] allow empty params for
av_open_input_stream()".

Originally committed as revision 14060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-03 12:12:03 +00:00
Ronald S. Bultje e145ce2027 Allow NULL for read_header in AVInputFormat. See discussion in "[PATCH] allow
empty params for av_open_input_stream()".

Originally committed as revision 14059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-03 12:10:54 +00:00
Michael Niedermayer 4f0689b528 We do not only calculate it but we also return it.
Originally committed as revision 14058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-03 11:52:35 +00:00
Michael Niedermayer 2de74f5a4d More correct comment.
Originally committed as revision 14057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-03 11:51:59 +00:00
Michael Niedermayer 2b150e9a0c make sum_of_squares() more generic
Originally committed as revision 14056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-03 11:50:44 +00:00
Alexander Strange 58cc7dd9fc Cosmetics: split a long line.
Originally committed as revision 14055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 22:28:47 +00:00
Alexander Strange 92ed1ec957 Use get_cabac_bypass_sign instead of an if/else.
Originally committed as revision 14054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 22:25:17 +00:00
Alexander Strange 142ee5d73d Reorder the if/else for residual cats to match gcc's branch prediction.
Originally committed as revision 14053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 22:20:06 +00:00
Alexander Strange 47775cb8de Simplify loop condition for readability.
Originally committed as revision 14052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 22:15:05 +00:00
Alexander Strange 9f734c3b57 Reindent.
Originally committed as revision 14051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 22:12:01 +00:00
Alexander Strange 9588ec340c Clone decode_cabac_residual() for DC residuals, to get rid of a bunch of branches in the main loop.
Originally committed as revision 14050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 22:08:12 +00:00
Alexander Strange 2e254bc583 Don't generate two copies of hl_decode_mb() under ENABLE_SMALL.
(assuming your compiler removes unused static functions)

Originally committed as revision 14049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 22:03:53 +00:00
Alexander Strange fedec603db Don't test for H264 encoding unless an encoder exists.
Originally committed as revision 14048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 21:46:18 +00:00
Ramiro Polla 5faf3a4449 Clarify comment about parity nibble.
Originally committed as revision 14047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 12:24:50 +00:00
Luca Abeni fba7815d8d Reindent after last commit
Originally committed as revision 14046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 10:26:23 +00:00
Luca Abeni d6b9e57af2 Fix A/V synch for RTP streams that do not contain MPEG1 or 2
(correctly compute the presentation times based on the RTP timestamps
and the RTCP SR packets)

Originally committed as revision 14045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-02 10:23:27 +00:00
Ramiro Polla 49de8d1e9c Make ff_mlp_read_major_sync() take a GetBitContext instead of buffers.
Originally committed as revision 14044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-01 01:36:16 +00:00
Stefano Sabatini 6122c92e92 Clarify/simplify documentation for the default_val field in AVOption.
Originally committed as revision 14043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 21:46:49 +00:00
Stefano Sabatini dde2d1dc36 Remove credit to Philip Gladstone contribution from the ffserver
documentation. Philip Gladstone aka philipjsg contributed the first
version of the section named Quickstart (now incorporated into the
DESCRIPTION section).

Originally committed as revision 14042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 21:40:28 +00:00
Vitor Sessak f38deb4452 Remove useless wrapper around ra288_decode_frame()
Originally committed as revision 14041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 19:30:27 +00:00
Vitor Sessak 6091357fc0 Remove unpack() function, read the bitstream as needed
Originally committed as revision 14040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 19:09:00 +00:00
Vitor Sessak 285ea3e30a Clean up error message
Originally committed as revision 14039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 18:39:11 +00:00
Vitor Sessak a40b2c2a4b Rewrite unpack() using the bitstream reader
Originally committed as revision 14038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 18:36:45 +00:00
Vladimir Voroshilov e500315b1d gain code, gain pitch and pitch delay decoding for ACELP based codecs
Originally committed as revision 14037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 18:03:38 +00:00
Vitor Sessak 4452836391 Move function to avoid forward declaration
Originally committed as revision 14036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 16:57:27 +00:00
Vitor Sessak c1fadf5012 Remove useless initialization
Originally committed as revision 14035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 16:54:49 +00:00
Vitor Sessak eec7ade275 Reindent the whole file
Originally committed as revision 14034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 16:53:33 +00:00
Benoit Fouet 0abf0c5398 Simplify mm_support() for ARM (by Måns).
Originally committed as revision 14033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 11:16:47 +00:00
Matthieu Castet 37dcd091da Define mm_support() for ARM.
Patch by Matthieu Castet <castet matthieu free fr>

Originally committed as revision 14032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-30 07:31:41 +00:00
Vitor Sessak fe4a5b185f Make ff_acelp_lp_synthesis_filter() receives a pointer to the actual filter coefficients and not the pointer minus one
Originally committed as revision 14031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-29 21:37:03 +00:00
Vitor Sessak b83ff6c700 Update copyright
Originally committed as revision 14030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-29 13:12:31 +00:00
Vitor Sessak 95fc77b92d Use ff_acelp_lp_synthesis_filter() instead of duplicating it
Originally committed as revision 14029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-29 11:21:06 +00:00
Vitor Sessak 8a1c868ee6 Add a rounding parameter to ff_acelp_lp_synthesis_filter()
Originally committed as revision 14028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-29 11:19:50 +00:00
Laurent Desnogues a6ce3d3d2d Add command line support for '-idct simplearmv6'.
patch by Laurent Desnogues, laurent.desnogues gmail com

Originally committed as revision 14027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-29 08:32:27 +00:00
Vitor Sessak dc95111c09 Doxy comment
Originally committed as revision 14026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-29 07:58:46 +00:00
Baptiste Coudurier 90ffc4902e include track id in error message
Originally committed as revision 14025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-28 20:32:37 +00:00
Baptiste Coudurier f056c8e9dd set frame_size in libfaad decoder
Originally committed as revision 14024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-28 19:41:18 +00:00