]> git.sesse.net Git - ffmpeg/log
ffmpeg
12 years agosmacker: add sanity check for length in smacker_decode_tree()
Michael Niedermayer [Thu, 21 Jun 2012 14:01:52 +0000 (16:01 +0200)]
smacker: add sanity check for length in smacker_decode_tree()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavd/lavfi: do not set the channel layout list.
Nicolas George [Thu, 21 Jun 2012 07:55:33 +0000 (09:55 +0200)]
lavd/lavfi: do not set the channel layout list.

The list was set to avfilter_all_channel_layouts,
which is really all common channel layouts.
Not setting it leaves an empty list,
which now means really all.

12 years agoReplace Libav with FFmpeg
Paul B Mahol [Thu, 21 Jun 2012 11:36:30 +0000 (11:36 +0000)]
Replace Libav with FFmpeg

Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years agosmush: set audio packet duration
Paul B Mahol [Thu, 21 Jun 2012 12:09:01 +0000 (12:09 +0000)]
smush: set audio packet duration

Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years agolavfi/deshake: fix crash in uninit()
Stefano Sabatini [Thu, 21 Jun 2012 15:00:52 +0000 (17:00 +0200)]
lavfi/deshake: fix crash in uninit()

Add NULL check on avctx before calling avcodec_close() on it.

Fix trac ticket #1472.

12 years agoaac: move sample_fmt selection before decoder configuration.
Hendrik Leppkes [Tue, 12 Jun 2012 08:05:29 +0000 (10:05 +0200)]
aac: move sample_fmt selection before decoder configuration.

The decoder configuration initializes the sbr mdct, which needs to know about the sample format to properly take the scale factor into account.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoriff: don't overwrite bps from WAVEFORMATEX if EXTENSIBLE doesn't contain that data.
Hendrik Leppkes [Wed, 2 May 2012 14:34:45 +0000 (16:34 +0200)]
riff: don't overwrite bps from WAVEFORMATEX if EXTENSIBLE doesn't contain that data.

According to the specification on the MSDN [1], 0 is valid for that particular field, and it should be ignored in that case.

[1]: http://msdn.microsoft.com/en-us/library/windows/desktop/dd757714(v=vs.85).aspx

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavfi/scale: remove unused variable out_link
Stefano Sabatini [Thu, 21 Jun 2012 09:55:09 +0000 (11:55 +0200)]
lavfi/scale: remove unused variable out_link

Fix warning:
libavfilter/vf_scale.c: In function ‘start_frame’:
libavfilter/vf_scale.c:284:23: warning: unused variable ‘out_link’ [-Wunused-variable]

12 years agolavfi/audio: remove unused variable in ff_filter_samples()
Stefano Sabatini [Thu, 21 Jun 2012 09:53:10 +0000 (11:53 +0200)]
lavfi/audio: remove unused variable in ff_filter_samples()

Fix warning:
libavfilter/audio.c: In function ‘ff_filter_samples’:
libavfilter/audio.c:193:13: warning: unused variable ‘size’ [-Wunused-variable]

12 years agolswr/rematrix: specify explicitly the name of the unsupported channel layouts
Stefano Sabatini [Thu, 21 Jun 2012 09:53:50 +0000 (11:53 +0200)]
lswr/rematrix: specify explicitly the name of the unsupported channel layouts

Help debugging.

12 years agoavformat: add 48 fps to the NTSC framerates
Hendrik Leppkes [Mon, 9 Apr 2012 16:56:46 +0000 (18:56 +0200)]
avformat: add 48 fps to the NTSC framerates

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoutvideo: mark interlaced frames as such
Hendrik Leppkes [Tue, 3 Jan 2012 17:17:43 +0000 (18:17 +0100)]
utvideo: mark interlaced frames as such

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolagarith: frame multithreading
Hendrik Leppkes [Mon, 6 Feb 2012 17:04:51 +0000 (18:04 +0100)]
lagarith: frame multithreading

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agowavpack: set bits_per_raw_sample for S32 samples to properly identify 24-bit
Hendrik Leppkes [Fri, 16 Dec 2011 21:43:35 +0000 (22:43 +0100)]
wavpack: set bits_per_raw_sample for S32 samples to properly identify 24-bit

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavfi/ass: update use of deprecated functions, fix warnings
Stefano Sabatini [Thu, 21 Jun 2012 09:07:35 +0000 (11:07 +0200)]
lavfi/ass: update use of deprecated functions, fix warnings

12 years agolavfi/blackdetect: add logic for handling stream termination
Stefano Sabatini [Wed, 20 Jun 2012 23:15:52 +0000 (01:15 +0200)]
lavfi/blackdetect: add logic for handling stream termination

Add request_frame() which checks the black duration when the end of the
stream is signalled. Allow to detect black video segments at the end of
the stream.

Note that the reported last black video segment duration is not very
accurate, since we still miss the duration information in the video
buffer.

Address trac ticket #1470.

