Commit Graph

3180 Commits

Author SHA1 Message Date
Michael Niedermayer
002a7414b5 simplify loop a little
Originally committed as revision 5255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 18:04:36 +00:00
Michael Niedermayer
78d2d4e111 do UPDATE_CACHE only when needed (which should be VERY rare)
Originally committed as revision 5254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 17:43:28 +00:00
Michael Niedermayer
e7e2025a53 + (sign&1) -> -sign (1 instruction less)
Originally committed as revision 5253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 17:01:58 +00:00
Michael Niedermayer
ac2549b583 avoid hard to predict branch (idea by arpi)
Originally committed as revision 5252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 16:50:43 +00:00
Steve L'Homme
9296d45d29 warn user about crappy OS patch by (Steve Lhomme <steve.lhomme@free.fr>)
trailing whitespace and init=1 nonsense removed by me
AV_LOG_ERROR -> AV_LOG_INFO (yes steve even though many like you think its an error to use such a OS i cant apply that to cvs, sorry)

Originally committed as revision 5251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 13:06:24 +00:00
Luca Barbato
46641a135c Proper typecast for vector bool
Originally committed as revision 5250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 09:59:53 +00:00
Luca Abeni
5d6ed7c141 move enum PixelFormat from libavcodec to libavutil
----------------------------------------------------------------------

Originally committed as revision 5248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 16:24:38 +00:00
Michael Niedermayer
d30ba3bb34 reverting 1.31->1.33
fix coverity warning CID: 255 (uninitalized variable used to build tables which arent used, well there is a slight change of a FPU exception maybe ...)
(by michael)
Init simplification and 2% faster wma_decode_block on amd64 with tables use
instead of pow(). (by banan)

the init simplifictaion is not correct its not binary identical
the pow optimization breaks decoding of http://klif-e.mos.net.au/videos/extr.wmv

Originally committed as revision 5247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 14:58:36 +00:00
Michael Niedermayer
1adc29eedb dont forget table_size in the decode_frame return value
Originally committed as revision 5246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 14:13:03 +00:00
Corey Hickey
1005f542b2 - Add new file internal.h for common internal-use-only functions.
- Add new function av_tempfile() for creating temporary files; contains
  workaround for MinGW.
- Make XviD stuff use av_tempfile().

Originally committed as revision 5245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 04:33:05 +00:00
Michael Niedermayer
60f3c0b8fc fix gcc 2.95 compilation
Originally committed as revision 5243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 21:11:57 +00:00
Luca Barbato
085065f0fd Cast cruft in order to support Apple gcc
Originally committed as revision 5242 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 18:42:50 +00:00
Diego Biurrun
c6b1866b73 Ignore apiexample and test programs.
Originally committed as revision 5241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 11:01:17 +00:00
Diego Biurrun
dc9cc5ed85 EXTRALIBS already contains -lm, no need to add it explicitly.
Originally committed as revision 5240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 10:59:09 +00:00
Michael Niedermayer
b88a718a11 avoid if(i>=63) check at the end of decode_block()
Originally committed as revision 5239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 09:20:44 +00:00
Michael Niedermayer
415365d225 avoid i++ in decode_block()
Originally committed as revision 5238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 09:13:43 +00:00
Michael Niedermayer
7d2b787daa minor optimization of decode_block()
Originally committed as revision 5237 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 08:41:53 +00:00
Michael Niedermayer
22dde0e955 optimizations by arpi
Originally committed as revision 5235 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-29 01:59:24 +00:00
Reimar Döffinger
dfca23e361 NuppelVideo/MythTVVideo support, including rtjpeg decoder
Originally committed as revision 5232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 22:22:50 +00:00
Luca Barbato
22b48b85b6 altivec support for snow
Originally committed as revision 5228 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 12:51:19 +00:00
Luca Barbato
e62c29bf57 altivec support for snow
Originally committed as revision 5227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-27 12:45:27 +00:00
Benjamin Larsson
5b6638517f Use a more descriptive error message.
Originally committed as revision 5224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-26 17:07:02 +00:00
Kostya Shishkov
76fabb4579 Don't use get_vlc2() when tree is one symbol. This fixes audio decoding
artifacts (chirps instead of silence).

Originally committed as revision 5217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-25 15:37:08 +00:00
Loren Merritt
2ea392529a 10l in 1.199 (write_back_motion with B-pyramid + spatial)
Originally committed as revision 5215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-25 09:46:43 +00:00
Loren Merritt
5e8b787afa simplified and slightly faster h264_chroma_mc8_mmx
Originally committed as revision 5214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-25 08:41:14 +00:00
Steve L'Homme
dc2bf20e27 ST16 is undefined for non-GNU compilers.
Patch by Steve Lhomme <slhomme at divxcorp com>

Originally committed as revision 5206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-24 01:33:22 +00:00
Loren Merritt
e77ef2755a prefetch pixels for future motion compensation. 4-10% faster mpeg1/2/4 decoding (on an athlon-xp).
Originally committed as revision 5204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-23 21:54:46 +00:00
Loren Merritt
513fbd8e5a prefetch pixels for future motion compensation. 2-5% faster h264.
Originally committed as revision 5203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-23 20:16:36 +00:00
Loren Merritt
5e6a5c4daf 10l
Originally committed as revision 5201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 22:08:28 +00:00
Loren Merritt
fdd3057981 added mmx implementation of h264_chroma_mc2
Originally committed as revision 5200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 22:05:00 +00:00
Loren Merritt
53b19144e7 1.5x faster write_back_motion, 1-3% overall
Originally committed as revision 5198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 12:41:02 +00:00
Robert Edele
e8600e5edc add MMX and SSE versions of ff_snow_inner_add_yblock
Patch by Robert Edele < yartrebo AH earthlink POIS net >
Original Thread:
Date: Mar 22, 2006 3:24 AM
Subject: [Ffmpeg-devel] [PATCH] snow mmx + sse2 part 5

Originally committed as revision 5197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-22 12:08:35 +00:00
Robert Edele
2c9a0285d4 snow mmx+sse2 optimizations, part 4
Patch by Robert Edele, yartrebo <<at>> earthlink <<dot>> net

Originally committed as revision 5191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-21 21:51:07 +00:00
Kostya Shishkov
348efc1836 Smacker demuxer and decoder.
Originally committed as revision 5189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-21 17:27:47 +00:00
Måns Rullgård
d59518d45d since Michael prefers to keep dsputil.h private to libavcodec
(rather than installing it system-wide) this patch reverses the
mistake I made last month (mplayer was recently fixed accordingly).

patch from Nico Sabbi <nicola_sabbi at fastwebnet it>

Originally committed as revision 5186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-20 22:48:08 +00:00
Robert Edele
4567b4bdab Add the mmx and sse2 implementations of ff_snow_vertical_compose().
Patch by Robert Edele < yartrebo AH earthlink POIS net >
Original thread:
Date: Mar 20, 2006 5:54 PM
Subject: [Ffmpeg-devel] [PATCH] snow mmx + sse2 part 3

Originally committed as revision 5185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-20 22:27:59 +00:00
Robert Edele
561a18d3ba Snow mmx + sse2 part 2
Patch by Robert Edele,  yartrebo <<at>> earthlink <<dot>> net

Originally committed as revision 5184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-20 05:52:23 +00:00
Michael Niedermayer
1956e16653 fixing interlaced direct mode field select values
Originally committed as revision 5183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-20 01:18:56 +00:00
Michael Niedermayer
83378d0de5 various fixes for xvid_rc
Originally committed as revision 5182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-19 11:49:37 +00:00
Michael Niedermayer
5fe4cf7b9f fix frametypes with xvid_rc
Originally committed as revision 5180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-18 20:43:48 +00:00
Michael Niedermayer
0adba3d88b fixing bquant_offset
Originally committed as revision 5179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-18 02:46:39 +00:00
Michael Niedermayer
e70e7a4b17 segfault fix
Originally committed as revision 5178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-18 02:29:58 +00:00
Corey Hickey
022fad4833 make ff_rate_control_init() bail out if rc_strategy==1 and lavc wasn't
compiled with xvid support.

Originally committed as revision 5176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-17 16:40:10 +00:00
Oded Shimon
13c97a5a0a 10l: Only set *compose97i *add_yblock to dsputils context if we are building with Snow enabled
Patch by Oded Shimon < ods15 AH ods15 POIS dyndns POIS org >

Originally committed as revision 5175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-17 12:08:46 +00:00
Robert Edele
059715a41c First part of a series of speed-enchancing patches.
This one sets up a snow.h and makes snow use the dsputil function pointer
framework to access the three functions that will be implemented in asm
in the other parts of the patchset.
Patch by Robert Edele < yartrebo AH earthlink POIS net>
Original thread:
Subject: [Ffmpeg-devel] [PATCH] Snow mmx+sse2 asm optimizations
Date: Sun, 05 Feb 2006 12:47:14 -0500

Originally committed as revision 5172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-16 19:18:18 +00:00
Michael Niedermayer
fc8c49926c dont pass intra flag if its always 0
Originally committed as revision 5164 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-14 00:22:05 +00:00
Michael Niedermayer
4cb8574dc8 fixing coverity warnig CID: 253 (reading over the end of the aspect_ratio array for illegal aspect ratios)
Originally committed as revision 5163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-13 23:46:47 +00:00
Michael Niedermayer
40c8602f64 fix coverity warning CID: 255 (uninitalized variable used to build tables which arent used, well there is a slight change of a FPU exception maybe ...)
Originally committed as revision 5162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-13 23:29:00 +00:00
Loren Merritt
8f8ae4951e seed iterative_me with mvs from conventional search.
+15% speed, +.1 dB

