Michael Niedermayer
50b4468598
change while loops to do-while as the condition is true the first time and the check just wastes cpu cycles
...
Originally committed as revision 7576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-18 00:22:24 +00:00
Michael Niedermayer
4497712f09
simpler branch structure in init (16 bytes smaller object file)
...
Originally committed as revision 7575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 20:14:02 +00:00
Michael Niedermayer
be65b41f90
doxygenize
...
Originally committed as revision 7574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 20:12:12 +00:00
Michael Niedermayer
3da97cfdfc
avoid code duplication
...
Originally committed as revision 7573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 20:11:23 +00:00
Michael Niedermayer
0726982cdb
better to set things to NULL instead of random in case of out of mem
...
Originally committed as revision 7572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 20:06:38 +00:00
Michael Niedermayer
96e39edc59
simplify av_fifo_realloc()
...
Originally committed as revision 7571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 20:05:31 +00:00
Michael Niedermayer
765d4f3b4a
remove near duplicate function
...
Originally committed as revision 7570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 19:46:33 +00:00
Michael Niedermayer
870a12d1c2
simplify
...
Originally committed as revision 7569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 19:30:23 +00:00
Michael Niedermayer
f81b99b82b
simplify
...
Originally committed as revision 7568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 19:19:03 +00:00
Michael Niedermayer
80036204af
simplify
...
Originally committed as revision 7567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 12:06:31 +00:00
Luca Barbato
79acfb0e13
Avoid branches in the loop and solve a gcc warning
...
Originally committed as revision 7566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 11:02:07 +00:00
Michael Niedermayer
b90ba24b9a
simplify pts/dts reading
...
Originally committed as revision 7565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:55:01 +00:00
Luca Barbato
6845801f82
Cosmetics
...
Originally committed as revision 7564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:47:58 +00:00
Michael Niedermayer
75a9fbb9e9
cosmetic
...
Originally committed as revision 7563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:45:59 +00:00
Michael Niedermayer
7e4709b18f
reduce len checks, simplifies code
...
there is a very small chance that a stream which is damaged && unseekable && very small packet && damage to the flags && unlucky buffer state could have a valid packet after a damaged packet lost, but i think this is so unlikely that the simplification outweights it
mans if you disagree with any commit to mpeg.c just say so and ill revert it
Originally committed as revision 7562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:44:57 +00:00
Panagiotis Issaris
0467531999
fix segfault with http://sam.zoy.org/zzuf/lol-ffplay.ogm and
...
http://sam.zoy.org/zzuf/lol-ffplay.ogg
Originally committed as revision 7561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:26:13 +00:00
Michael Niedermayer
e56cfad04b
seperate redo (we dont handle this possibly valid packet) from
...
error_redo (somethings is definitly wrong) in which case we try to resync from the last startcode
Originally committed as revision 7560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:19:10 +00:00
Michael Niedermayer
ca2560dff6
10l (aes_crypt -> av_aes_crypt)
...
Originally committed as revision 7559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 00:49:48 +00:00
Michael Niedermayer
d9319ccebd
set data_size to 0 so that in case we return without setting it nothing funny can happen
...
Originally committed as revision 7558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 23:28:41 +00:00
Måns Rullgård
b82d0bfe10
update swf regression checksum
...
Originally committed as revision 7557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 22:41:59 +00:00
Diego Biurrun
db69c2e590
Make nb_streams unsigned to avoid an ugly cast.
...
Originally committed as revision 7556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 22:31:10 +00:00
Luca Barbato
a02142a50a
fix a gcc warning, avoid an unnecessary operation
...
Originally committed as revision 7555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 22:07:49 +00:00
Michael Niedermayer
97f6d1545e
fix CONFIG_SMALL again
...
Originally committed as revision 7554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 19:50:49 +00:00
Michael Niedermayer
5d1b539348
30byte smaller object file
...
Originally committed as revision 7553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 19:30:43 +00:00
Michael Niedermayer
519773e3a5
10l typo
...
Originally committed as revision 7552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 19:18:50 +00:00
Michael Niedermayer
6eb7df5c6d
public API
...
Originally committed as revision 7551 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 19:14:27 +00:00
Michael Niedermayer
97e3458c46
cbc support
...
Originally committed as revision 7550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 19:08:52 +00:00
Michael Niedermayer
2d3475ae6a
avoid memcpy()
...
Originally committed as revision 7549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 17:58:11 +00:00
Michael Niedermayer
7465619af8
give crypt a src and dst
...
same speed, 100bytes larger object file
Originally committed as revision 7548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 17:51:54 +00:00
Reimar Döffinger
b18e5c031c
Avoid calling decode_slice when context_initialized is not set.
...
Avoids a crash due to dsp.clear_blocks being NULL when called.
Originally committed as revision 7547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 17:46:26 +00:00
Michael Niedermayer
b0642c7409
change subshift a little, this reduces the object size a litlle
...
Originally committed as revision 7546 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 17:40:40 +00:00
Michael Niedermayer
298dd6b7c8
use 2 state arrays so that fewer temporary variables are needed
...
Originally committed as revision 7545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 17:17:05 +00:00
Michael Niedermayer
cc6b4da83a
remove useless parameter
...
Originally committed as revision 7544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 16:29:01 +00:00
Michael Niedermayer
14bc38498a
unused variable
...
Originally committed as revision 7543 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 16:24:43 +00:00
Diego Biurrun
d3af6f3f81
Remove outdated Linux section.
...
Originally committed as revision 7542 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 15:59:10 +00:00
Baptiste Coudurier
429088dc52
add msrle fourcc, quicktime_bmp.mov
...
Originally committed as revision 7541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 00:40:06 +00:00
Baptiste Coudurier
69d987a6e6
add png fourcc
...
Originally committed as revision 7540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 00:26:39 +00:00
Michael Niedermayer
b086d4ff9c
fix segfault with http://sam.zoy.org/zzuf/lol-ffplay.wmv
...
Originally committed as revision 7539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 23:47:53 +00:00
Michael Niedermayer
0e066acb62
fix segfault with http://sam.zoy.org/zzuf/lol-ffplay.mpg and http://sam.zoy.org/zzuf/lol-ffplay.m2v
...
Originally committed as revision 7538 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 23:26:09 +00:00
Michael Niedermayer
c33fc0a540
fixing segfault with http://sam.zoy.org/zzuf/lol-ffplay.avi
...
Originally committed as revision 7537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 22:56:46 +00:00
Måns Rullgård
e22f2aaf99
check for sane values in ogg_get_length(), fix lol-ffplay.ogm fuzz test
...
Originally committed as revision 7536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 22:45:50 +00:00
Måns Rullgård
20be72c890
save/restore number of streams
...
Originally committed as revision 7535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 22:05:22 +00:00
Michael Niedermayer
1aa72a703c
merge shift into mix
...
this need -fno-strict-aliasing to work (needs to be fixed of course)
Originally committed as revision 7534 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 13:45:48 +00:00
Michael Niedermayer
1f83576b48
make aes_en/decrypt() static until we decided on the public API
...
Originally committed as revision 7533 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 10:37:34 +00:00
Diego Biurrun
9e32e071e1
Revert broken removal of variable indirection.
...
Originally committed as revision 7532 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 07:56:15 +00:00
Roman Shaposhnik
e950141a58
* Fixing a bug with incorrect bits set in AAUX source pack
...
* Making DV codec release a buffer on exit
* Flagging accepted pix_fmts for DV encoder
Originally committed as revision 7531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 07:41:28 +00:00
Diego Biurrun
16ab894ecb
spelling, formatting
...
Originally committed as revision 7530 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 05:46:42 +00:00
Michael Niedermayer
0d80bd2f56
move #include log.h into the selftesting code where it belongs
...
Originally committed as revision 7529 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 01:33:56 +00:00
Michael Niedermayer
6572e1a4d2
remove dependancy on *malloc()
...
Originally committed as revision 7528 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 01:32:06 +00:00
Michael Niedermayer
347c27988d
check the last? entry written for detecting already initalized tables
...
Originally committed as revision 7527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 01:05:40 +00:00