12 years agolavfi/blackdetect: fix pts time debug printing
Stefano Sabatini [Wed, 20 Jun 2012 22:57:53 +0000 (00:57 +0200)]
lavfi/blackdetect: fix pts time debug printing

12 years agoLucasArts SMUSH demuxer
Paul B Mahol [Mon, 19 Mar 2012 02:55:26 +0000 (02:55 +0000)]
LucasArts SMUSH demuxer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years agoLucasArts SMUSH video decoder
Paul B Mahol [Mon, 19 Mar 2012 02:54:19 +0000 (02:54 +0000)]
LucasArts SMUSH video decoder

Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years agoLucasArts SMUSH VIMA audio decoder
Paul B Mahol [Mon, 19 Mar 2012 02:52:08 +0000 (02:52 +0000)]
LucasArts SMUSH VIMA audio decoder

Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years agolibavfilter/transform: fix mirroring.
Michael Niedermayer [Wed, 20 Jun 2012 21:48:26 +0000 (23:48 +0200)]
libavfilter/transform: fix mirroring.

mirror() borrowed from dwt.c, this could be moved to libavutil and made
public API, Ill submit a patch for this

Fixes Ticket1278

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibavutil: fix author attribution
Michael Niedermayer [Wed, 20 Jun 2012 19:28:03 +0000 (21:28 +0200)]
libavutil: fix author attribution

Libav.org has removed this while moving the code around

For reference, the code was originally added in:
commit 9aeeeb63f7e1ab7b0b7bb839a5f258667a2d2d78
Author: Fabrice Bellard <fabrice@bellard.org>
Date:   Wed Dec 20 00:02:47 2000 +0000

    Initial revision

    Originally committed as revision 2 to svn://svn.ffmpeg.org/ffmpeg/trunk
--
The function name originates from:
commit 949885313226f01ae7ba9a69eff5c45b47b78d57
Author: Fabrice Bellard <fabrice@bellard.org>
Date:   Thu Jul 25 16:01:46 2002 +0000

    more consistent naming

    Originally committed as revision 802 to svn://svn.ffmpeg.org/ffmpeg/trunk

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agocdxl: disable checked bitstream reader
Paul B Mahol [Sun, 17 Jun 2012 11:22:42 +0000 (11:22 +0000)]
cdxl: disable checked bitstream reader

Overreads should not be possible.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years agolavfi: remove redundant checks after av_parse_video_rate()
Paul B Mahol [Wed, 20 Jun 2012 17:17:25 +0000 (17:17 +0000)]
lavfi: remove redundant checks after av_parse_video_rate()

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

* qatar/master:
  MS Screen 1 decoder
  aacdec: Fix popping channel layouts.
  av_gettime: support Win32 without gettimeofday()
  Use av_gettime() in various places
  Move av_gettime() to libavutil
  dct-test: use emms_c() from libavutil instead of duplicating it
  mov: fix operator precedence bug
  mathematics.h: remove a couple of math defines
  Remove unnecessary inclusions of [sys/]time.h
  lavf: remove unnecessary inclusions of unistd.h
  bfin: libswscale: add const where appropriate to fix warnings
  bfin: libswscale: remove unnecessary #includes
  udp: Properly check for invalid sockets
  tcp: Check the return value from getsockopt
  network: Use av_strerror for getting error messages
  udp: Properly print error from getnameinfo
  mmst: Use AVUNERROR() to convert error codes to the right range for strerror
  network: Pass pointers of the right type to get/setsockopt/ioctlsocket on windows
  rtmp: Reduce the number of idle posts sent by sleeping 50ms

Conflicts:
Changelog
configure
libavcodec/aacdec.c
libavcodec/allcodecs.c
libavcodec/avcodec.h
libavcodec/dct-test.c
libavcodec/version.h
libavformat/riff.c
libavformat/udp.c
libavutil/Makefile
libswscale/bfin/yuv2rgb_bfin.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovf_vflip: fix handling of the last line.
Michael Niedermayer [Wed, 20 Jun 2012 18:14:01 +0000 (20:14 +0200)]
vf_vflip: fix handling of the last line.

Fixes Ticket1271

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovf_lut: fix handling of odd dimensions
Michael Niedermayer [Wed, 20 Jun 2012 18:13:43 +0000 (20:13 +0200)]
vf_lut: fix handling of odd dimensions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMS Screen 1 decoder
Kostya Shishkov [Fri, 15 Jun 2012 18:37:37 +0000 (20:37 +0200)]
MS Screen 1 decoder

12 years agoaacdec: Fix popping channel layouts.
Alex Converse [Wed, 20 Jun 2012 02:06:34 +0000 (19:06 -0700)]
aacdec: Fix popping channel layouts.

'channel_layout' not 'channels' from the stored configuration should go
to AVCodecContext's 'channel_layout'.

12 years agomjpegenc: use av_assert
Michael Niedermayer [Wed, 20 Jun 2012 16:20:04 +0000 (18:20 +0200)]
mjpegenc: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomjpegdec: use av_assert
Michael Niedermayer [Wed, 20 Jun 2012 16:19:53 +0000 (18:19 +0200)]
mjpegdec: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoav_gettime: support Win32 without gettimeofday()
Mans Rullgard [Wed, 20 Jun 2012 12:46:52 +0000 (13:46 +0100)]
av_gettime: support Win32 without gettimeofday()

