Måns Rullgård
8fc0162ac4
Add av_ prefix to bswap macros
...
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
e6b22522c9
bswap: change ME to NE in macro names
...
Other parts of FFmpeg use NE (native endian) rather than ME (machine).
This makes it consistent.
Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
63613fe615
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
...
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
3aab27b459
Remove useless #include <unistd.h> from many files
...
Originally committed as revision 19499 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
4f76697b3e
Change av_free to av_freep
...
Originally committed as revision 19360 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
16c8318513
Reallocate internal buffer when coded frame size changes.
...
Fixes out-of-bounds reads and writes with i32/smclocki32.avi.1.0 from issue 1240.
Originally committed as revision 19359 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
28bcc76ab7
Change iv_decode_frame to get AVCodecContext as argument, so that
...
avcodec_check_dimensions can be called with a proper context instead of NULL.
Originally committed as revision 19358 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
7bbf3f2ca4
indeo3 decoder uses get_buffer, set CODEC_CAP_DR1
...
Originally committed as revision 19090 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
d42e44a0ef
Reindent after last commit
...
Originally committed as revision 17464 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
274aa1d02f
Some buffer checks for indeo3
...
Originally committed as revision 17462 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
a6cef9651d
Remove unneeded check.
...
Originally committed as revision 16803 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
a44cb89b0f
Fix an exploit in indeo by checking we are not writing out of the strip array.
...
Fixes issue 655
Originally committed as revision 16802 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
1238fa9fb8
indeo3: replace sizeof(struct ...) by sizeof(*var)
...
Originally committed as revision 16128 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bda4e3940a
Replace 'typedef struct ustr_t' by 'struct ustr', _t is POSIX namespace.
...
Originally committed as revision 16099 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
2c4b482931
Rename some variables and add some comments to try to be a bit more clear.
...
Originally committed as revision 15510 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
b07e52a955
Fix indentation.
...
Originally committed as revision 15498 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
5fbec79197
Remove useless context variable.
...
Originally committed as revision 15495 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
963203361c
Merge declaration and assignment.
...
Originally committed as revision 15494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
21899717a3
Move iv_decode_frame function to remove a forward declaration.
...
Originally committed as revision 15488 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
950c0373fd
Remove useless lines.
...
Originally committed as revision 15487 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
6f427ccbeb
Reindent whole file.
...
Originally committed as revision 15486 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
e1a96237df
Indent.
...
Originally committed as revision 15480 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
f8be1206a6
Simplify iv_free_func().
...
Originally committed as revision 15479 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
ffc64ac061
Move allocated buffer out of YUV buffer structure.
...
Originally committed as revision 15478 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
c2db8a99a6
Remove useless initializations.
...
Originally committed as revision 15477 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
8b27f76bf8
Check allocations on init.
...
Originally committed as revision 15476 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
809a23a543
Remove useless test.
...
Originally committed as revision 15475 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
56d9b943d3
Cosmetics
...
Originally committed as revision 15474 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
68e9c68fdb
use uint8_t instead of unsigned char
...
Originally committed as revision 15473 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
e679560d9c
Corrector type fits in 8 bits.
...
Originally committed as revision 15472 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
2c3c87b8c4
Remove useless casts and use variable instead of its type in sizeof.
...
Originally committed as revision 15471 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
9fd88b2946
Change table types to uint8_t
...
Originally committed as revision 15470 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
d5202e4fda
Add long names to many AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
fbd4293df9
remove more useless mpegvideo.h includes
...
Originally committed as revision 12323 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2ec3861238
const
...
Originally committed as revision 11731 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
972c99c112
Use bytestream.
...
Originally committed as revision 11730 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7993df6527
consts
...
I have underestimated this a little, and these are just some ...
Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
9c9519fd39
Two tables that should be const
...
Originally committed as revision 11692 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
2029f312e8
Remove redundant #inclusion of common.h, avcodec.h already #includes it.
...
Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Nicholas Tung
587d07227e
Remove superfluous setting of has_b_frames in codecs without B-frames.
...
patch by Nicholas Tung, ntung ntung com
Originally committed as revision 8647 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
0b2d5a8ed5
use FFMIN
...
patch by ramiro _at_ lisha.ufsc.br
Originally committed as revision 8119 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
191e8ca752
fix some signedness warnings
...
Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago