Andreas Cadhalpun
39a6e02fd4
fix spelling errors
...
Reviewed-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Derek Buitenhuis
dac7e8a94e
avutil: Add av_get_time_base_q()
...
This fixes usage of AV_TIME_BASE_Q in C++ applications, which
cannot use compound literals directly in their code.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Derek Buitenhuis
502512ea0f
avutil: Add av_get_time_base_q()
...
This fixes usage of AV_TIME_BASE_Q in C++ applications, which
cannot use compound literals directly in their code.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Luca Barbato
9a4c10e3af
lavu: Move preprocessor macros in a separate file
...
And remove all the circular inclusions of avutil.h while at it.
11 years ago
Diego Biurrun
b83d1ee3b4
avutil: Move library version related macros to version.h
...
This is a more sensible place for these macros.
11 years ago
Michael Niedermayer
f52852098d
avutil/utils: run ff_check_pixfmt_descriptors() only when ASSERT_LEVEL is > 0
...
this safes about 0.1ms
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
f3d0642d35
avutil/utils: check that size_t is unsigned
...
ANSI/ISO C guarantee this, yet there is evidence that there exist
platforms where its not so.
See: http://www.cs.utah.edu/dept/old/texinfo/glibc-manual-0.02/library_30.html
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Paul B Mahol
8a79a009f9
lavu/utils: silence warnings about incompatible pointer types
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Michael Niedermayer
1ba196a10d
avutil/utils: check and warn about llrint() brokenness
...
Such broken llrint() exist for example on netbsd
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
e701cd96c2
avutil/avutil_version: Run checks just once
...
This ensures that applications that call avutil_version() often
would not run the checls every time
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
20e99a9c10
avutil/pixdesc: support for self-checking the descriptors
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Nicolas George
af0d270aac
lavu: add helper functions for integer lists.
...
Add av_int_list_length() to compute a list length.
Add av_opt_set_int_list() to set a binary option.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
9a697cfe71
lavu: test for broken binutils on ARM
...
Some old gnu assemblers fail to assemble qdadd correctly
Ideally we should check this at build time, but better to
check at run time than mysteriously failing.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
1674073b4d
libavutil: increase LIBAVUTIL_VERSION_MICRO to 100
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
75f2cc5134
avutil: check sampleformats enum, pict type enum and media type enum against insert/remove mistakes.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
68230eb375
pixfmts: Selfcheck against insertions / deletions in the enum.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
69e2c1a95a
lavu: add av_get_media_type_string() convenience function
...
Avoid code duplication.
14 years ago
Stefano Sabatini
bebe72f4a0
lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enums
...
Also deprecate av_get_pict_type_char() in favor of
av_get_picture_type_char().
The new enum and av_get_picture_type_char() are defined in libavutil.
This allows the use in libavfilter without the need to link against
libavcodec.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Michael Niedermayer
e528cdac8a
Revert "replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION"
...
This reverts commit 29ba091136
.
14 years ago
Michael Niedermayer
0cb88628fb
Revert "use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*"
...
This reverts commit a03be6e1ba
.
14 years ago
Janne Grunau
a03be6e1ba
use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*
14 years ago
Janne Grunau
29ba091136
replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION
...
also update the multiple inclusion guards in config.h|mak
14 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
4160069067
Prefer "*FUNC_NAME(" over "* FUNC_NAME(" for XXX_configuration() and
...
XXX_license() functions, consistent with the rest of FFmpeg.
Originally committed as revision 21005 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
c173693698
Add functions to return library license and library configuration.
...
Originally committed as revision 20547 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
76eb5c0523
Cosmetics: fix weird indent.
...
Originally committed as revision 14670 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
7f0026dded
Implement avutil_version().
...
Originally committed as revision 14665 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
c5e56a813b
Revert r14497
...
Log:
Add missing header #includes.
Policy violation (change not approved by maintainer)
and while discussions where ongoing and no consensus has been reached.
Originally committed as revision 14500 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
2e11268ea9
Add missing header #includes.
...
Originally committed as revision 14497 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
f0a838e525
Add missing #includes to fix 'make checkheaders'.
...
Originally committed as revision 11087 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
5b21bdabe4
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
171dce486c
Support for AAC streaming over RTP. Fragmentation is not implemented yet
...
Originally committed as revision 10491 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Abeni
7fa9d0dd8f
Remove copyright from a function prototype
...
Originally committed as revision 10214 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Abeni
98561024ac
Move the RTP packetization code for MPEG12 video in its own file (rtp_mpv.c)
...
Originally committed as revision 10201 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
f5a90186d7
Add missing license headers.
...
Originally committed as revision 8149 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Fabrice Bellard
e3e105b38a
added include for ffserver dynamically loaded modules
...
Originally committed as revision 809 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago