Reimar Döffinger
addc64f7f9
Fix typo in warning message.
...
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Reimar Döffinger
5639793be9
Put strings inside struct instead of extra indirection.
...
Saves a bit on space and relocations.
Also makes the (very hackish) lossless conversion check
in ffmpeg.c work reliably.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Martin Storsjö
b6d08f40aa
avformat: Add functions for doing global network initialization
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
183baeadca
avformat: Add the https protocol
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
558d192d23
avformat: Add the tls protocol, using OpenSSL or gnutls
...
Note, this protocol doesn't yet check verify the server
certificate against a local database of trusted CA root
certificates.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
1606e551ff
avformat: Initialize gnutls in ff_tls_init()
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
8148631269
w32threads: Wrap the mutex functions in inline functions returning int
...
This allows using these wrappers in the gcrypt mutex callbacks.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
bc8c1395ca
configure: Allow linking to the gnutls library
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
48e59ad8e7
avformat: Add ff_tls_init()/deinit() that initialize OpenSSL
...
If the application hasn't set up mutex callbacks, we set up
our own using pthreads (or w32pthreads).
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
a060866fd7
configure: Allow linking to openssl
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
2d1b6fb72b
avcodec: Allow locking and unlocking an avformat specific mutex
...
This extends the lock manager in avcodec to manage two separate
mutexes via the user-specified lock functions.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
f6d3710096
avformat: Split out functions from network.h to a new file, network.c
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
0fd28e39ec
examples/filtering: remove #include vsink_buffer.h, the header does not exist
...
Found-by: teratorn
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c28ea94cd7
af_volume: exp10() is a GNU extension.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
3a1045dfda
af_earwax: copy input buffer properties to output
...
In particular, fix timestamps, partially address trac ticket #375 .
13 years ago
Mina Nagy Zaki
fa4f06ab5e
lavfi: add earwax audio filter, ported from Sox
...
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
13 years ago
Stefano Sabatini
618ac71354
lavfi: add volume filter
13 years ago
Stefano Sabatini
1fc7077115
lavfi: increase number of maximum registered filters from 64 to 128
13 years ago
Stefano Sabatini
217790871e
lavfi: issue error if maximum number of filters is reached
...
Issue an error and return a more meaningful error code in case the
maximum number of registered filters has been reached.
This is better than silently ignore the error, improve feedback.
13 years ago
Michael Niedermayer
6ace8374ba
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
binkaudio: expand quant_table to accommodate all possible values
libx264: Set the default of the rc_lookahead option to -1
avcodec: Set flags2 default value depending on availability
configure: declare dependency of h264_vaapi_hwaccel on h264_decoder
Conflicts:
configure
libavcodec/options.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
304ec08f3b
ffplay: Avoid useage of deprecated url_fileno().
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
13 years ago
Jordi Ortiz
8b1032c923
dwt: Code make up, removed gotos
...
(cherry picked from commit 14880406e1277cef91d9b22a4d9b3bf91f8ea4ca)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jordi Ortiz
db3463e9c3
Dirac: Added endif comments
...
(cherry picked from commit c023d4db3688cd4f0fa47c472b33eb343b0d6db1)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jordi Ortiz
fca712df09
Dirac: Specific struct initializers in AVCodec initialization
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jordi Ortiz
aae7a5e36d
Dirac: Removed goto + some code make up
...
(cherry picked from commit 8db434f8a6d210f7fd2f28ba325927d7a5dd04b9)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jordi Ortiz
4bb2b5afc9
dwt: removed some warnings in make checkheaders
...
(cherry picked from commit 1124056ac054842f36866b4dabb9f8aae0ad06b6)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jordi Ortiz
1b95b52c0a
Dirac: Solved problem with make checkheaders
...
(cherry picked from commit d611ea0a44f3e4f67fef7ba916da5a25adef58da)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Sebastien Zwickert
38a444e05d
configure: fixes vda compilation issue.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
f5cd136f2b
ffmpeg: add -map_channel option.
...
Based on an initial work by Baptiste Coudurier.
13 years ago
Derek Buitenhuis
682e0eaf14
Fix libutvideo wrapper name
...
Change the libutvideo wrapper name to "libutvideo", as
it currently conflicts with the native utvideo decoder's
name of "utvideo".
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
16f793571d
ffprobe: Print format specific variables of codecs.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5cd1580ff8
swr: document how flushing works and bump minor version.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
813b20a39f
swr-test: test flushing
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
71f5712cb5
swr: Support flushing last samples out.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
add7b1140f
binkaudio: expand quant_table to accommodate all possible values
13 years ago
Martin Storsjö
c38404ee1a
libx264: Set the default of the rc_lookahead option to -1
...
This allows it to use the defaults specified by preset/tune,
without overwriting it with the default value from the
AVCodecContext field.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
adc85ce20b
avcodec: Set flags2 default value depending on availability
...
This makes the code compile when FF_API_X264_GLOBAL_OPTS or
FF_API_LAME_GLOBAL_OPTS is 0.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
76718f3fb7
configure: declare dependency of h264_vaapi_hwaccel on h264_decoder
13 years ago
Michael Niedermayer
259a960f1b
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
vp6: Fix illegal read.
avfilter: Don't copy garbage from the stack when setting up video pictures.
avcodec: Make sure codec_type is set by avcodec_get_context_defaults2
avcodec: Remove a misplaced and useless attribute_deprecated
avconv: add -dump_attachment option.
avconv: add -attach option.
avconv: make negative mappings disable only streams from the specified file
fmtconvert: fix int32_to_float_fmul_scalar() for windows x86_64
Conflicts:
libavcodec/options.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Alex Converse
2a6eb06254
vp6: Fix illegal read.
13 years ago
Alex Converse
0d7a16a946
avfilter: Don't copy garbage from the stack when setting up video pictures.
13 years ago
Michael Niedermayer
bb99ae3ae9
lavf: fix null pointer dereference in rdt
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
b3f4ff2876
id3v2enc: av_strcasecmp()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
23acfcd9e5
h264: favor coded_width in resolution chnaged checks
...
Suggested-by: Joakim Plate <elupus@ecce.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
a487378ef5
Set frame_size for AMR_NB in mov.
...
This copies the behaviour of the amr demuxer.
13 years ago
Carl Eugen Hoyos
4eb86d348f
Do not use strcpy for "strings" starting with \0.
13 years ago
Reimar Döffinger
96949dafcc
Replace all strcasecmp/strncasecmp usages.
...
All current usages of it are incompatible with localization.
For example strcasecmp("i", "I") != 0 is possible, but would
break many of the places where it is used.
Instead use our own implementations that always treat the data
as ASCII.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
13 years ago
Michael Niedermayer
475fb67d0b
lavc: Init AVFrame->opaque to AVCodecContext.opaque in avcodec_default_get_buffer()
...
this should allow some simplifications in some applications.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1ed9eb5a59
lavf: Do not set cur_dts to undetermined before first_dts has been calculated as this would upset the start_time and first_dts calculation.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Carl Eugen Hoyos
d6af8e68c4
Cosmetics: Reindent after last commit.
13 years ago