Commit Graph

5727 Commits

Author SHA1 Message Date
Uoti Urpala 4f26258f84 dtsdec.c copies one input packet at a time to a (static) buffer of size
4096 bytes while the packet can be up to 18726 bytes.
The code also keeps decoding until all input data has been used up,
not respecting AVCODEC_MAX_AUDIO_FRAME_SIZE.

The patch increases the buffer size and return after decoding one frame.
Also fixes dts_decode_init to return -1, not 1, on failure.

Patch by Uoti Urpala  ||| uoti : urpala |!| pp1 : inet : fi |||

Originally committed as revision 5307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-20 19:23:57 +00:00
Luca Abeni c3f11d199c Simplify the code used for assigning video_resample, video_crop, & video_pad
Originally committed as revision 5306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-20 12:57:19 +00:00
Reimar Döffinger 50a6c318b2 Avoid crash if there is a rtjpeg quant header but no video stream in file
Originally committed as revision 5305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-20 10:38:15 +00:00
Reimar Döffinger 2d5545c302 make "size" variable in avpicture_alloc signed, since avpicture_get_size
returns -1 on error which was not detected with previous code.

Originally committed as revision 5304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 19:51:56 +00:00
Baptiste Coudurier 3cb4ee5124 set width and height even for mpeg4, pix_fmt to NONE will force decoding anwyay
Originally committed as revision 5303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 14:18:13 +00:00
Baptiste Coudurier b6c1bfe097 add AVID DV fourcc
Originally committed as revision 5302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 12:56:28 +00:00
Baptiste Coudurier e0977c8045 indention
Originally committed as revision 5301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 12:53:47 +00:00
Baptiste Coudurier 5c72cad888 always skip garbage at end of atom
Originally committed as revision 5300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 12:51:58 +00:00
Baptiste Coudurier 98d12b09af move declaration to mov.h
Originally committed as revision 5299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-19 10:02:41 +00:00
Wolfram Gloger f42635f558 gcc-2.95 compile fix, patch by Wolfram Gloger <wmglo A dent PIS med PIS uni-muenchen PIS de>
Originally committed as revision 5298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-18 03:48:30 +00:00
Erik Auerswald 4ee5599fba 10l in rgb2rgb_template.c
patch by Erik Auerswald <auerswal at unix-ag uni-kl de>

Originally committed as revision 18111 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-04-16 08:27:16 +00:00
Luca Barbato fd925db3c8 typo in the gcc handmade regalloc trigger
Originally committed as revision 5297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-16 03:40:04 +00:00
Nicolas Plourde fac8012c3f add support for intel mac. mp3lib is not fixed yet.
Originally committed as revision 18105 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-04-15 20:46:54 +00:00
Diego Biurrun 2900340e6f Add mphq2 admins.
Originally committed as revision 5296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-15 15:09:45 +00:00
Diego Biurrun 2cf30841b5 Have EXTRALIBS appear after other link options, fixes shared build on Cygwin.
based on patch by Marcus Engene, ffmpeg AATT engene DDOOTT se

Originally committed as revision 5295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-15 15:05:53 +00:00
Diego Biurrun e1ffc3adb8 Revert Windows "warning" message.
Originally committed as revision 5294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-15 14:15:09 +00:00
Wolfgang Scherer 60dfd14778 Fix SIGSEGV in rv10-null-pointer-500k.rm.
patch by Wolfgang Scherer, Wolfgang__ . __Scherer__ @ __gmx__ . __de

Originally committed as revision 5293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-15 12:52:01 +00:00
Diego Biurrun 04f40508b2 Allow passing CFLAGS through the environment on all platforms.
Originally committed as revision 5292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-14 23:33:34 +00:00
Diego Biurrun b9ca6d4704 output cosmetics
Originally committed as revision 5291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-14 21:31:12 +00:00
Michael Niedermayer 37921ffde8 fix "concealing 0 DC, 0 AC, 0 MV errors" bug
Originally committed as revision 5290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-14 20:45:08 +00:00
Baptiste Coudurier 5616f85deb clean and simplify mov_write_packet
Originally committed as revision 5289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-14 10:51:32 +00:00
Michael Niedermayer b548f2b91b ffv1 and ffvhuff havnt changed since a long time and noone proposed any
changes within 1 month after my warning so they are officially no longer
experimental and we will gurantee decodeability of files encoded with
the currenzt ffv1/ffvhuff in the future