Originally committed as revision 5158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-13 01:27:13 +00:00
Loren Merritt
07674d518c obey vqscale in 2nd pass
Originally committed as revision 5157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-13 01:26:06 +00:00
Michael Niedermayer
c1341a57f2 reset interlaced_dct flag
Originally committed as revision 5155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-12 19:55:52 +00:00
Kostya Shishkov
79d15fd4db 16-bit DPCM and stereo support for Sierra VMD
Originally committed as revision 5147 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 04:26:55 +00:00
Michael Niedermayer
e7c8206e5c av_free -> av_freep
Originally committed as revision 5145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 00:19:32 +00:00
Michael Niedermayer
87f20c2f31 fix %8 != 0 w/h
Originally committed as revision 5144 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 00:18:43 +00:00
Michael Niedermayer
8437ff75f8 asserts to check if assumed conditions really are true
Originally committed as revision 5143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 22:00:36 +00:00
Michael Niedermayer
3aeefb93c8 out of array read fix
Originally committed as revision 5142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 21:20:49 +00:00
Michael Niedermayer
5d9db9c4a9 out of array read fix
Originally committed as revision 5141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 20:58:42 +00:00
Michael Niedermayer
5430b070a8 cleanup picture / debug output code
Originally committed as revision 5140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 20:40:52 +00:00
Michael Niedermayer
003ebe100b fixing out of array access (only cosmetic, this should never have had a end user vissible effect)
Originally committed as revision 5139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 19:42:51 +00:00
Michael Niedermayer
eabb0ac38e add assert to clarify that we know what we are doing
Originally committed as revision 5138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 19:10:46 +00:00
Michael Niedermayer
cb666260a0 fixing uninitalized dc_pred_dir
this needs testing (no files with intra_dc_threshold and vissible ac_pred errors here)

Originally committed as revision 5137 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 18:40:41 +00:00
Michael Niedermayer
9e801ee2fa very minor optimization
Originally committed as revision 5136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 18:37:18 +00:00
Michael Niedermayer
f7287c42b2 unused variable
Originally committed as revision 5135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 18:34:51 +00:00
Baptiste Coudurier
f2651e7a6c Fix cropping, depending on enc pix fmt
Originally committed as revision 5134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 13:55:48 +00:00
David S. Miller
bf4665eeec Alignment fixes, caused problems on SPARC.
patch by "David S. Miller" davem <<at>> davemloft <<dot>> net

Originally committed as revision 5130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-09 08:05:45 +00:00
Steve L'Homme
267f7edcd1 (f)printf --> av_log conversion
taken from a patch by Steve L'Homme

Originally committed as revision 5127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 11:43:10 +00:00
Benjamin Larsson
6f3dda9328 Init simplification and 2% faster wma_decode_block on amd64 with tables use
instead of pow().

Originally committed as revision 5126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 09:26:57 +00:00
Zuxy Meng
82eb4b0f1b 3DNow! & Extended 3DNow! versions of FFT
Patch by Zuxy Meng, zuxy <<dot>> meng >>at<< gmail <<dot>> com
Minor non-functional diff-related fixes by me.

Originally committed as revision 5125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 04:13:55 +00:00
Loren Merritt
548a1c8a35 h264_idct8_add_mmx
Originally committed as revision 5123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-07 22:45:56 +00:00
Loren Merritt
6da971f160 h264_idct_add only needs mmx1
Originally committed as revision 5122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-07 22:33:32 +00:00
Sam Hocevar
5f112e1f96 Proper mangling information for symbols in OS X Mach-O shared objects.
patch by Samuel Hocevar, sam ..at.. zoy ..dot.. org

Originally committed as revision 5120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 22:06:33 +00:00
Michael Niedermayer
b865838ea2 switch flac to av_crc
Originally committed as revision 5117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 15:09:04 +00:00
Michael Niedermayer
e027d0a81e switch ac3enc to av_crc
Originally committed as revision 5116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 14:53:13 +00:00
Michael Niedermayer
43a80ccee5 generic crc calculation code
Originally committed as revision 5115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 14:13:01 +00:00
Roman Shaposhnik
56419683b2 I still don't think this should be here. Note: without this code DV encoder
will accept incorrect pix_fmt's and such, but decoder will work much better
with containers not setting the same attributes. It seems like there will
be a generic mechanism for checking such constraints, but if not I can always
resurrect this check for *encoder* only.

Originally committed as revision 5114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 09:54:09 +00:00
Daniel Maas
0b297700b7 DVCPRO50 support.
Patch by Daniel Maas dmaas at maasdigital dot com

