ffmpeg.git
6 years agoffmpeg: re-set frame_size after filter graph reset.
Nicolas George [Sat, 30 Jun 2012 19:33:48 +0000 (21:33 +0200)]
ffmpeg: re-set frame_size after filter graph reset.

The filter contexts are completely cleared,
so the frame size can not be kept.

6 years agoswr: fix MMX resample code, add emms
Michael Niedermayer [Sat, 30 Jun 2012 19:27:39 +0000 (21:27 +0200)]
swr: fix MMX resample code, add emms

Fixes Ticket1495

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavcodec_encode_audio2: print error messages for errors
Michael Niedermayer [Sat, 30 Jun 2012 18:43:18 +0000 (20:43 +0200)]
avcodec_encode_audio2: print error messages for errors

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agowmaenc: rewrite 2nd stage quantization code
Michael Niedermayer [Sat, 30 Jun 2012 17:47:00 +0000 (19:47 +0200)]
wmaenc: rewrite 2nd stage quantization code

this is faster and more correct

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agowmaenc: remove alternative quantization loop
Michael Niedermayer [Sat, 30 Jun 2012 17:42:01 +0000 (19:42 +0200)]
wmaenc: remove alternative quantization loop

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agowmaenc: fix off by 1 error in quantization loop
Michael Niedermayer [Sat, 30 Jun 2012 17:38:11 +0000 (19:38 +0200)]
wmaenc: fix off by 1 error in quantization loop

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agowmaenc: change another assert to av_assert
Michael Niedermayer [Sat, 30 Jun 2012 17:36:38 +0000 (19:36 +0200)]
wmaenc: change another assert to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agonutdec: set duration_estimation_method
Michael Niedermayer [Sat, 30 Jun 2012 16:58:52 +0000 (18:58 +0200)]
nutdec: set duration_estimation_method

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agonutdec: estimate duration from last syncpoint
Michael Niedermayer [Sat, 30 Jun 2012 15:19:43 +0000 (17:19 +0200)]
nutdec: estimate duration from last syncpoint

Previously nut used the fallback of estimation by bitrate.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agonutdec: remove assert that is wrong for some new duration code.
Michael Niedermayer [Sat, 30 Jun 2012 15:18:46 +0000 (17:18 +0200)]
nutdec: remove assert that is wrong for some new duration code.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agonutdec: check that filesize is valid before using it.
Michael Niedermayer [Sat, 30 Jun 2012 15:01:59 +0000 (17:01 +0200)]
nutdec: check that filesize is valid before using it.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoffplay: factorize expression in audio_decode_frame()
Stefano Sabatini [Fri, 29 Jun 2012 22:02:58 +0000 (00:02 +0200)]
ffplay: factorize expression in audio_decode_frame()

Possibly improve readability.

6 years agoffmpeg: use the more powerful version of abuffersink.
Nicolas George [Sun, 24 Jun 2012 22:32:49 +0000 (00:32 +0200)]
ffmpeg: use the more powerful version of abuffersink.

6 years agosink_buffer: implement fixed frame size.
Nicolas George [Sun, 24 Jun 2012 22:30:15 +0000 (00:30 +0200)]
sink_buffer: implement fixed frame size.

6 years agolavfi: implement samples framing on links.
Nicolas George [Sat, 30 Jun 2012 08:11:22 +0000 (10:11 +0200)]
lavfi: implement samples framing on links.

Links can be set up to group samples into buffers of
specified minimum and maximum size.

6 years agofate: add a test for the -force_key_frames option.
Nicolas George [Sat, 30 Jun 2012 10:15:54 +0000 (12:15 +0200)]
fate: add a test for the -force_key_frames option.

It broke twice in the last three months due to other changes.

6 years agoffmpeg: fix parsing of -force_key_frames option.
Nicolas George [Sat, 30 Jun 2012 10:09:24 +0000 (12:09 +0200)]
ffmpeg: fix parsing of -force_key_frames option.

Identical to commit 4f6a1c9 by Reimar Döffinger,
that was lost after the merge of 19ad567.

6 years agoswr: fix make checkheaders.
Clément Bœsch [Sat, 30 Jun 2012 09:21:53 +0000 (11:21 +0200)]
swr: fix make checkheaders.

6 years agoswr: small align cosmetic.
Clément Bœsch [Sat, 30 Jun 2012 09:18:45 +0000 (11:18 +0200)]
swr: small align cosmetic.

6 years agoswr: use __asm__ instead of __asm.
Clément Bœsch [Sat, 30 Jun 2012 09:18:05 +0000 (11:18 +0200)]
swr: use __asm__ instead of __asm.

For consistency only.

6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 29 Jun 2012 21:24:58 +0000 (23:24 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  file: Only include unistd.h if it exists
  random_seed: Only read /dev/*random if we have unistd.h
  doc: Indicate that RTMPT is natively implemented in libavformat
  rtpdec: Don't explicitly include unistd.h any longer

Conflicts:
configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoffplay: group together and vertically align correlated parameters in log function
Stefano Sabatini [Thu, 28 Jun 2012 21:51:19 +0000 (23:51 +0200)]
ffplay: group together and vertically align correlated parameters in log function

Possibly improve readability.

6 years agoffplay: vertially align complex if condition in audio_decode_frame()
Stefano Sabatini [Thu, 28 Jun 2012 21:50:35 +0000 (23:50 +0200)]
ffplay: vertially align complex if condition in audio_decode_frame()

Possibly improve readability.

6 years agoffplay: move assignment in else block in audio_decode_frame()
Stefano Sabatini [Thu, 28 Jun 2012 21:48:49 +0000 (23:48 +0200)]
ffplay: move assignment in else block in audio_decode_frame()

Avoid confusing and pointless double assignment of variable
resampled_data_size.

6 years agoffplay: split overly long line in audio_decode_frame()
Stefano Sabatini [Tue, 26 Jun 2012 14:22:22 +0000 (16:22 +0200)]
ffplay: split overly long line in audio_decode_frame()

6 years agopngdsp: Fix license header
Michael Niedermayer [Fri, 29 Jun 2012 10:17:10 +0000 (12:17 +0200)]
pngdsp: Fix license header

Libav did not exist in 2008 thus this file cannot have originated from there

Reviewed-by: Paul B Mahol <onemda@gmail.com>
6 years agoprores: Fix license header
Michael Niedermayer [Fri, 29 Jun 2012 10:18:25 +0000 (12:18 +0200)]
prores: Fix license header

Libav did not exist in 2010 thus the file cannot originate from there

Reviewed-by: Paul B Mahol <onemda@gmail.com>
6 years agowma_common: Fix license header
Michael Niedermayer [Fri, 29 Jun 2012 10:19:37 +0000 (12:19 +0200)]
wma_common: Fix license header

common wma code existed long before Libav

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoRealText demuxer and decoder.
Clément Bœsch [Sun, 17 Jun 2012 09:43:34 +0000 (11:43 +0200)]
RealText demuxer and decoder.

6 years agoSAMI demuxer and decoder.
Clément Bœsch [Sun, 17 Jun 2012 09:42:47 +0000 (11:42 +0200)]
SAMI demuxer and decoder.

6 years agolavf/subtitles: add some SMIL helpers.
Clément Bœsch [Sun, 17 Jun 2012 09:43:09 +0000 (11:43 +0200)]
lavf/subtitles: add some SMIL helpers.

This is needed for SAMI and RealText demuxers.

6 years agofate: add JacoSUB and MicroDVD subtitles tests.
Clément Bœsch [Fri, 15 Jun 2012 17:10:48 +0000 (19:10 +0200)]
fate: add JacoSUB and MicroDVD subtitles tests.

6 years agofate: introduce subtitles.mak and move SubRip test in it.
Clément Bœsch [Fri, 15 Jun 2012 17:08:28 +0000 (19:08 +0200)]
fate: introduce subtitles.mak and move SubRip test in it.

6 years agolavc/microdvddec: support "DEFAULT" properties.
Clément Bœsch [Fri, 15 Jun 2012 17:05:34 +0000 (19:05 +0200)]
lavc/microdvddec: support "DEFAULT" properties.

6 years agolavc/ass: honor Default style.
Clément Bœsch [Fri, 15 Jun 2012 17:02:41 +0000 (19:02 +0200)]
lavc/ass: honor Default style.

The "Default" style written in the header is ignored unless you explicit
it in the Dialogue events (it was valid, just ignored). This requires an
update of the SubRip test since the ASS output obviously changes.

6 years agolavf/microdvd: rewrite using subtitles queue API.
Clément Bœsch [Fri, 15 Jun 2012 16:59:52 +0000 (18:59 +0200)]
lavf/microdvd: rewrite using subtitles queue API.

6 years agolavf/jacosubdec: fix FPE in case timeres is badly set.
Clément Bœsch [Fri, 29 Jun 2012 17:38:09 +0000 (19:38 +0200)]
lavf/jacosubdec: fix FPE in case timeres is badly set.

6 years agolavf/jacosubdec: use subtitles queue API.
Clément Bœsch [Fri, 15 Jun 2012 16:57:39 +0000 (18:57 +0200)]
lavf/jacosubdec: use subtitles queue API.

6 years agolavf: add internal demuxer helpers for subtitles.
Clément Bœsch [Fri, 22 Jun 2012 19:56:30 +0000 (21:56 +0200)]
lavf: add internal demuxer helpers for subtitles.

6 years agoffmpeg: fix a memleak in subtitles decoding.
Clément Bœsch [Fri, 22 Jun 2012 20:15:24 +0000 (22:15 +0200)]
ffmpeg: fix a memleak in subtitles decoding.

6 years agolavf/segment: rename segment private context from "c" to "seg" in segment_start()
Stefano Sabatini [Fri, 13 Jan 2012 22:27:09 +0000 (23:27 +0100)]
lavf/segment: rename segment private context from "c" to "seg" in segment_start()

Consistent with the rest of the file, less confusing.

6 years agolavf/segment: add stream_segment variant of the segment muxer
Stefano Sabatini [Fri, 13 Jan 2012 14:38:13 +0000 (15:38 +0100)]
lavf/segment: add stream_segment variant of the segment muxer

This simplifies usage for segment streaming formats with no global
headers, tipically MPEG 2 transport stream "ts" files.

The seg class duplication is required in order to avoid an infinite loop
in libavformat/utils.c:format_child_next_class().

6 years agolavf: allow multiple names in output devices selected by av_guess_format()
Stefano Sabatini [Fri, 13 Jan 2012 10:09:43 +0000 (11:09 +0100)]
lavf: allow multiple names in output devices selected by av_guess_format()

Consistent with av_find_input_format().

6 years agoavformat: disable seeking on FIFOs/named pipes
Martin Sliwka [Thu, 28 Jun 2012 17:31:04 +0000 (19:31 +0200)]
avformat: disable seeking on FIFOs/named pipes

Patch is addition to my previous patch
(https://lists.ffmpeg.org/pipermail/ffmpeg-cvslog/2012-June/051590.html)
and disables seeking on FIFOs/named pipes by setting
URLContext::is_streamed (same as pipe: protocol does for stdin/stdout pipes)

Fixes Ticket986

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agocosmetics: minor libavcodec spelling errors
Lou Logan [Thu, 28 Jun 2012 20:01:06 +0000 (12:01 -0800)]
cosmetics: minor libavcodec spelling errors

Also update some common misspelled words in patcheck

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agofile: Only include unistd.h if it exists
Ronald S. Bultje [Sun, 24 Jun 2012 21:42:27 +0000 (00:42 +0300)]
file: Only include unistd.h if it exists

It is included for the open/read/write/close functions. On
MSVC, where this header does not exist, the same functions
are provided by io.h, which is already included.

On windows, these functions are provided by io.h. Make sure
io.h is included if it exists, regardless of the setmode
function.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agorandom_seed: Only read /dev/*random if we have unistd.h
Ronald S. Bultje [Sun, 24 Jun 2012 18:26:31 +0000 (21:26 +0300)]
random_seed: Only read /dev/*random if we have unistd.h

unistd.h is used for open/read/close, but if this header does not
exist, there's probably no use in trying to open /dev/*random
at all.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agolavf/segment: add some debugging logs
Stefano Sabatini [Thu, 12 Jan 2012 22:24:27 +0000 (23:24 +0100)]
lavf/segment: add some debugging logs

6 years agolavf/segment: fix command with missing -list option
Stefano Sabatini [Sat, 14 Jan 2012 01:50:33 +0000 (02:50 +0100)]
lavf/segment: fix command with missing -list option

Replace -list with the correct option -segment_list.

6 years agolavf/applehttp: add log message in case of applehttp_read_header() failure
Stefano Sabatini [Sat, 14 Jan 2012 01:49:38 +0000 (02:49 +0100)]
lavf/applehttp: add log message in case of applehttp_read_header() failure

Improve error reporting.

6 years agodoc: Indicate that RTMPT is natively implemented in libavformat
Samuel Pitoiset [Fri, 29 Jun 2012 12:18:41 +0000 (14:18 +0200)]
doc: Indicate that RTMPT is natively implemented in libavformat

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agortpdec: Don't explicitly include unistd.h any longer
Ronald S. Bultje [Sun, 24 Jun 2012 18:05:21 +0000 (21:05 +0300)]
rtpdec: Don't explicitly include unistd.h any longer

unistd.h used to be required for gethostname. On windows, gethostname
is provided by winsock2.h. Now network.h includes both unistd.h and
winsock2.h if they exist.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agodca: favor native over ffmpeg in table name
Michael Niedermayer [Fri, 29 Jun 2012 11:29:07 +0000 (13:29 +0200)]
dca: favor native over ffmpeg in table name

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoffplay: avoid useless NULL checks in swr_free()
Stefano Sabatini [Thu, 28 Jun 2012 21:52:28 +0000 (23:52 +0200)]
ffplay: avoid useless NULL checks in swr_free()

swr_free() already checks for nullness, no need to add the check in
calling code.

6 years agoffplay: fix wrong reference to function in audio_decode_frame() comment
Stefano Sabatini [Thu, 28 Jun 2012 21:47:06 +0000 (23:47 +0200)]
ffplay: fix wrong reference to function in audio_decode_frame() comment

The comment now references swr_convert(), rather than audio_convert(),
which was deprecated and/or dropped.

6 years agoavutil: fix project name reference in doxy section
Michael Niedermayer [Fri, 29 Jun 2012 09:33:38 +0000 (11:33 +0200)]
avutil: fix project name reference in doxy section

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodca: fix project reference in table name
Michael Niedermayer [Fri, 29 Jun 2012 09:31:37 +0000 (11:31 +0200)]
dca: fix project reference in table name

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agovf_ass: fix table name to refer to correct lib.
Michael Niedermayer [Fri, 29 Jun 2012 09:28:34 +0000 (11:28 +0200)]
vf_ass: fix table name to refer to correct lib.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoformats.h: fix project reference in comment
Michael Niedermayer [Fri, 29 Jun 2012 09:26:18 +0000 (11:26 +0200)]
formats.h: fix project reference in comment

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agopixdesc: fix project reference in comment
Michael Niedermayer [Fri, 29 Jun 2012 09:23:56 +0000 (11:23 +0200)]
pixdesc: fix project reference in comment

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoReplace Libav with FFmpeg in license headers for files created by me
Paul B Mahol [Fri, 29 Jun 2012 01:55:56 +0000 (01:55 +0000)]
Replace Libav with FFmpeg in license headers for files created by me

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agogit-howto: replace confusing and incorrect text about he testsuite by mostly a correc...
Michael Niedermayer [Thu, 28 Jun 2012 23:13:16 +0000 (01:13 +0200)]
git-howto: replace confusing and incorrect text about he testsuite by mostly a correct text.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agogit-howto: partial rewrite of the push checklist to make it match sanity & reality.
Michael Niedermayer [Thu, 28 Jun 2012 23:06:12 +0000 (01:06 +0200)]
git-howto: partial rewrite of the push checklist to make it match sanity & reality.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agogit-howto: remove inconvenient and odd 24h limit on rsync
Michael Niedermayer [Thu, 28 Jun 2012 22:33:49 +0000 (00:33 +0200)]
git-howto: remove inconvenient and odd 24h limit on rsync

This was never true for FFmpeg in this form.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMakefile: remove checkheaders from the main check target
Michael Niedermayer [Thu, 28 Jun 2012 22:05:40 +0000 (00:05 +0200)]
Makefile: remove checkheaders from the main check target

checkheaders doesnt pass and noone has even noticed since a very
long time.

checkheaders is also unmaintained (please add yourself to MAINTAINERS
if you want to maintain it)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agogit-howto: cleanup, remove unreasonable recommendition.
Michael Niedermayer [Thu, 28 Jun 2012 22:03:12 +0000 (00:03 +0200)]
git-howto: cleanup, remove unreasonable recommendition.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 28 Jun 2012 21:57:31 +0000 (23:57 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  flv: add support for G.711
  doc: git: Add checklist with test steps to perform before pushing
  flvenc: K&R formatting cosmetics
  movenc: Add channel layouts for PCM.

Conflicts:
libavformat/flvenc.c
tests/ref/fate/acodec-pcm-s16be
tests/ref/fate/acodec-pcm-s24be
tests/ref/fate/acodec-pcm-s32be
tests/ref/fate/acodec-pcm-s8

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoffplay: simplify code by using avfilter_unref_bufferp()
Stefano Sabatini [Tue, 26 Jun 2012 13:17:24 +0000 (15:17 +0200)]
ffplay: simplify code by using avfilter_unref_bufferp()

6 years agolavfi: deprecate av_buffersrc_buffer() function
Stefano Sabatini [Tue, 26 Jun 2012 13:52:32 +0000 (15:52 +0200)]
lavfi: deprecate av_buffersrc_buffer() function

Favor av_buffersrc_add_ref() instead, which is more powerful.

6 years agoGenerate channel layout, reordering for DTS-XXCH extension and, undo embedded downmixes
Nick Brereton [Wed, 20 Jun 2012 19:52:46 +0000 (20:52 +0100)]
Generate channel layout, reordering for DTS-XXCH extension and, undo embedded downmixes

Reviewed-by: Benjamin Larsson <benjamin@southpole.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoParse & decode DTS XXCH frames
Nick Brereton [Wed, 20 Jun 2012 19:52:46 +0000 (20:52 +0100)]
Parse & decode DTS XXCH frames

Reviewed-by: Benjamin Larsson <benjamin@southpole.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoh264: Fix maximum reference count check for non-b frames
Jeff Downs [Thu, 28 Jun 2012 16:47:10 +0000 (12:47 -0400)]
h264: Fix maximum reference count check for non-b frames

Below fixes the maximum reference count check for second reference list in
non-B frames.  There is nothing to prohibit full (field sized) reference
list in this case as far as I can tell, and this fixes several syntax-test
files here (this is a regression caused when this check was made more
stringent by
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=dc9ce40069bde3d28f8d0b3e5bd733ae255fecb5)

Probably a silly corner case seldom seen irl, but thought I'd pass along
in case there was interest in correcting the check.

---------------

h264: Fix maximum reference count check for non-b frames; full range is
technically ok

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoffmpeg: warn that -t does not work with -filter_complex.
Nicolas George [Thu, 28 Jun 2012 19:02:31 +0000 (21:02 +0200)]
ffmpeg: warn that -t does not work with -filter_complex.

6 years agoffmpeg: warn when -t is used for inputs.
Nicolas George [Thu, 28 Jun 2012 18:26:13 +0000 (20:26 +0200)]
ffmpeg: warn when -t is used for inputs.

Using -t on an input already have surprising results.
Furthermore, using it on an input or an output makes
a real difference if there are speed-altering filters.

Implementing -t for inputs will probably result in some
behavour changes.

6 years agosink_buffer: warn when there are too many buffers.
Nicolas George [Thu, 28 Jun 2012 09:21:42 +0000 (11:21 +0200)]
sink_buffer: warn when there are too many buffers.

6 years agobuffersrc: warn when there are too many buffers.
Nicolas George [Thu, 28 Jun 2012 09:21:18 +0000 (11:21 +0200)]
buffersrc: warn when there are too many buffers.

6 years agolavfi/amerge: silence warnings
Paul B Mahol [Thu, 28 Jun 2012 16:51:17 +0000 (16:51 +0000)]
lavfi/amerge: silence warnings

The warning silenced was: libavfilter/af_amerge.c:144:29: warning: conversion specifies type 'long long' but the argument has type 'int' [-Wformat]

The warning was introduced after FF_API_SAMPLERATE64 removal.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoparseutils: fix sorting of colors
Paul B Mahol [Thu, 28 Jun 2012 17:15:08 +0000 (17:15 +0000)]
parseutils: fix sorting of colors

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoffmpeg: dont copy creation_time as the destination file is not created at that time
Michael Niedermayer [Thu, 28 Jun 2012 15:09:36 +0000 (17:09 +0200)]
ffmpeg: dont copy creation_time as the destination file is not created at that time

Fixes Ticket1439

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoflv: add support for G.711
Damien Fetis [Thu, 28 Jun 2012 14:28:56 +0000 (16:28 +0200)]
flv: add support for G.711

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
6 years agodoc: git: Add checklist with test steps to perform before pushing
Diego Biurrun [Mon, 14 May 2012 15:08:00 +0000 (17:08 +0200)]
doc: git: Add checklist with test steps to perform before pushing

6 years agoflvenc: K&R formatting cosmetics
Luca Barbato [Wed, 27 Jun 2012 08:16:18 +0000 (10:16 +0200)]
flvenc: K&R formatting cosmetics

6 years agoswr: fix compilation with ancient toolchain that doesnt support SSSE3
Michael Niedermayer [Thu, 28 Jun 2012 09:12:41 +0000 (11:12 +0200)]
swr: fix compilation with ancient toolchain that doesnt support SSSE3

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoudp: use av_freep() instead of av_free()
Michael Niedermayer [Wed, 27 Jun 2012 23:09:43 +0000 (01:09 +0200)]
udp: use av_freep() instead of av_free()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavf: add proper enum type for fmt ctx duration esitmation method
Michael Bradshaw [Fri, 22 Jun 2012 23:03:18 +0000 (17:03 -0600)]
lavf: add proper enum type for fmt ctx duration esitmation method

Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 27 Jun 2012 22:42:47 +0000 (00:42 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  mss1: validate number of changeable palette entries
  mss1: report palette changed when some additional colours were decoded
  x86: fft: replace call to memcpy by a loop
  udp: Support IGMPv3 source specific multicast and source blocking
  dxva2: include dxva.h if found
  libm: Provide fallback definitions for isnan() and isinf()
  tcp: Pass NULL as hostname to getaddrinfo if the string is empty
  tcp: Set AI_PASSIVE when the socket will be used for listening

Conflicts:
configure
libavcodec/mss1.c
libavformat/udp.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolog: change color for filters from blue to bright green
Michael Niedermayer [Wed, 20 Jun 2012 15:17:50 +0000 (17:17 +0200)]
log: change color for filters from blue to bright green

The blue is difficult to read on several peoples terminals with black background.

Idea-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoswr: MMX2 & SSSE3 int16 resample core
Michael Niedermayer [Tue, 19 Jun 2012 01:08:19 +0000 (03:08 +0200)]
swr: MMX2 & SSSE3 int16 resample core

about 4 times faster

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agohttp: try to detect live akamai streams and dont enable seeking for them
Michael Niedermayer [Sun, 3 Jun 2012 16:34:53 +0000 (18:34 +0200)]
http: try to detect live akamai streams and dont enable seeking for them

Fixes ticket1320

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolsp: use av_assert
Michael Niedermayer [Wed, 27 Jun 2012 22:07:22 +0000 (00:07 +0200)]
lsp: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolpc: use av_assert
Michael Niedermayer [Wed, 27 Jun 2012 22:07:10 +0000 (00:07 +0200)]
lpc: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoudp: fix occasional crash on shutdown
Eric Petit [Wed, 27 Jun 2012 13:09:40 +0000 (15:09 +0200)]
udp: fix occasional crash on shutdown

Wait until the thread is down before destroying the fifo

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomovenc: Add channel layouts for PCM.
Alex Converse [Sat, 23 Jun 2012 23:57:56 +0000 (16:57 -0700)]
movenc: Add channel layouts for PCM.

6 years agolavc: clarify docs for avpkt->destruct
Michael Bradshaw [Wed, 27 Jun 2012 18:19:00 +0000 (12:19 -0600)]
lavc: clarify docs for avpkt->destruct

avcodec_encode_audio2 docs are ambiguous about avpkt->destruct and imply
it gets reset.

Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomss1: validate number of changeable palette entries
Kostya Shishkov [Wed, 27 Jun 2012 08:11:19 +0000 (10:11 +0200)]
mss1: validate number of changeable palette entries

6 years agomss1: report palette changed when some additional colours were decoded
Kostya Shishkov [Wed, 27 Jun 2012 08:07:47 +0000 (10:07 +0200)]
mss1: report palette changed when some additional colours were decoded

6 years agox86: fft: replace call to memcpy by a loop
Christophe Gisquet [Tue, 26 Jun 2012 14:10:33 +0000 (16:10 +0200)]
x86: fft: replace call to memcpy by a loop

The function call was a mess to handle, and memcpy cannot make
the assumptions we do in the new code.

Tested on an IMC sample: 430c -> 370c.

Signed-off-by: Mans Rullgard <mans@mansr.com>
6 years agoudp: Support IGMPv3 source specific multicast and source blocking
Martin Storsjö [Thu, 21 Jun 2012 11:19:56 +0000 (14:19 +0300)]
udp: Support IGMPv3 source specific multicast and source blocking

Based on an original patch by Stephen D'Angelo <SDAngelo@evertz.com>.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agodxva2: include dxva.h if found
Ronald S. Bultje [Sun, 24 Jun 2012 10:17:13 +0000 (11:17 +0100)]
dxva2: include dxva.h if found

Apparently, some build environments require dxva.h even for dxva2,
while others lack this header entirely.  Including it conditionally
allows building in both cases.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agolibm: Provide fallback definitions for isnan() and isinf()
Martin Storsjö [Tue, 26 Jun 2012 16:22:12 +0000 (19:22 +0300)]
libm: Provide fallback definitions for isnan() and isinf()

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