Originally committed as revision 5288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-14 10:37:40 +00:00
Baptiste Coudurier 611fd605a3 get avcC profile and level indication from sps (from handbrake)
Originally committed as revision 5287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-14 09:54:17 +00:00
Baptiste Coudurier 18c697acce write mdat in write_header avoid check in write_packet
Originally committed as revision 5286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-13 13:21:20 +00:00
Luca Abeni 490c189bc8 Disable v4l2 is videodev2.h is not "sanitized"
Originally committed as revision 5285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-13 10:00:56 +00:00
Baptiste Coudurier 32ba6fb141 dont write stss atom if keyframes only
Originally committed as revision 5284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-11 08:12:54 +00:00
Baptiste Coudurier fd7789dbe8 decrease last_offset when ftyp is present
Originally committed as revision 5283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-10 17:18:35 +00:00
Baptiste Coudurier a336965e70 fix edts for tracks without b frames
Originally committed as revision 5282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-10 17:04:22 +00:00
Benjamin Larsson f1f7807abd AC3 encoding volume fix, by Justin Ruggles jruggle earthlink net.
Originally committed as revision 5281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-10 12:12:26 +00:00
Luca Abeni f122deb45c Cosmetic patch: fix indentation (broken by previous cropping / padding
patch)

Originally committed as revision 5280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-10 10:16:13 +00:00
Luca Abeni 07d0cdfc9f Make cropping, padding, and rescaling independent (after this patch,
the cropping / padding code in img_resample() is not needed anymore)

Originally committed as revision 5279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-10 09:04:15 +00:00
Luca Abeni 5341c20954 Baptiste COUDURIER's padding patch (reworked by me a little bit).
Moves padding code to imgconvert.c, and enables padding colorspaces != YUV420P.

Originally committed as revision 5278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-10 07:45:29 +00:00
D Richard Felker III 7b98bcbd0f signedness error caused broken decoding
Originally committed as revision 5277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-09 06:53:40 +00:00
D Richard Felker III c4e2a535b3 100l to loren. at least this fixes the compile error, but the code is still broken (decoding buggy/crashing)
Originally committed as revision 5276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-09 06:04:00 +00:00
Corey Hickey 52dc09a5fe Fix regression tests to match changed output of AC3 encoder
(ac3enc.c r1.30)

Originally committed as revision 5275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-07 21:30:24 +00:00
Roberto Togni 0c35eb1c69 Add missing external declaration for kmvc codec
Originally committed as revision 5274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-07 21:08:34 +00:00
Kostya Shishkov fd7b199199 KMVC (used in Worms games) decoder. Works fine with samples from MPHQ
Originally committed as revision 5273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-07 16:59:57 +00:00
Luca Barbato a01e08ee5c hadamard8_diff* enabled on linux/ppc
Originally committed as revision 5272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-07 12:40:28 +00:00
Alan Curry 265a1ac75e Reorganize vector constants to work around gcc 4.1 bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27006

This bug caused certain movies (444P or RGB/BGR-based) to become brighter
and more purple when played on a YV12 vo.

Originally committed as revision 18047 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
2006-04-06 10:08:54 +00:00
Kostya Shishkov 1c6606e2d0 Fix demuxing of AVIs with pad streams.
Originally committed as revision 5271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-06 03:33:10 +00:00
Måns Rullgård 9076fee4f5 s/SAMPLT_FMT_NONE/SAMPLE_FMT_NONE/
typo spotted by Brian Brice <bbrice at newtek com>

Originally committed as revision 5270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-05 18:56:22 +00:00
Loren Merritt 75ca1a5f70 gmc_mmx tweaks
Originally committed as revision 5269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-05 04:13:41 +00:00
Michael Niedermayer 87b041e0f0 little h.264 related hunk from diff between cvs and mobile hackerz
Originally committed as revision 5268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-04 17:44:59 +00:00
Michael Niedermayer 9e282ba382 the PSP rejects video with too high bitrates so lets claim they arent too high ...
Originally committed as revision 5267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-04 12:58:56 +00:00
Luca Abeni 7b748aff2c Introduce swscale interface in libavcodec
Originally committed as revision 5266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-04 12:35:55 +00:00
Loren Merritt 703c8195a8 mmx implementation of 3-point GMC. (5x faster than C)
Originally committed as revision 5265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-04 09:23:45 +00:00
Loren Merritt 841f65f25a 2x faster ff_mpeg4_set_direct_mv
Originally committed as revision 5264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-03 07:52:24 +00:00
Justin Ruggles f760b70fbe AC3: support encoding fractional frame sizes
Patch by Justin Ruggles, jruggle <<at>> earthlink <<dot>> net

Originally committed as revision 5263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-03 00:51:09 +00:00
Roman Shaposhnik c4e7baa85c * fixing DV-in-AVI type1 packet production bug
Originally committed as revision 5262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-01 23:13:53 +00:00
Måns Rullgård d2fbcb3bc8 #define [U]INT32_{MIN,MAX} if missing
Originally committed as revision 5261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-01 22:29:20 +00:00