Guillaume Poirier
50eaa857c0
remove useless cast that makes code unreadable
...
Originally committed as revision 7586 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Francois Oligny-Lemieux
ac658be5db
harden h264 decoding to prevent some crashes when input data is corrupted.
...
Patch by Frank %eucloid A gmail P com%
date: Jan 18, 2007 6:48 PM
subject: Re: [Ffmpeg-devel] h264, protection against corrupted data (second try patch)
AND
date: Jan 17, 2007 8:22 PM
subject: [Ffmpeg-devel] h264, protection against corrupted data
this also fixes a possible security issue (the sps and pps ids where not checked,
then used as index into an array of sps/pps structs which was then filled with data from the bitstream)
Originally committed as revision 7585 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
045bdb5ab4
uint16->uint8
...
Originally committed as revision 7584 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
763750242b
cosmetics: indentation
...
Originally committed as revision 7583 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
François Revol
c9c1a8e794
The long awaited BeOS cleanup, phase 1.1: removed useless ifdef, changed check for net_server to IP_MULTICAST_TTL.
...
Originally committed as revision 7582 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
François Revol
e9d511dc7e
The long awaited BeOS cleanup, phase 1
...
Originally committed as revision 7581 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
453cd7a496
omg, major typo (fails if card supports rgb24)
...
Originally committed as revision 7580 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
e2158da8cc
Change the Snow encoder to always use the available MotionEstContext pointer.
...
Originally committed as revision 7579 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
2a04823942
Add/update some comments.
...
Originally committed as revision 7578 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
7dc0c991da
Rename do_libav var so as not to clash with the do_libav function on Solaris.
...
Originally committed as revision 7577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
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
18 years ago
Michael Niedermayer
be65b41f90
doxygenize
...
Originally committed as revision 7574 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
3da97cfdfc
avoid code duplication
...
Originally committed as revision 7573 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
Michael Niedermayer
96e39edc59
simplify av_fifo_realloc()
...
Originally committed as revision 7571 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
765d4f3b4a
remove near duplicate function
...
Originally committed as revision 7570 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
870a12d1c2
simplify
...
Originally committed as revision 7569 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
f81b99b82b
simplify
...
Originally committed as revision 7568 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
80036204af
simplify
...
Originally committed as revision 7567 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
Michael Niedermayer
b90ba24b9a
simplify pts/dts reading
...
Originally committed as revision 7565 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
6845801f82
Cosmetics
...
Originally committed as revision 7564 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
75a9fbb9e9
cosmetic
...
Originally committed as revision 7563 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
Michael Niedermayer
ca2560dff6
10l (aes_crypt -> av_aes_crypt)
...
Originally committed as revision 7559 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
Måns Rullgård
b82d0bfe10
update swf regression checksum
...
Originally committed as revision 7557 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
db69c2e590
Make nb_streams unsigned to avoid an ugly cast.
...
Originally committed as revision 7556 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
a02142a50a
fix a gcc warning, avoid an unnecessary operation
...
Originally committed as revision 7555 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
97f6d1545e
fix CONFIG_SMALL again
...
Originally committed as revision 7554 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
5d1b539348
30byte smaller object file
...
Originally committed as revision 7553 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
519773e3a5
10l typo
...
Originally committed as revision 7552 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
6eb7df5c6d
public API
...
Originally committed as revision 7551 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
97e3458c46
cbc support
...
Originally committed as revision 7550 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
2d3475ae6a
avoid memcpy()
...
Originally committed as revision 7549 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago
Michael Niedermayer
cc6b4da83a
remove useless parameter
...
Originally committed as revision 7544 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
14bc38498a
unused variable
...
Originally committed as revision 7543 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
d3af6f3f81
Remove outdated Linux section.
...
Originally committed as revision 7542 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
429088dc52
add msrle fourcc, quicktime_bmp.mov
...
Originally committed as revision 7541 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
69d987a6e6
add png fourcc
...
Originally committed as revision 7540 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
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
18 years ago
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
18 years ago
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
18 years ago