Commit Graph

16990 Commits

Author SHA1 Message Date
Ramiro Polla
c687643c68 mlp: cosmetics: remove {}s over one-lined if.
Originally committed as revision 16027 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-07 00:58:41 +00:00
Ramiro Polla
ee1a8f6290 mlp: support bit-depths greater than 16 by default.
Originally committed as revision 16026 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-07 00:57:26 +00:00
Ronald S. Bultje
dc50773dc5 Remove static variable and a printf using it. See "[PATCH] asf.c: move
packet_time_start=0 statement" thread on ML.

Originally committed as revision 16025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 20:28:38 +00:00
Ronald S. Bultje
7b2a070800 Change function prototype of the sdp_parse_a_line in DynamicProtocolHandler.
This function is called in rtsp.c for each a= line in the SDP of the Describe
response after m= RTSP stream descriptors. The function prototype used to
take an AVStream argument. For RDT, however, every RTSPStream represents
a set of streams of identical content, and can thus represent multiple
AVStreams. Therefore, it should not take an AVStream as argument. This
patch modifies it to accept a AVFormatContext (of the RTSP/SDP demuxer)
instead. See discussion in "[PATCH/RFC] change function prototype of
parse_sdp_a_line" thread on ML.

Originally committed as revision 16024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 18:41:17 +00:00
Ronald S. Bultje
022f0b7c01 Do not access s->gb directly in functions that have a local copy of that
variable. See "[PATCH] asf.c: don't access AVFormatContext->pb" thread on
ML.

Originally committed as revision 16023 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 18:35:52 +00:00
Justin Ruggles
2ceccf045c ac3dec: simplify exponent bounds checking
Originally committed as revision 16022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 16:33:16 +00:00
Mathieu Velten
97679e6e38 mlp: Fix compilation under CONFIG_AUDIO_NONSHORT.
Patch by Mathieu Velten < matmaul at gmail dot com >

Originally committed as revision 16021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 16:28:48 +00:00
Justin Ruggles
d98d70d697 ac3dec: add missing feature log message for block start info
Originally committed as revision 16020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 16:19:44 +00:00
Justin Ruggles
3e7aa8fa4c ac3dec: use skip_bits_long() for block start bits
Originally committed as revision 16019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 16:18:10 +00:00
Justin Ruggles
96f229d6c0 ac3dec: unroll inner loop in exponent decoding. 46% faster decode_exponents().
Originally committed as revision 16018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 15:46:23 +00:00
Justin Ruggles
806703243e cosmetics: vertical alignment
Originally committed as revision 16017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 15:38:21 +00:00
Justin Ruggles
1cdd567f31 cosmetics: reindent after last commit
Originally committed as revision 16016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 15:37:04 +00:00
Justin Ruggles
ce7d842fa6 ac3dec: detect out-of-range exponents
Originally committed as revision 16015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 15:36:23 +00:00
Måns Rullgård
d8b66635e0 ARM: remove some useless comments
Originally committed as revision 16014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 13:42:00 +00:00
Kostya Shishkov
6149cdbe9d Make decoding run of pixels in MS RLE saner.
This is based on patches by Alex Converse and Mans Rullgard
Thread "[PATCH] Fix MSRLE type punning"

Originally committed as revision 16013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 09:05:30 +00:00
Kostya Shishkov
ce60c2d133 Print out some errors found during MS RLE decoding
Originally committed as revision 16012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 09:01:11 +00:00
Kostya Shishkov
56da1fd7d1 AASC can contain raw data in addition to MS-RLE
Originally committed as revision 16011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-06 08:57:31 +00:00
Michael Niedermayer
d23b28c78b Check that cpb_count is within the allowed range.
Originally committed as revision 16010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-05 21:44:18 +00:00
Ben Littler
62d6f73edc add VX1K h263 and DMK2 mpeg4 avi fourccs
Originally committed as revision 16009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-05 14:59:41 +00:00
Michael Niedermayer
36d5b17514 Fix FF_OPT_TYPE_INT64 support of defaults.
Originally committed as revision 16008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-05 14:55:43 +00:00
Jai Menon
3d5e1bfb20 Fix an overflow in the predictor.
fixes issue 636
Patch by Jai.

Originally committed as revision 16007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-05 07:58:31 +00:00
Vitor Sessak
6e74619e5e Silence some ICC warnings. Patch by Vitor Sessak.
Originally committed as revision 16006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 20:24:22 +00:00
Reynaldo H. Verdejo Pinochet
87a9173679 Add expected const qualifier on 'buf' to match AVCodec.decode's declaration.
This change gets rid of another compiler warning.