Originally committed as revision 5113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-06 08:54:33 +00:00
Zuxy Meng
2ffb22d2ad use xorps instead of mulps to toggle the sign of a float, as suggested by Software Optimization Guide for AMD64 Processors.
Patch by Zuxy Meng < zuxy POIS meng AH  gmail POIS com > OKed by Michael
Original thread:
Date: Mar 5, 2006 8:15 PM
Subject: [Ffmpeg-devel] [PATCH] Little optimization to fft_sse.c

Originally committed as revision 5112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-05 20:25:18 +00:00
Loren Merritt
d84f7c61ee gcc2.95 workaround
Originally committed as revision 5111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-05 19:02:35 +00:00
Baptiste Coudurier
980bbb13d6 Make faac_decode_frame return -1 on error and not 0 which avoids
stalling and infinite loop.
Patch by Baptiste COUDURIER <baptiste coudurier at smartjog com>

Originally committed as revision 5110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-05 12:32:24 +00:00
Loren Merritt
7a5b2fa812 remove some useless instructions
Originally committed as revision 5109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-04 19:56:01 +00:00
Diego Biurrun
14b005d009 Make -xy help output consistent, output an empty line before and after.
Originally committed as revision 5108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-04 17:34:17 +00:00
Loren Merritt
9e4cc776da keyframe flag was wrong if SEIs followed the keyframe
Originally committed as revision 5107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-04 03:57:33 +00:00
Michael Niedermayer
ae9e417358 PAL8 support (fixed BLUR8.AVI)
cleanup

Originally committed as revision 5105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-03 21:33:06 +00:00
Michael Niedermayer
b5c85991f6 fix segfault with BLUR8.AVI
Originally committed as revision 5104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-03 20:36:08 +00:00
Michael Niedermayer
d00bff20b2 fix infinite loop
Originally committed as revision 5102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 21:47:53 +00:00
Michael Niedermayer
8d359bbabe cleanup IMA-ADPCM WAV decoder
Originally committed as revision 5095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 13:55:49 +00:00
Loren Merritt
6a8eb0f45a 4% faster h264_qpel_mc
Originally committed as revision 5094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 08:21:08 +00:00
Zdenek Kabelac
289f999dab * bugfixing call reference
Originally committed as revision 5092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 23:19:04 +00:00
Michael Niedermayer
2669777981 fix decoding of mpeg2-trunc.vob
Originally committed as revision 5091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 22:59:22 +00:00
Likai Liu
11c19637d2 use vec_splat_u32 to initialise a v16ui (patch by Likai Liu < liulk _at_ cs.bu.edu >)
Originally committed as revision 5079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-28 21:55:18 +00:00
Dan Maas
40116978de Assign class 2 to most macroblocks by default, instead of a more conservative
method defined by SMPTE

Patch by Dan Maas

Originally committed as revision 5074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-28 02:54:48 +00:00
Benjamin Larsson
79a32e3b95 64bit fixes for the tta decoder, sizeof(long) is 8 on amd64, 4 on x86, the patch
basicly just do a s/long/int32_t/. Patch tested on amd64 and x86.

Originally committed as revision 5072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-27 12:17:20 +00:00
Roman Shaposhnik
e5867e4d50 Not that we're that far from being an *initial* implementation, but
at least weighting got implemented thanks to Dan. ;-)

Originally committed as revision 5071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-27 05:04:05 +00:00
Dan Maas
2e52b44e50 AC coefficient weighing (per SMPTE 314M) for the DV encoder and decoder. The
performance impact is less than 1%.

Patch by Dan Maas  (dmaas at maasdigital dot com)

Originally committed as revision 5070 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-27 04:50:06 +00:00
Michael Niedermayer
0403f791b3 remove wrong assert()
Originally committed as revision 5067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-26 15:40:08 +00:00
Michael Niedermayer
d676478c8d replace for loop with 2 asserts()
Originally committed as revision 5066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-26 15:24:42 +00:00
Dan Maas
6df5f6ae51 size[0-3] are not initialized (and can get random negative trash
values), so the comparison with vs_total_ac_bits is messed up on the
first couple loop iterations, leading to AC underflows.

the b->prev[] pointers were not being maintained correctly. We
potentially have to update b->prev[] both before and after the area
whose VLC length is getting adjusted.

this also might fix the ppc regression failure?

patch by (Dan Maas <dmaas maasdigital com>)

Originally committed as revision 5064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-25 22:58:26 +00:00
Måns Rullgård
1bd8624697 kill some warnings
Originally committed as revision 5063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-25 22:41:31 +00:00
Loren Merritt
285b570fd2 fix a memory leak on seeking.
Originally committed as revision 5062 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-25 22:15:24 +00:00
Michael Niedermayer
7bdb4f67bc 10l (forgot EOBs)
Originally committed as revision 5059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-24 09:16:26 +00:00