Martin Storsjö
860b40f1f2
udp: Properly print error from getnameinfo
...
getnameinfo doesn't set errno on failure, it returns an error code,
which should be handled by gai_strerror instead of the normal
strerror.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-19 20:24:33 +03:00
Martin Storsjö
6aa4e88106
mmst: Use AVUNERROR() to convert error codes to the right range for strerror
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-19 20:23:19 +03:00
Martin Storsjö
561687696f
network: Pass pointers of the right type to get/setsockopt/ioctlsocket on windows
...
This avoids warnings.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-19 20:22:47 +03:00
Samuel Pitoiset
9d811fd80f
rtmp: Reduce the number of idle posts sent by sleeping 50ms
...
Rtmpt is effectively half duplex - the server can't return any
data unless we send a request (to which the server responds). If
we don't have any data to send currently, and the server didn't
return any data either, wait a little before doing the next request.
This avoids busy looping with idle posts with empty replies, while
waiting for more data from the server.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-19 20:21:21 +03:00
Paul B Mahol
6b9446e932
avidec: add .category
...
While here make .class_name consistent with other AVClass.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-06-19 16:26:01 +00:00
Pavel Koshevoy
5fa8226420
libavfilter: improve atempo audio quality
...
Reduce audio fragment alignment jitter by penalizing alignment
correction offsets that deviate too much from the target offset.
This is accomplished by multiplying the cross correlation search
window with a quadratic function.
Signed-off-by: Pavel Koshevoy <pavel@homestead.aragog.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-19 17:29:27 +02:00
Michael Niedermayer
08613d50d6
lavf: separate muxer/demuxer class category
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-19 17:22:07 +02:00
Michael Niedermayer
6fb7d03d74
lavc: seperate encoder/decoder class category
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-19 17:22:07 +02:00
Michael Niedermayer
e69263cd01
avutil: add get_category() for the case where one AVClass can have more than 1 category
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-19 17:22:02 +02:00
Michael Niedermayer
b76f77ee0d
log: swap colors for muxer and codec layer
...
This way the filters which are semantically closer to the codec layer
have a (subjectively to me) more similar color.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-19 17:13:45 +02:00
Michael Niedermayer
0412e5187e
lavfi/avfilter: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-19 17:13:45 +02:00
Michael Niedermayer
82ac6a66f9
rv40dsp: use av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-19 17:13:45 +02:00
Stefano Sabatini
db142a8395
lavfi/avcodec: make avfilter_fill_frame_from*() functions use avfilter_copy_buf_props()
...
The code in avfilter_copy_buf_props() is more generic, allow code
factorization.
2012-06-19 16:44:36 +02:00
Stefano Sabatini
8f8d8b9538
lavfi/avcodec: always use av_frame* accessors in avfilter_copy_buf_props()
...
Use av_frame_* accessors for the newly added fields in AVFrame (for which
we are supposed to use such accessors), and group the istructions
accordingly.
2012-06-19 16:44:35 +02:00
Stefano Sabatini
d5761fe47d
lavfi/avcodec: copy pos field from AVFilterBuffer to AVFrame pkt_pos
2012-06-19 16:44:35 +02:00
Stefano Sabatini
208c5a08da
lavc/qtrlenc: return proper error codes from qtrle_encode_init()
2012-06-19 16:44:35 +02:00
Stefano Sabatini
5793a6d9f9
lavc/libschroedinger: add missing failure checks in ff_create_schro_frame()
2012-06-19 16:44:34 +02:00
Michael Niedermayer
97726e86be
x86/intmath: fix type of FASTDIV
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-19 16:20:20 +02:00
Paul B Mahol
7238ed6c84
avidec: use designated initializers for AVClass
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-06-19 13:59:17 +00:00
Paul B Mahol
ef8bea9107
mov: use designated initializers for AVClass
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-06-19 13:57:06 +00:00
Carl Eugen Hoyos
c47fc942d4
Fix dependencies for the atempo filter.
...
Found, analysed and tested by trac user Jamal.
Fixes ticket #1465 .
2012-06-19 12:06:41 +02:00
Diego Biurrun
4cc2920dd2
flvdec: remove incomplete, disabled seeking code
2012-06-19 10:42:46 +02:00
Ronald S. Bultje
be1a839ca6
mem: add support for _aligned_malloc() as found on Windows
...
The check uses check_func_header, since this function is
conditionally available depending on the targeted MSVCRT
version.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-19 10:08:00 +03:00
Simon A. Eugster
7146177d18
lavc: Extend the documentation for avcodec_init_packet
...
Add a note that pkt->data and pkt->size must be initialized.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-19 10:07:46 +03:00
Michael Niedermayer
0c142e4cda
swr: introduce filter_alloc in preparation of SIMD resample optimisations
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-19 03:09:24 +02:00
Michael Niedermayer
80e857c967
swr/resample: optimize C code for the most common case
...
15% speedup
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-19 03:09:24 +02:00
Ronald S. Bultje
8703f0140f
flvdec: remove incomplete, disabled seeking code
2012-06-19 01:02:10 +01:00
Ronald S. Bultje
51a2b5546b
http: replace atoll() with strtoll()
2012-06-19 01:00:13 +01:00
Ronald S. Bultje
ae2bb52cd2
mpegts: remove unused/incomplete/broken seeking code
2012-06-19 00:56:43 +01:00
Stefano Sabatini
c90e8054af
lavc/avcodec.h: fix reference to nonexistent function in av_picture_copy() doxy
...
Mention av_image_copy() instead.
2012-06-19 01:36:39 +02:00
Stefano Sabatini
18b4404dc3
lavc/imgconvert: fix check on av_image_check_size() return code in avpicture_get_size()
...
The documentation states that av_image_check_size() will return a
negative value in case of error, while the check is done on ret != 0.
Also return a proper error code rather than -1 in case the check fails.
2012-06-19 01:36:30 +02:00
Stefano Sabatini
0b2ecf8224
lavc/imgconvert: remove pointless switch block from avpicture_fill()
2012-06-19 01:36:23 +02:00
Stefano Sabatini
b583ccc3db
lavc/rawdec: propagate duration from packet to frame
2012-06-19 01:36:17 +02:00
Justin Ruggles
ae46fbee1d
af_amix: allow float planar sample format as input
2012-06-18 18:01:14 -04:00
Justin Ruggles
f0ece49e74
af_amix: use AVFloatDSPContext.vector_fmac_scalar()
2012-06-18 18:01:14 -04:00
Justin Ruggles
82b2df9790
float_dsp: add x86-optimized functions for vector_fmac_scalar()
2012-06-18 18:01:14 -04:00
Justin Ruggles
cb5042d02c
float_dsp: Move vector_fmac_scalar() from libavcodec to libavutil
2012-06-18 18:01:14 -04:00
Justin Ruggles
4e4dd71730
lavr: Add x86-optimized function for flt to s32 conversion
2012-06-18 16:16:59 -04:00
Justin Ruggles
6c63cbfe7a
lavr: Add x86-optimized function for flt to s16 conversion
2012-06-18 16:16:59 -04:00
Justin Ruggles
97ce1ba867
lavr: Add x86-optimized functions for s32 to flt conversion
2012-06-18 16:16:59 -04:00
Justin Ruggles
5904f25b9f
lavr: Add x86-optimized functions for s32 to s16 conversion
2012-06-18 16:16:59 -04:00
Justin Ruggles
d721f67d0a
lavr: Add x86-optimized functions for s16 to flt conversion
2012-06-18 16:16:59 -04:00
Justin Ruggles
1168e29df1
lavr: Add x86-optimized function for s16 to s32 conversion
2012-06-18 16:16:59 -04:00
Michael Niedermayer
4b5c7d4d9a
huffyuv: switch to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-18 21:44:48 +02:00
Michael Niedermayer
da42f56985
asv1: switch to av_assert
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-18 21:44:22 +02:00
Martin Storsjö
579fd87b46
rtpenc: Support packetizing iLBC
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-18 22:01:04 +03:00
Martin Storsjö
89c3960544
rtpdec: Add a depacketizer for iLBC
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-18 22:01:04 +03:00
Martin Storsjö
a2b251a05e
Implement the iLBC storage file format
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-18 22:01:02 +03:00
Martin Storsjö
9e74db6850
mov: Support muxing/demuxing iLBC
...
The packet size, signalled via block_align, has to be passed via
the container.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-18 22:00:35 +03:00
Martin Storsjö
3641b0489c
Add support for iLBC decoding/encoding via the external library libilbc
...
The library is 3-clause BSD licensed.
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-18 22:00:35 +03:00