Originally committed as revision 16005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 15:08:44 +00:00
Carl Eugen Hoyos
485cfbe806 Recognize pnm file as images.
Originally committed as revision 16004 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 15:08:04 +00:00
Reynaldo H. Verdejo Pinochet
9e00c20e00 COSMETICS, add missing remarks crediting Ben and Kenan
Originally committed as revision 16003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 14:54:55 +00:00
Kostya Shishkov
675f71144b Fraps version 3 seems to be the same as Fraps v5
Originally committed as revision 16002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 14:43:42 +00:00
Baptiste Coudurier
4d35964d01 WRAW fourcc
Originally committed as revision 16001 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 03:00:53 +00:00
Baptiste Coudurier
02a5ef5329 partial WRAW fourcc support, might need image flipping
Originally committed as revision 16000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 02:59:11 +00:00
Justin Ruggles
f23dc1e1f9 silence gcc warning: ‘n_bands’ may be used uninitialized
Originally committed as revision 15999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 02:56:25 +00:00
Justin Ruggles
75b53b2123 ac3dec: use uint8_t for band sizes
Originally committed as revision 15998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 02:51:39 +00:00
Reynaldo H. Verdejo Pinochet
b12c76277b Removes misleading const qualifier, gets rid of two compiler warnings
Originally committed as revision 15997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-04 01:38:12 +00:00
Diego Biurrun
ecfb51d1c2 Add necessary header for av_set_program_name and av_program_add_stream_index.
Originally committed as revision 15996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 23:04:30 +00:00
Ben Littler
26e8d342c0 add fourccs from avi files
Originally committed as revision 15995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 21:44:29 +00:00
Måns Rullgård
b0e8ce55ae ARM: convert VFP code to UAL syntax
Originally committed as revision 15994 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 20:16:01 +00:00
Michael Niedermayer
289e8fd001 Implement complexity estimation parsing and try to detect an incorrectly set
complexity estimation flag.

Originally committed as revision 15993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 17:43:39 +00:00
Michael Niedermayer
b8cf645bd2 add GEOX fourcc for mpeg4
Originally committed as revision 15992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 16:49:58 +00:00
Diego Biurrun
bad4063740 Move declaration of av_set_program_name and av_program_add_stream_index
to a more sensible place.

Originally committed as revision 15991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 16:47:07 +00:00
Diego Biurrun
376924583a Delete unnecessary 'extern' keywords.
Originally committed as revision 28082 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-12-03 15:25:27 +00:00
Diego Biurrun
9686df2be5 Delete unnecessary 'extern' keywords.
Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 15:23:30 +00:00
Ben Littler
26ae363e06 add FFDS fourcc, ok'd by kostya
fixes FFDS files in http://tranquillity.ath.cx/uncommon_video_codecs_final.txt

Originally committed as revision 15989 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 13:53:13 +00:00
Diego Biurrun
c8b4365258 Remove entry about unsupported QCELP codec, it is now supported.
Originally committed as revision 15988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 13:45:41 +00:00
Justin Ruggles
af2272b209 ac3dec: skip decoding and use error concealment for remaining blocks in
the frame after an error occurs.

Originally committed as revision 15987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 03:34:31 +00:00
Laurent Aimar
7a2efd2e44 mlp: initialize all CRC tables in a common function.
This way the decoder does not have to depend on the parser being initialized
before.
Patch by Laurent Aimar <fenrir at via dot ecp dot fr>.

Originally committed as revision 15986 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-03 01:14:06 +00:00
Reynaldo H. Verdejo Pinochet
751ccc4852 Trivial rephrasing, avoids too long line
Originally committed as revision 15985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 18:26:55 +00:00
Reynaldo H. Verdejo Pinochet
cf13954134 Trivial, Cosmetics, mostly brace placement changes
Originally committed as revision 15984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 18:25:17 +00:00
Kostya Shishkov
3e16cde430 Fix reading out of buffer during RV30/40 deblock mask calculation
Originally committed as revision 15983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 18:14:53 +00:00
Kostya Shishkov
958a2b5d6b 34l: forgot to change one case of chroma MC for RV40
Originally committed as revision 15982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 18:12:48 +00:00
Kostya Shishkov
1799d5223e Check RV30/40 slice offsets to be inside buffer.
This fixes issue 738

Originally committed as revision 15981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 17:39:20 +00:00
Kostya Shishkov
a1c1c78019 Update ff_rv34_decode_frame() arguments definition
Originally committed as revision 15980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 17:35:38 +00:00
Kostya Shishkov
207625ee61 Remove unused RV40 spatial intra prediction function
Originally committed as revision 15979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-02 17:34:26 +00:00