]> git.sesse.net Git - ffmpeg/log
ffmpeg
12 years agolavfi/asplit: fix memleak
Stefano Sabatini [Fri, 15 Jun 2012 14:40:33 +0000 (16:40 +0200)]
lavfi/asplit: fix memleak

The input samples buffer must be unreferenced after it is propagated to
the output links.

12 years agoavio: av_protocol_next() is gone
Paul B Mahol [Tue, 19 Jun 2012 17:58:56 +0000 (17:58 +0000)]
avio: av_protocol_next() is gone

Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years agolibilbc: use designated initializers for AVClass
Paul B Mahol [Tue, 19 Jun 2012 20:43:28 +0000 (20:43 +0000)]
libilbc: use designated initializers for AVClass

Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years agolavfi/color: fix typo
Paul B Mahol [Tue, 19 Jun 2012 20:04:17 +0000 (20:04 +0000)]
lavfi/color: fix typo

Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years agowmv2enc: fix rounding flag.
Michael Niedermayer [Tue, 19 Jun 2012 19:35:32 +0000 (21:35 +0200)]
wmv2enc: fix rounding flag.

Fixes Ticket1467

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavfi/color: use AVOptions
Paul B Mahol [Tue, 19 Jun 2012 13:29:26 +0000 (13:29 +0000)]
lavfi/color: use AVOptions

Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 19 Jun 2012 18:52:00 +0000 (20:52 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (24 commits)
  flvdec: remove incomplete, disabled seeking code
  mem: add support for _aligned_malloc() as found on Windows
  lavc: Extend the documentation for avcodec_init_packet
  flvdec: remove incomplete, disabled seeking code
  http: replace atoll() with strtoll()
  mpegts: remove unused/incomplete/broken seeking code
  af_amix: allow float planar sample format as input
  af_amix: use AVFloatDSPContext.vector_fmac_scalar()
  float_dsp: add x86-optimized functions for vector_fmac_scalar()
  float_dsp: Move vector_fmac_scalar() from libavcodec to libavutil
  lavr: Add x86-optimized function for flt to s32 conversion
  lavr: Add x86-optimized function for flt to s16 conversion
  lavr: Add x86-optimized functions for s32 to flt conversion
  lavr: Add x86-optimized functions for s32 to s16 conversion
  lavr: Add x86-optimized functions for s16 to flt conversion
  lavr: Add x86-optimized function for s16 to s32 conversion
  rtpenc: Support packetizing iLBC
  rtpdec: Add a depacketizer for iLBC
  Implement the iLBC storage file format
  mov: Support muxing/demuxing iLBC
  ...

Conflicts:
Changelog
configure
libavcodec/avcodec.h
libavcodec/dsputil.c
libavcodec/version.h
libavformat/movenc.c
libavformat/mpegts.c
libavformat/version.h
libavutil/mem.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavidec: add .category
Paul B Mahol [Tue, 19 Jun 2012 14:54:58 +0000 (14:54 +0000)]
avidec: add .category

While here make .class_name consistent with other AVClass.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years agolibavfilter: improve atempo audio quality
Pavel Koshevoy [Sun, 17 Jun 2012 22:45:26 +0000 (16:45 -0600)]
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>
12 years agolavf: separate muxer/demuxer class category
Michael Niedermayer [Sun, 3 Jun 2012 20:41:05 +0000 (22:41 +0200)]
lavf: separate muxer/demuxer class category

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavc: seperate encoder/decoder class category
Michael Niedermayer [Sun, 3 Jun 2012 20:40:37 +0000 (22:40 +0200)]
lavc: seperate encoder/decoder class category

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavutil: add get_category() for the case where one AVClass can have more than 1 category
Michael Niedermayer [Sun, 3 Jun 2012 20:39:54 +0000 (22:39 +0200)]
avutil: add get_category() for the case where one AVClass can have more than 1 category

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolog: swap colors for muxer and codec layer
Michael Niedermayer [Sun, 3 Jun 2012 23:06:52 +0000 (01:06 +0200)]
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>
12 years agolavfi/avfilter: use av_assert
Michael Niedermayer [Tue, 19 Jun 2012 14:44:45 +0000 (16:44 +0200)]
lavfi/avfilter: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agorv40dsp: use av_assert
Michael Niedermayer [Tue, 19 Jun 2012 14:44:28 +0000 (16:44 +0200)]
rv40dsp: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavfi/avcodec: make avfilter_fill_frame_from*() functions use avfilter_copy_buf_props()
Stefano Sabatini [Sun, 10 Jun 2012 16:08:12 +0000 (18:08 +0200)]
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.

12 years agolavfi/avcodec: always use av_frame* accessors in avfilter_copy_buf_props()
Stefano Sabatini [Mon, 18 Jun 2012 23:14:32 +0000 (01:14 +0200)]
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.

12 years agolavfi/avcodec: copy pos field from AVFilterBuffer to AVFrame pkt_pos
Stefano Sabatini [Sun, 10 Jun 2012 16:20:40 +0000 (18:20 +0200)]
lavfi/avcodec: copy pos field from AVFilterBuffer to AVFrame pkt_pos

12 years agolavc/qtrlenc: return proper error codes from qtrle_encode_init()
Stefano Sabatini [Tue, 19 Jun 2012 11:03:03 +0000 (13:03 +0200)]
lavc/qtrlenc: return proper error codes from qtrle_encode_init()

12 years agolavc/libschroedinger: add missing failure checks in ff_create_schro_frame()
Stefano Sabatini [Tue, 19 Jun 2012 11:01:07 +0000 (13:01 +0200)]
lavc/libschroedinger: add missing failure checks in ff_create_schro_frame()

12 years agox86/intmath: fix type of FASTDIV
Michael Niedermayer [Tue, 19 Jun 2012 14:08:44 +0000 (16:08 +0200)]
x86/intmath: fix type of FASTDIV

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavidec: use designated initializers for AVClass
Paul B Mahol [Tue, 19 Jun 2012 13:59:17 +0000 (13:59 +0000)]
avidec: use designated initializers for AVClass

Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years agomov: use designated initializers for AVClass
Paul B Mahol [Tue, 19 Jun 2012 13:57:06 +0000 (13:57 +0000)]
mov: use designated initializers for AVClass

Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years agoFix dependencies for the atempo filter.
Carl Eugen Hoyos [Tue, 19 Jun 2012 10:06:41 +0000 (12:06 +0200)]
Fix dependencies for the atempo filter.

Found, analysed and tested by trac user Jamal.

Fixes ticket #1465.

12 years agoflvdec: remove incomplete, disabled seeking code
Diego Biurrun [Fri, 29 Jul 2011 10:02:54 +0000 (12:02 +0200)]
flvdec: remove incomplete, disabled seeking code

12 years agomem: add support for _aligned_malloc() as found on Windows
Ronald S. Bultje [Mon, 18 Jun 2012 13:37:02 +0000 (14:37 +0100)]
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>
12 years agolavc: Extend the documentation for avcodec_init_packet
Simon A. Eugster [Sat, 9 Jun 2012 09:16:12 +0000 (11:16 +0200)]
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>
12 years agoswr: introduce filter_alloc in preparation of SIMD resample optimisations
Michael Niedermayer [Tue, 19 Jun 2012 01:06:40 +0000 (03:06 +0200)]
swr: introduce filter_alloc in preparation of SIMD resample optimisations

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoswr/resample: optimize C code for the most common case
Michael Niedermayer [Mon, 18 Jun 2012 21:02:44 +0000 (23:02 +0200)]
swr/resample: optimize C code for the most common case

15% speedup

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoflvdec: remove incomplete, disabled seeking code
Ronald S. Bultje [Mon, 18 Jun 2012 14:22:15 +0000 (15:22 +0100)]
flvdec: remove incomplete, disabled seeking code

12 years agohttp: replace atoll() with strtoll()
Ronald S. Bultje [Mon, 18 Jun 2012 13:02:43 +0000 (14:02 +0100)]
http: replace atoll() with strtoll()

12 years agompegts: remove unused/incomplete/broken seeking code
Ronald S. Bultje [Mon, 18 Jun 2012 12:57:59 +0000 (13:57 +0100)]
mpegts: remove unused/incomplete/broken seeking code

12 years agolavc/avcodec.h: fix reference to nonexistent function in av_picture_copy() doxy
Stefano Sabatini [Sat, 16 Jun 2012 09:52:24 +0000 (11:52 +0200)]
lavc/avcodec.h: fix reference to nonexistent function in av_picture_copy() doxy

Mention av_image_copy() instead.

12 years agolavc/imgconvert: fix check on av_image_check_size() return code in avpicture_get_size()
Stefano Sabatini [Sat, 16 Jun 2012 09:38:50 +0000 (11:38 +0200)]
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.

12 years agolavc/imgconvert: remove pointless switch block from avpicture_fill()
Stefano Sabatini [Sat, 16 Jun 2012 09:35:38 +0000 (11:35 +0200)]
lavc/imgconvert: remove pointless switch block from avpicture_fill()

12 years agolavc/rawdec: propagate duration from packet to frame
Stefano Sabatini [Sat, 16 Jun 2012 09:01:33 +0000 (11:01 +0200)]
lavc/rawdec: propagate duration from packet to frame

12 years agoaf_amix: allow float planar sample format as input
Justin Ruggles [Sat, 9 Jun 2012 03:59:04 +0000 (23:59 -0400)]
af_amix: allow float planar sample format as input

12 years agoaf_amix: use AVFloatDSPContext.vector_fmac_scalar()
Justin Ruggles [Sat, 9 Jun 2012 02:34:30 +0000 (22:34 -0400)]
af_amix: use AVFloatDSPContext.vector_fmac_scalar()

12 years agofloat_dsp: add x86-optimized functions for vector_fmac_scalar()
Justin Ruggles [Sat, 9 Jun 2012 03:20:59 +0000 (23:20 -0400)]
float_dsp: add x86-optimized functions for vector_fmac_scalar()

12 years agofloat_dsp: Move vector_fmac_scalar() from libavcodec to libavutil
Justin Ruggles [Fri, 8 Jun 2012 17:49:56 +0000 (13:49 -0400)]
float_dsp: Move vector_fmac_scalar() from libavcodec to libavutil

12 years agolavr: Add x86-optimized function for flt to s32 conversion
Justin Ruggles [Fri, 20 Apr 2012 20:09:15 +0000 (16:09 -0400)]
lavr: Add x86-optimized function for flt to s32 conversion

12 years agolavr: Add x86-optimized function for flt to s16 conversion
Justin Ruggles [Tue, 24 Apr 2012 02:22:28 +0000 (22:22 -0400)]
lavr: Add x86-optimized function for flt to s16 conversion

12 years agolavr: Add x86-optimized functions for s32 to flt conversion
Justin Ruggles [Mon, 23 Apr 2012 22:29:58 +0000 (18:29 -0400)]
lavr: Add x86-optimized functions for s32 to flt conversion

12 years agolavr: Add x86-optimized functions for s32 to s16 conversion
Justin Ruggles [Fri, 20 Apr 2012 17:49:53 +0000 (13:49 -0400)]
lavr: Add x86-optimized functions for s32 to s16 conversion

12 years agolavr: Add x86-optimized functions for s16 to flt conversion
Justin Ruggles [Tue, 24 Apr 2012 02:10:26 +0000 (22:10 -0400)]
lavr: Add x86-optimized functions for s16 to flt conversion

12 years agolavr: Add x86-optimized function for s16 to s32 conversion
Justin Ruggles [Fri, 20 Apr 2012 19:48:08 +0000 (15:48 -0400)]
lavr: Add x86-optimized function for s16 to s32 conversion

12 years agohuffyuv: switch to av_assert
Michael Niedermayer [Mon, 18 Jun 2012 19:44:48 +0000 (21:44 +0200)]
huffyuv: switch to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoasv1: switch to av_assert
Michael Niedermayer [Mon, 18 Jun 2012 19:44:22 +0000 (21:44 +0200)]
asv1: switch to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agortpenc: Support packetizing iLBC
Martin Storsjö [Sun, 17 Jun 2012 14:25:46 +0000 (17:25 +0300)]
rtpenc: Support packetizing iLBC

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortpdec: Add a depacketizer for iLBC
Martin Storsjö [Sun, 17 Jun 2012 13:12:53 +0000 (16:12 +0300)]
rtpdec: Add a depacketizer for iLBC

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoImplement the iLBC storage file format
Martin Storsjö [Sun, 17 Jun 2012 12:54:31 +0000 (15:54 +0300)]
Implement the iLBC storage file format

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agomov: Support muxing/demuxing iLBC
Martin Storsjö [Sat, 16 Jun 2012 21:29:26 +0000 (00:29 +0300)]
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>
12 years agoAdd support for iLBC decoding/encoding via the external library libilbc
Martin Storsjö [Fri, 15 Jun 2012 21:42:13 +0000 (00:42 +0300)]
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>
12 years agortmp: Don't send every flv packet in a separate HTTP request in RTMPT
Samuel Pitoiset [Mon, 18 Jun 2012 12:55:55 +0000 (14:55 +0200)]
rtmp: Don't send every flv packet in a separate HTTP request in RTMPT

Add a new option 'rtmp_flush_interval' that allows specifying the
number of packets to write before sending it off as a HTTP request.

This is mostly relevant for RTMPT - for plain RTMP, it only controls
how often we check the socket for incoming packets, which shouldn't
affect the performance in any noticeable way.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortsp: Send mode=record instead of mode=receive
Martin Storsjö [Mon, 18 Jun 2012 13:19:33 +0000 (16:19 +0300)]
rtsp: Send mode=record instead of mode=receive

This seems to be the correct mode to send, according to the
original RTSP RFC, and matches the method RECORD which is
sent later when starting to send data.

Darwin Streaming Server works fine with either of them.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agodirac: replace compound literal with normal initialiser
Ronald S. Bultje [Mon, 18 Jun 2012 11:57:25 +0000 (12:57 +0100)]
dirac: replace compound literal with normal initialiser

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agosnowenc: update selftest code for the new temporary arrays
Michael Niedermayer [Mon, 18 Jun 2012 18:20:14 +0000 (20:20 +0200)]
snowenc: update selftest code for the new temporary arrays

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 18 Jun 2012 18:05:32 +0000 (20:05 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavr: add x86-optimized functions for mixing 1-to-2 s16p with flt coeffs
  lavr: add x86-optimized functions for mixing 1-to-2 fltp with flt coeffs
  Add Dolby/DPLII downmix support to libavresample
  vorbisdec: replace div/mod in loop with a counter
  fate: vorbis: add 5.1 surround test
  rtpenc: Allow requesting H264 RTP packetization mode 0
  configure: Sort the library listings in the help text alphabetically
  dwt: remove variable-length arrays
  RTMPT protocol support
  http: Properly handle chunked transfer-encoding for replies to post data
  http: Fail reading if the connection has gone away
  amr: Mark an array const
  amr: More space cleanup
  rtpenc: Fix memory leaks in the muxer open function

Conflicts:
Changelog
configure
doc/APIchanges
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibavutil: add a merge sort.
Michael Niedermayer [Mon, 18 Jun 2012 16:40:02 +0000 (18:40 +0200)]
libavutil: add a merge sort.

compared to qsort this is slower but its stable and doesnt have a O(n^2) worst
case

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoqsort doxy
Michael Niedermayer [Mon, 18 Jun 2012 16:39:35 +0000 (18:39 +0200)]
qsort doxy

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoqsort: add some forgotten ()
Michael Niedermayer [Mon, 18 Jun 2012 16:39:17 +0000 (18:39 +0200)]
qsort: add some forgotten ()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavr: add x86-optimized functions for mixing 1-to-2 s16p with flt coeffs
Justin Ruggles [Tue, 29 May 2012 21:03:56 +0000 (17:03 -0400)]
lavr: add x86-optimized functions for mixing 1-to-2 s16p with flt coeffs

12 years agolavr: add x86-optimized functions for mixing 1-to-2 fltp with flt coeffs
Justin Ruggles [Tue, 29 May 2012 21:03:40 +0000 (17:03 -0400)]
lavr: add x86-optimized functions for mixing 1-to-2 fltp with flt coeffs

12 years agoAdd Dolby/DPLII downmix support to libavresample
John Stebbins [Sat, 9 Jun 2012 20:45:49 +0000 (13:45 -0700)]
Add Dolby/DPLII downmix support to libavresample

Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years agolibavutil: add AV_QSORT()
Michael Niedermayer [Mon, 18 Jun 2012 14:13:22 +0000 (16:13 +0200)]
libavutil: add AV_QSORT()

about 2-5 times faster than gnu libcs qsort()
And should be 100% binary identical across platforms.

I will bump the version once the API is certainly stable and
everyone is happy with the API.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovorbisdec: replace div/mod in loop with a counter
Mans Rullgard [Sat, 16 Jun 2012 17:08:03 +0000 (18:08 +0100)]
vorbisdec: replace div/mod in loop with a counter

2x speedup of surround decoding on Cortex-A9.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: vorbis: add 5.1 surround test
Mans Rullgard [Sat, 16 Jun 2012 15:14:21 +0000 (16:14 +0100)]
fate: vorbis: add 5.1 surround test

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agortpenc: Allow requesting H264 RTP packetization mode 0
Martin Storsjö [Mon, 28 May 2012 09:11:26 +0000 (12:11 +0300)]
rtpenc: Allow requesting H264 RTP packetization mode 0

This requires all NAL units to fit within single RTP packets. It
doesn't change the actual packetization for packets that fit, but
errors out and gives a helpful hint if the NAL units would have to
be split, and signals the right packetization mode in the SDP.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoconfigure: Sort the library listings in the help text alphabetically
Martin Storsjö [Sun, 17 Jun 2012 21:05:52 +0000 (00:05 +0300)]
configure: Sort the library listings in the help text alphabetically

Only these three libraries were out of order, the rest was already
neatly sorted.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoffmpeg.c: count subtitles in total size.
Nicolas George [Sun, 17 Jun 2012 17:50:36 +0000 (19:50 +0200)]
ffmpeg.c: count subtitles in total size.

This avoids the "Output file is empty" warning
with subtitles-only files.

12 years agoffprobe: dump AVPacket.convergence_duration.
Nicolas George [Sun, 17 Jun 2012 15:16:48 +0000 (17:16 +0200)]
ffprobe: dump AVPacket.convergence_duration.

12 years agoffprobe: add -show_data option.
Nicolas George [Sat, 7 Apr 2012 17:18:09 +0000 (19:18 +0200)]
ffprobe: add -show_data option.

12 years agolavf: add field for how duration is estimated
Michael Bradshaw [Mon, 18 Jun 2012 05:20:09 +0000 (22:20 -0700)]
lavf: add field for how duration is estimated

Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
12 years agoFix interlaced prediction for RGB utvideo.
Carl Eugen Hoyos [Mon, 18 Jun 2012 07:01:35 +0000 (09:01 +0200)]
Fix interlaced prediction for RGB utvideo.

Fixes ticket #1215

12 years agodwt: remove variable-length arrays
Ronald S. Bultje [Thu, 14 Jun 2012 10:47:55 +0000 (11:47 +0100)]
dwt: remove variable-length arrays

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Sun, 17 Jun 2012 21:42:52 +0000 (23:42 +0200)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: fix -vismv 1
  ffplay: rename buffer source instance from "src" to "ffplay_buffer"
  ffplay: use key=val syntax for the buffersrc args

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 17 Jun 2012 20:28:28 +0000 (22:28 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  amr: Cosmetic cleanup
  mov_chan: Fix operator precedence by adding parentheses
  doc: Add missing protocols to list of supported protocols.
  tcp: Check the listen call

Conflicts:
libavformat/amr.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoRTMPT protocol support
Samuel Pitoiset [Sun, 17 Jun 2012 18:24:43 +0000 (20:24 +0200)]
RTMPT protocol support

This adds two protocols, but one of them is an internal implementation
detail just used as an abstraction layer/generalization in the code. The
RTMPT protocol implementation uses rtmphttp:// as an alternative to the
tcp:// protocol. This allows moving most of the lower level logic out
from the higher level generic rtmp code.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agohttp: Properly handle chunked transfer-encoding for replies to post data
Martin Storsjö [Sun, 17 Jun 2012 18:19:41 +0000 (21:19 +0300)]
http: Properly handle chunked transfer-encoding for replies to post data

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agohttp: Fail reading if the connection has gone away
Martin Storsjö [Sun, 17 Jun 2012 18:15:32 +0000 (21:15 +0300)]
http: Fail reading if the connection has gone away

This can happen if doing a new request using the same socket,
but the new request failed, which clears the urlcontext.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoamr: Mark an array const
Martin Storsjö [Sun, 17 Jun 2012 16:08:23 +0000 (19:08 +0300)]
amr: Mark an array const

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoamr: More space cleanup
Martin Storsjö [Sun, 17 Jun 2012 16:06:56 +0000 (19:06 +0300)]
amr: More space cleanup

This was missed in the previous cleanup patch.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortpenc: Fix memory leaks in the muxer open function
Martin Storsjö [Sun, 17 Jun 2012 15:18:16 +0000 (18:18 +0300)]
rtpenc: Fix memory leaks in the muxer open function

Also return a proper error code in these cases.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoffplay: fix -vismv 1
Michael Niedermayer [Sun, 17 Jun 2012 18:56:30 +0000 (20:56 +0200)]
ffplay: fix -vismv 1

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years agoffplay: rename buffer source instance from "src" to "ffplay_buffer"
Stefano Sabatini [Sun, 17 Jun 2012 10:21:34 +0000 (12:21 +0200)]
ffplay: rename buffer source instance from "src" to "ffplay_buffer"

The new name is more descriptive.

Signed-off-by: Marton Balint <cus@passwd.hu>
12 years agoffplay: use key=val syntax for the buffersrc args
Stefano Sabatini [Sun, 17 Jun 2012 10:21:27 +0000 (12:21 +0200)]
ffplay: use key=val syntax for the buffersrc args

Fix warning:
[src @ ...] Flat options syntax is deprecated, use key=value pairs.

Signed-off-by: Marton Balint <cus@passwd.hu>
12 years agovp3dec: fix null ptr derefernce.
Michael Niedermayer [Sun, 17 Jun 2012 17:50:58 +0000 (19:50 +0200)]
vp3dec: fix null ptr derefernce.

Fixes ticket1403

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoattributes: move av_restrict fallback from internal to attributes
Michael Niedermayer [Sun, 17 Jun 2012 16:01:11 +0000 (18:01 +0200)]
attributes: move av_restrict fallback from internal to attributes

This should fix --enable-hardcoded-tables

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoamr: Cosmetic cleanup
Martin Storsjö [Sun, 17 Jun 2012 15:07:27 +0000 (18:07 +0300)]
amr: Cosmetic cleanup

Add spaces around operators, fix brace placement and whitespace to
match K&R style, vertically align code, remove redundant != 0 and
convert x == 0 into !x, drop useless braces.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agofate: fix fate-aac-aref-encode dependancies
Michael Niedermayer [Sun, 17 Jun 2012 15:59:00 +0000 (17:59 +0200)]
fate: fix fate-aac-aref-encode dependancies

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavienc: use av_assert
Michael Niedermayer [Sun, 17 Jun 2012 15:10:05 +0000 (17:10 +0200)]
avienc: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomsmpeg4enc: use av_assert
Michael Niedermayer [Sun, 17 Jun 2012 15:09:34 +0000 (17:09 +0200)]
msmpeg4enc: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomov_chan: Fix operator precedence by adding parentheses
Martin Storsjö [Sat, 16 Jun 2012 23:08:00 +0000 (02:08 +0300)]
mov_chan: Fix operator precedence by adding parentheses

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agodoc: Add missing protocols to list of supported protocols.
Diego Biurrun [Thu, 14 Jun 2012 08:34:16 +0000 (10:34 +0200)]
doc: Add missing protocols to list of supported protocols.

12 years agodoc: add two similar overlay "side-by-side" examples.
Clément Bœsch [Sun, 17 Jun 2012 11:16:02 +0000 (13:16 +0200)]
doc: add two similar overlay "side-by-side" examples.

12 years agolavfi: use designated initializers for AVClass
Paul B Mahol [Sat, 16 Jun 2012 12:34:36 +0000 (12:34 +0000)]
lavfi: use designated initializers for AVClass

While here:
    - add missing .version and .category,
    - make .class_name consistent across filters,
    - align declarations.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years agoMAINTAINERS: reorganize entries in the libavfilter section
Stefano Sabatini [Sun, 17 Jun 2012 11:01:58 +0000 (13:01 +0200)]
MAINTAINERS: reorganize entries in the libavfilter section

12 years agointel h263 dec: support advanced prediction
Michael Niedermayer [Sun, 17 Jun 2012 19:12:20 +0000 (21:12 +0200)]
intel h263 dec: support advanced prediction

Fixes Ticket1292

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavfi: add atempo filter
Pavel Koshevoy [Sun, 17 Jun 2012 10:35:57 +0000 (12:35 +0200)]
lavfi: add atempo filter

Add atempo audio filter for adjusting audio tempo without affecting
pitch. This filter implements WSOLA algorithm with fast cross
correlation calculation in frequency domain.

Signed-off-by: Pavel Koshevoy <pavel@homestead.aragog.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
12 years agotcp: Check the listen call
Jordi Ortiz [Sat, 16 Jun 2012 10:29:53 +0000 (12:29 +0200)]
tcp: Check the listen call

Signed-off-by: Martin Storsjö <martin@martin.st>