Based on patch by Ronald S. Bultje.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoUse av_gettime() in various places
Mans Rullgard [Wed, 20 Jun 2012 00:34:38 +0000 (01:34 +0100)]
Use av_gettime() in various places

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoMove av_gettime() to libavutil
Mans Rullgard [Wed, 20 Jun 2012 00:24:39 +0000 (01:24 +0100)]
Move av_gettime() to libavutil

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agolog: flip highlight bit for codec & muxer layer
Michael Niedermayer [Tue, 19 Jun 2012 16:50:05 +0000 (18:50 +0200)]
log: flip highlight bit for codec & muxer layer

This way the encoder/muxer side is bold

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodct-test: use emms_c() from libavutil instead of duplicating it
Mans Rullgard [Wed, 20 Jun 2012 12:50:45 +0000 (13:50 +0100)]
dct-test: use emms_c() from libavutil instead of duplicating it

12 years agomov: fix operator precedence bug
Ronald S. Bultje [Mon, 18 Jun 2012 19:06:35 +0000 (20:06 +0100)]
mov: fix operator precedence bug

12 years agomathematics.h: remove a couple of math defines
Janne Grunau [Thu, 14 Jun 2012 18:13:00 +0000 (20:13 +0200)]
mathematics.h: remove a couple of math defines

While these defines are not defined by the C standard they are
standardized as X/Open System Interfaces Extension. We use the
appropiate _XOPEN_SOURCE define to make them available. They
seem to be available on all FATE configs since the constants
are used in files where mathematics.h is not included.

12 years agodoc/ffmpeg.texi: use an exising preset file name
Lou Logan [Tue, 19 Jun 2012 18:18:30 +0000 (10:18 -0800)]
doc/ffmpeg.texi: use an exising preset file name

libx264-max.ffpreset is no longer with us.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoRemove unnecessary inclusions of [sys/]time.h
Mans Rullgard [Tue, 19 Jun 2012 21:08:35 +0000 (22:08 +0100)]
Remove unnecessary inclusions of [sys/]time.h

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agolavf: remove unnecessary inclusions of unistd.h
Mans Rullgard [Tue, 19 Jun 2012 14:11:34 +0000 (15:11 +0100)]
lavf: remove unnecessary inclusions of unistd.h

These files do not use anything provided by unistd.h.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agolavfi: add showwaves filter
Stefano Sabatini [Sun, 25 Dec 2011 16:37:53 +0000 (17:37 +0100)]
lavfi: add showwaves filter

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 agobfin: libswscale: add const where appropriate to fix warnings
Mans Rullgard [Tue, 19 Jun 2012 14:14:33 +0000 (15:14 +0100)]
bfin: libswscale: add const where appropriate to fix warnings

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agobfin: libswscale: remove unnecessary #includes
Mans Rullgard [Tue, 19 Jun 2012 14:12:57 +0000 (15:12 +0100)]
bfin: libswscale: remove unnecessary #includes

Signed-off-by: Mans Rullgard <mans@mansr.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 agoudp: Properly check for invalid sockets
Martin Storsjö [Tue, 19 Jun 2012 14:59:57 +0000 (17:59 +0300)]
udp: Properly check for invalid sockets

If stdin has been closed, 0 is a valid socket descriptor.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agotcp: Check the return value from getsockopt
Martin Storsjö [Tue, 19 Jun 2012 14:50:38 +0000 (17:50 +0300)]
tcp: Check the return value from getsockopt

Make sure we actually have an error code in ret, in case
getsockopt failed.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agonetwork: Use av_strerror for getting error messages
Martin Storsjö [Tue, 19 Jun 2012 12:37:06 +0000 (15:37 +0300)]
network: Use av_strerror for getting error messages

Also use ff_neterrno() instead of errno directly (which doesn't work
on windows), for getting the error code.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoudp: Properly print error from getnameinfo
Martin Storsjö [Tue, 19 Jun 2012 12:28:48 +0000 (15:28 +0300)]
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>
12 years agommst: Use AVUNERROR() to convert error codes to the right range for strerror
Martin Storsjö [Tue, 19 Jun 2012 12:21:43 +0000 (15:21 +0300)]
mmst: Use AVUNERROR() to convert error codes to the right range for strerror

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agonetwork: Pass pointers of the right type to get/setsockopt/ioctlsocket on windows
Martin Storsjö [Mon, 18 Jun 2012 20:39:30 +0000 (23:39 +0300)]
network: Pass pointers of the right type to get/setsockopt/ioctlsocket on windows

This avoids warnings.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortmp: Reduce the number of idle posts sent by sleeping 50ms
Samuel Pitoiset [Tue, 19 Jun 2012 11:21:09 +0000 (13:21 +0200)]
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>
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>