Måns Rullgård
c184bb44db
aes: fix array index out of bounds warning
...
Originally committed as revision 24048 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Eli Friedman
b7cdddcd1f
Silence "comparison of unsigned expression >= 0 is always true" warning.
...
Patch by Eli Friedman, eli d friedman a gmail
Originally committed as revision 24022 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
19c039ee3d
Make mix function more readable.
...
Compiler output unchanged with gcc 4.4.
Originally committed as revision 24006 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
08b317a238
avutil: bump minor version for r23985 (install lfg.h)
...
Originally committed as revision 23997 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
89eec74a52
avutil: install lfg.h
...
Originally committed as revision 23985 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
e669590a0a
Fix parameter name and position in av_crc_init Doxygen documentation.
...
Originally committed as revision 23981 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
3fa7626863
Avoid square brackets in Doxygen comments; Doxygen chokes on them.
...
Originally committed as revision 23979 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
eee9119ad1
Add parameter names to av_log/av_vlog function declarations.
...
Doxygen gets confused without an explicit parameter name.
Originally committed as revision 23972 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
9a58234fea
Fix misspelled parameter names in Doxygen documentation.
...
This fixes one Doxygen warning each.
Originally committed as revision 23970 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
2b4abbd6f5
Move colorspace.h from libavcodec to libavutil.
...
Avoid a compile-time dependency of the pad filter on libavcodec.
Originally committed as revision 23940 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
16bfbfd078
random_seed: simplify
...
Originally committed as revision 23932 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
9958096ea2
Reindent
...
Originally committed as revision 23931 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
b7fa5c5abb
random_seed: allow to block on /dev/random
...
If both /dev/random and /dev/urandom failed to return data, an
uninitialised value might be returned. Since most systems have a
non-blocking /dev/urandom or have /dev/random with similar properties,
the chance of blocking is minimal, and the alternative of returning
non-random data is worse.
Originally committed as revision 23930 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
cae70f99a3
Improve FF_SYMVER documentation
...
Originally committed as revision 23911 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
2eaf7e49c7
Improve av_strerror() documentation
...
Originally committed as revision 23910 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c2a5b4731b
Improve GET_UTF{8,16} documentation
...
Originally committed as revision 23909 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
12633044b1
aes: improve av_aes_crypt() documentation
...
Originally committed as revision 23908 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8201261996
adler32: add API documentation
...
Originally committed as revision 23907 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
ffd31cfef3
base64: improve documentation
...
Originally committed as revision 23905 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
38e23c88db
Make av_get_random_seed() non-blocking
...
Attempt to read from /dev/urandom and /dev/random with O_NONBLOCK set.
If neither succeeds, proceed with fallbacks.
Originally committed as revision 23903 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
dd025f25da
Change AES code to be strict-aliasing-safe.
...
Makes it give correct results with e.g. gcc 4.4.
For unknown reasons the generate asm code also changes
on e.g. gcc 4.3, making the code a bit larger but also
a bit faster.
Originally committed as revision 23896 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
2ad4a3bc78
Pass subshift an argument of the proper type.
...
No changes in generated code.
Originally committed as revision 23856 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
17c78b087a
Use a consistent type for multbl array function parameters.
...
Originally committed as revision 23855 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
276fc8a4e2
Add missing avutil.h include to libavutil/mem.h
...
Originally committed as revision 23803 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
50061b6234
Print a space after the AVClass prefix.
...
This improves readability a bit.
Originally committed as revision 23767 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
45a1b86a05
Add av_clip_int8(), used in the upcoming VP8 decoder.
...
Originally committed as revision 23713 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benoit Fouet
1c7c0e2d40
Add missing parentheses in MKTAG and MKBETAG macros.
...
Originally committed as revision 23711 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
eb928286de
Add more tests to eval, help detecting some of the more apparent
...
errors, far from being a complete test system.
Originally committed as revision 23635 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
7ec9b9beca
Make av_parse_expr() fail if there are trailing chars at the end of
...
the provided expression.
Allow detection of mistyped expressions.
Originally committed as revision 23629 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
2f62224bc0
Improve av_parse_eval() error reporting.
...
Originally committed as revision 23627 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
ed00fe49d7
icc 12 finally fixed attribute(used) so gcc's DECLARE_ASM_CONST can be used.
...
Originally committed as revision 23624 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
33586ee770
Document FF_SYMVER and attribute_used
...
Originally committed as revision 23622 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
ccc87908a9
Fix symbol version compat wrappers on systems with export prefixes
...
Originally committed as revision 23615 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
b462d13262
Add compatibility wrappers for functions moved from lavf to lavc
...
When symbol versioning is enabled, moving symbols from one library to
another breaks binary compatibility. This adds wrappers with the old
version tag for the av_*packet functions recently moved to lavc.
Originally committed as revision 23611 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
3c467bacaa
Fix compilation on windows CE
...
Originally committed as revision 23600 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
297084275c
Fix av_compare_mod() doxy.
...
Originally committed as revision 23593 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
276b45afa0
Add APIchanges entry and bump minor after av_compare_mod() addition.
...
Originally committed as revision 23592 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
db16e3ca65
log.c: Use parameter passed to macro instead of the equivalent local variable
...
in the only function that uses the macro.
Originally committed as revision 23555 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
4855f8679e
Add win32 console color output.
...
Based on patches by James Darnley <james dot darnley at gmail dot com>.
Originally committed as revision 23554 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
6e34a5582d
Move ansi color array to outside of av_log_default_callback(). Do not pass
...
ansi color code to colored_fputs(), and pass instead the error level so the
proper color code may be used.
Originally committed as revision 23553 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
a1c027e9e4
Rename use_ansi_color to use_color so it is not ANSI-specific.
...
Originally committed as revision 23552 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
65db0587a8
Add av_compare_mod()
...
Originally committed as revision 23551 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
0b99215c0e
Move eval.c and eval.h from libavcodec to libavutil, and make the eval
...
API public.
Originally committed as revision 23485 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
6532c6f929
Bump lavu minor and add APIchanges entry after AV_BASE64_SIZE()
...
addition.
Originally committed as revision 23484 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Howard Chu
784824a68c
Use AV_BASE64_SIZE() macro
...
Originally committed as revision 23462 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Howard Chu
31878fcf43
Add AV_BASE64_SIZE() macro
...
Originally committed as revision 23461 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
98aea87b1a
Deprecate PIX_FMT_YUVJ*
...
Originally committed as revision 23451 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
31fdd64194
Convert NaN to 0/0 in av_d2q
...
This fixes aspect ratio calculation for encoding from files with 0/0 stored,
common with ogg/theora
Originally committed as revision 23280 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
99778631e9
Bump libavutil minor version for the addition of av_get_random_seed
...
Originally committed as revision 23255 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago