Michael Niedermayer
6e24b9488e
svq1dec: call avcodec_set_dimensions() after dimensions changed.
...
Fixes NGS00148, CVE-2011-4579
Found-by: Phillip Langlois
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
51a16077da
svq1dec: avoid undefined get_bits(0) call
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
e4faa31a0a
svq1dec: use sign_extend()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
13 years ago
Diego Biurrun
657ccb5ac7
Eliminate FF_COMMON_FRAME macro.
...
FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied
to struct Picture. Replace by an embedded AVFrame structure in struct Picture.
14 years ago
Diego Biurrun
f8ea0eb6ff
svq1dec: Fix debug statements that referenced non-existing context.
14 years ago
Diego Biurrun
f190f676bc
Replace custom DEBUG preprocessor trickery by the standard one.
14 years ago
Diego Biurrun
2366462429
Replace #ifdef + av_log() combinations by av_dlog().
14 years ago
Mans Rullgard
e65ab9d94f
Remove unused variables
14 years ago
Stefano Sabatini
975a1447f7
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Diego Biurrun
2e15305b70
Remove some disabled printf debug cruft.
14 years ago
Anton Khirnov
e7021c0ed5
lavc: remove FF_API_HURRY_UP cruft
14 years ago
Anton Khirnov
8ed2ae09a2
lavc: mark hurry_up for removal on next major bump
...
It has been deprecated for about five years, skip_idct/skip_frame should
be used instead.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Måns Rullgård
5228bcd870
svq1dec: replace VLA with malloc/free
...
Originally committed as revision 23794 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 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
Stefano Sabatini
1c062b555c
Add additional long names for the Sorenson Vector Quantizer 1 decoder
...
and encoder.
Originally committed as revision 20315 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
80bc3bbc2e
Replace last use of INIT_VLC_USE_STATIC by INIT_VLC_USE_NEW_STATIC in svq1dec
...
Originally committed as revision 20012 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
9c3068c80e
Use INIT_VLC_STATIC where easily possible in svq1dec
...
Originally committed as revision 20009 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
2ba8301769
Mark all pix_fmts and supported_framerates compound literals as const.
...
Makes no difference for gcc but at least icc can put them in .rodata then.
Originally committed as revision 19789 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
ef516f7377
Move ALIGN macro to libavutil/common.h and use it in various places
...
Originally committed as revision 18898 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
1b923aa44a
Two INIT_VLC_USE_STATIC cases Carl missed.
...
Originally committed as revision 18438 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
e161e007be
Use INIT_VLC_USE_STATIC and not its value "1".
...
Originally committed as revision 18430 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
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
199436b952
moves mid_pred() into mathops.h (with arch specific code split by directory)
...
Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Mike Melanson
02fb2546e8
The POSIX namespace shall be held sacrosanct. To that end,
...
continue eliminating _t from structure names in FFmpeg.
Originally committed as revision 16118 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
795bb9dcb0
Export svq1_packet_checksum() that is needed for svq3 watermarks,
...
patch by baptiste that is based on reverse engineering work by chrono.
Originally committed as revision 15617 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
Carl Eugen Hoyos
eacced45c4
Replace some occurrences of -1 with PIX_FMT_NONE.
...
Fixes icc warning #188 : enumerated type mixed with another type
Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
162d4fc99d
Add long names to AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13009 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
9701840bb5
add FF_ prefix to all (frame)_TYPE usage
...
Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
ffb52962d0
some const
...
Originally committed as revision 11774 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
7f390307db
Add const qualifiers to unmodified function parameters, fixes the warning:
...
svq1dec.c:584: warning: passing argument 1 of 'svq1_packet_checksum' discards qualifiers from pointer target type
Originally committed as revision 11536 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
744496e3e3
Remove bogus cast.
...
Originally committed as revision 11535 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alex Beregszaszi
5fc32c275e
use get_bits1(..) instead get_bits(.., 1)
...
Originally committed as revision 9999 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
5416616588
split SVQ1 decoder and encoder in their own files
...
Originally committed as revision 9507 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
7b94177e37
Group all copyright and author notices together.
...
Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
755bfeabcc
misc spelling fixes
...
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 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
Loren Merritt
e62b3dd210
move some stuff out of an inner loop. 12% faster svq1 encoding.
...
Originally committed as revision 8560 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
5900637219
mmx 16-bit ssd. 2.3x faster svq1 encoding.
...
Originally committed as revision 8559 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
f66e4f5f9e
Add av_ prefix to clip functions
...
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
eafcac6ac8
cosmetics: Fix another common typo, dependAnt --> dependEnt.
...
Originally committed as revision 8114 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
3c1418175d
fix bitstream to be correctly decoded by quicktime
...
Originally committed as revision 7157 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
f856756059
fix sigfpe with intra only encoding
...
Originally committed as revision 7156 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