ffmpeg.git
7 years agoAdd const to static arrays where it was forgotten.
Reimar Döffinger [Sat, 5 Nov 2011 13:49:52 +0000 (14:49 +0100)]
Add const to static arrays where it was forgotten.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
7 years agodoc: fix typo in previous commit.
Clément Bœsch [Sat, 5 Nov 2011 14:30:46 +0000 (15:30 +0100)]
doc: fix typo in previous commit.

7 years agodoc: document v4l and v4l2 aliases.
Clément Bœsch [Sat, 5 Nov 2011 14:30:10 +0000 (15:30 +0100)]
doc: document v4l and v4l2 aliases.

7 years agodoc: fix a few typo in the filters section.
Clément Bœsch [Sat, 5 Nov 2011 14:19:23 +0000 (15:19 +0100)]
doc: fix a few typo in the filters section.

7 years agov4l2: add libv4l2 support.
Clément Bœsch [Sun, 30 Oct 2011 02:21:55 +0000 (03:21 +0100)]
v4l2: add libv4l2 support.

7 years agoffprobe: use avio_size() instead of deprecated file_size attribute.
Clément Bœsch [Sat, 5 Nov 2011 12:16:32 +0000 (13:16 +0100)]
ffprobe: use avio_size() instead of deprecated file_size attribute.

7 years agoffprobe: fix const compiler warning.
Clément Bœsch [Sat, 5 Nov 2011 12:14:43 +0000 (13:14 +0100)]
ffprobe: fix const compiler warning.

7 years agoReplace remaining av_new_stream() with avformat_new_stream().
Clément Bœsch [Sat, 5 Nov 2011 12:11:18 +0000 (13:11 +0100)]
Replace remaining av_new_stream() with avformat_new_stream().

7 years agoj2kdec: fix a bunch of const compiler warnings.
Clément Bœsch [Sat, 5 Nov 2011 11:56:39 +0000 (12:56 +0100)]
j2kdec: fix a bunch of const compiler warnings.

7 years agoAPIChanges: fill missing dates and hashes.
Clément Bœsch [Sat, 5 Nov 2011 11:31:25 +0000 (12:31 +0100)]
APIChanges: fill missing dates and hashes.

7 years agoFix typo in warning message.
Reimar Döffinger [Sat, 5 Nov 2011 10:30:16 +0000 (11:30 +0100)]
Fix typo in warning message.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
7 years agoPut strings inside struct instead of extra indirection.
Reimar Döffinger [Fri, 4 Nov 2011 16:05:17 +0000 (17:05 +0100)]
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>
7 years agoexamples/filtering: remove #include vsink_buffer.h, the header does not exist
Michael Niedermayer [Sat, 5 Nov 2011 04:34:17 +0000 (05:34 +0100)]
examples/filtering: remove #include vsink_buffer.h, the header does not exist

Found-by: teratorn
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoaf_volume: exp10() is a GNU extension.
Michael Niedermayer [Sat, 5 Nov 2011 04:31:03 +0000 (05:31 +0100)]
af_volume: exp10() is a GNU extension.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoaf_earwax: copy input buffer properties to output
Stefano Sabatini [Sat, 5 Nov 2011 01:44:02 +0000 (02:44 +0100)]
af_earwax: copy input buffer properties to output

In particular, fix timestamps, partially address trac ticket #375.

7 years agolavfi: add earwax audio filter, ported from Sox
Mina Nagy Zaki [Sat, 26 Mar 2011 20:02:50 +0000 (21:02 +0100)]
lavfi: add earwax audio filter, ported from Sox

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
7 years agolavfi: add volume filter
Stefano Sabatini [Tue, 1 Nov 2011 20:42:14 +0000 (21:42 +0100)]
lavfi: add volume filter

7 years agolavfi: increase number of maximum registered filters from 64 to 128
Stefano Sabatini [Wed, 2 Nov 2011 21:10:32 +0000 (22:10 +0100)]
lavfi: increase number of maximum registered filters from 64 to 128

7 years agolavfi: issue error if maximum number of filters is reached
Stefano Sabatini [Wed, 2 Nov 2011 21:08:28 +0000 (22:08 +0100)]
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.

7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 5 Nov 2011 00:46:14 +0000 (01:46 +0100)]
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>
7 years agodwt: Code make up, removed gotos
Jordi Ortiz [Fri, 4 Nov 2011 12:23:53 +0000 (13:23 +0100)]
dwt: Code make up, removed gotos
(cherry picked from commit 14880406e1277cef91d9b22a4d9b3bf91f8ea4ca)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoDirac: Added endif comments
Jordi Ortiz [Fri, 4 Nov 2011 12:23:31 +0000 (13:23 +0100)]
Dirac: Added endif comments
(cherry picked from commit c023d4db3688cd4f0fa47c472b33eb343b0d6db1)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoDirac: Specific struct initializers in AVCodec initialization
Jordi Ortiz [Thu, 3 Nov 2011 18:21:32 +0000 (19:21 +0100)]
Dirac: Specific struct initializers in AVCodec initialization

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoDirac: Removed goto + some code make up
Jordi Ortiz [Thu, 3 Nov 2011 18:15:08 +0000 (19:15 +0100)]
Dirac: Removed goto + some code make up
(cherry picked from commit 8db434f8a6d210f7fd2f28ba325927d7a5dd04b9)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodwt: removed some warnings in make checkheaders
Jordi Ortiz [Thu, 3 Nov 2011 16:32:52 +0000 (17:32 +0100)]
dwt: removed some warnings in make checkheaders
(cherry picked from commit 1124056ac054842f36866b4dabb9f8aae0ad06b6)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoDirac: Solved problem with make checkheaders
Jordi Ortiz [Thu, 3 Nov 2011 16:32:10 +0000 (17:32 +0100)]
Dirac: Solved problem with make checkheaders
(cherry picked from commit d611ea0a44f3e4f67fef7ba916da5a25adef58da)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoconfigure: fixes vda compilation issue.
Sebastien Zwickert [Fri, 4 Nov 2011 19:34:52 +0000 (20:34 +0100)]
configure: fixes vda compilation issue.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmpeg: add -map_channel option.
Clément Bœsch [Fri, 4 Nov 2011 17:54:01 +0000 (18:54 +0100)]
ffmpeg: add -map_channel option.

Based on an initial work by Baptiste Coudurier.

7 years agoFix libutvideo wrapper name
Derek Buitenhuis [Fri, 4 Nov 2011 17:01:19 +0000 (13:01 -0400)]
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>
7 years agoffprobe: Print format specific variables of codecs.
Michael Niedermayer [Thu, 3 Nov 2011 14:26:42 +0000 (15:26 +0100)]
ffprobe: Print format specific variables of codecs.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswr: document how flushing works and bump minor version.
Michael Niedermayer [Fri, 4 Nov 2011 15:34:39 +0000 (16:34 +0100)]
swr: document how flushing works and bump minor version.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswr-test: test flushing
Michael Niedermayer [Fri, 4 Nov 2011 15:32:31 +0000 (16:32 +0100)]
swr-test: test flushing

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswr: Support flushing last samples out.
Michael Niedermayer [Fri, 4 Nov 2011 15:31:51 +0000 (16:31 +0100)]
swr: Support flushing last samples out.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agobinkaudio: expand quant_table to accommodate all possible values
Justin Ruggles [Fri, 4 Nov 2011 02:51:07 +0000 (22:51 -0400)]
binkaudio: expand quant_table to accommodate all possible values

7 years agolibx264: Set the default of the rc_lookahead option to -1
Martin Storsjö [Thu, 3 Nov 2011 12:14:09 +0000 (14:14 +0200)]
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>
7 years agoavcodec: Set flags2 default value depending on availability
Martin Storsjö [Thu, 3 Nov 2011 12:12:14 +0000 (14:12 +0200)]
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>
7 years agoconfigure: declare dependency of h264_vaapi_hwaccel on h264_decoder
Diego Biurrun [Thu, 3 Nov 2011 20:38:23 +0000 (21:38 +0100)]
configure: declare dependency of h264_vaapi_hwaccel on h264_decoder

7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 4 Nov 2011 00:44:06 +0000 (01:44 +0100)]
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>
7 years agovp6: Fix illegal read.
Alex Converse [Thu, 3 Nov 2011 22:55:52 +0000 (15:55 -0700)]
vp6: Fix illegal read.

7 years agoavfilter: Don't copy garbage from the stack when setting up video pictures.
Alex Converse [Thu, 3 Nov 2011 22:54:04 +0000 (15:54 -0700)]
avfilter: Don't copy garbage from the stack when setting up video pictures.

7 years agolavf: fix null pointer dereference in rdt
Michael Niedermayer [Thu, 3 Nov 2011 21:38:10 +0000 (22:38 +0100)]
lavf: fix null pointer dereference in rdt

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoid3v2enc: av_strcasecmp()
Michael Niedermayer [Thu, 3 Nov 2011 19:13:51 +0000 (20:13 +0100)]
id3v2enc: av_strcasecmp()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoh264: favor coded_width in resolution chnaged checks
Michael Niedermayer [Thu, 3 Nov 2011 15:17:29 +0000 (16:17 +0100)]
h264: favor coded_width in resolution chnaged checks

Suggested-by: Joakim Plate <elupus@ecce.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoSet frame_size for AMR_NB in mov.
Carl Eugen Hoyos [Thu, 3 Nov 2011 19:20:58 +0000 (20:20 +0100)]
Set frame_size for AMR_NB in mov.

This copies the behaviour of the amr demuxer.

7 years agoDo not use strcpy for "strings" starting with \0.
Carl Eugen Hoyos [Thu, 3 Nov 2011 19:19:43 +0000 (20:19 +0100)]
Do not use strcpy for "strings" starting with \0.

7 years agoReplace all strcasecmp/strncasecmp usages.
Reimar Döffinger [Wed, 2 Nov 2011 19:17:25 +0000 (20:17 +0100)]
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>
7 years agolavc: Init AVFrame->opaque to AVCodecContext.opaque in avcodec_default_get_buffer()
Michael Niedermayer [Thu, 3 Nov 2011 13:54:15 +0000 (14:54 +0100)]
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>
7 years agolavf: Do not set cur_dts to undetermined before first_dts has been calculated as...
Michael Niedermayer [Thu, 3 Nov 2011 13:31:01 +0000 (14:31 +0100)]
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>
7 years agoCosmetics: Reindent after last commit.
Carl Eugen Hoyos [Thu, 3 Nov 2011 13:30:00 +0000 (14:30 +0100)]
Cosmetics: Reindent after last commit.

7 years agoSupport new ALAC magic cookie in caf files.
Carl Eugen Hoyos [Thu, 3 Nov 2011 13:27:54 +0000 (14:27 +0100)]
Support new ALAC magic cookie in caf files.

7 years agoavcodec: Make sure codec_type is set by avcodec_get_context_defaults2
Martin Storsjö [Thu, 3 Nov 2011 09:40:13 +0000 (11:40 +0200)]
avcodec: Make sure codec_type is set by avcodec_get_context_defaults2

This function used to set codec_type. With the current fallback
implementation based on avcodec_get_context_defaults3, codec_type
won't be set to the value passed in, but will be set to
AVMEDIA_TYPE_UNKNOWN. Legacy callers of this function might expect
this field to be set to the value passed in.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoavcodec: Remove a misplaced and useless attribute_deprecated
Martin Storsjö [Wed, 2 Nov 2011 15:54:00 +0000 (17:54 +0200)]
avcodec: Remove a misplaced and useless attribute_deprecated

If attribute_deprecated is used in an enum declaration, it
should follow the 'enum' keyword, otherwise it's ignored
silently. This is the only case of attribute_deprecated for
enum declarations currently.

Currently, this attribute_deprecated doesn't have any effect.
If moved to the right place, it emits a warning every single
time avcodec.h is included, like this:

avcodec.h:2827: warning: ‘AVLPCType’ is deprecated (declared at avcodec.h:543)

There is already a working attribute_deprecated for the
corresponding field in AVCodecContext, so therefore this
one shouldn't be needed.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoavconv: add -dump_attachment option.
Anton Khirnov [Wed, 2 Nov 2011 20:50:54 +0000 (21:50 +0100)]
avconv: add -dump_attachment option.

7 years agoavconv: add -attach option.
Anton Khirnov [Sun, 30 Oct 2011 06:10:08 +0000 (07:10 +0100)]
avconv: add -attach option.

It allows attaching arbitrary files, e.g. fonts to Matroska files.

7 years agoavconv: make negative mappings disable only streams from the specified file
Anton Khirnov [Sat, 29 Oct 2011 05:58:23 +0000 (07:58 +0200)]
avconv: make negative mappings disable only streams from the specified file

7 years agofmtconvert: fix int32_to_float_fmul_scalar() for windows x86_64
Justin Ruggles [Tue, 1 Nov 2011 20:57:41 +0000 (16:57 -0400)]
fmtconvert: fix int32_to_float_fmul_scalar() for windows x86_64

The calling convention only allows 4 non-stack parameter, with each
float or int register being skipped if not used.

fixes Bug 64

7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 3 Nov 2011 01:01:37 +0000 (02:01 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (44 commits)
  replacement Indeo 3 decoder
  gsm demuxer: do not allocate packet twice.
  flvenc: use first packet delay as global delay.
  ac3enc: doxygen update.
  imc: return error codes instead of 0 for error conditions.
  imc: return meaningful error codes instead of -1
  imc: do not set channel layout for stereo
  imc: validate channel count
  imc: check for ff_fft_init() failure
  imc: check output buffer size before decoding
  imc: use DSPContext.bswap16_buf() to byte-swap packet data
  rtsp: add allowed_media_types option
  libgsm: add flush function to reset the decoder state when seeking
  libgsm: simplify decoding by using a loop
  gsm: log error message when packet is too small
  libgsmdec: do not needlessly set *data_size to 0
  gsmdec: do not needlessly set *data_size to 0
  gsmdec: add flush function to reset the decoder state when seeking
  libgsmdec: check output buffer size before decoding
  gsmdec: log error message when output buffer is too small.
  ...

Conflicts:
Changelog
ffplay.c
libavcodec/indeo3.c
libavcodec/mjpeg_parser.c
libavcodec/vp3.c
libavformat/cutils.c
libavformat/id3v2.c
libavutil/parseutils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoreplacement Indeo 3 decoder
Maxim Poliakovski [Wed, 2 Nov 2011 20:34:57 +0000 (21:34 +0100)]
replacement Indeo 3 decoder

The new decoder is much smaller and has better code quality.
Cleanup and fixes courtesy of Kostya Shishkov.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
7 years agogsm demuxer: do not allocate packet twice.
Justin Ruggles [Wed, 2 Nov 2011 22:30:49 +0000 (18:30 -0400)]
gsm demuxer: do not allocate packet twice.

fixes memleak with raw gsm demuxing.

7 years agoflvenc: use first packet delay as global delay.
Justin Ruggles [Wed, 26 Oct 2011 16:43:18 +0000 (12:43 -0400)]
flvenc: use first packet delay as global delay.

This keeps the streams sychronized. The packets must be interleaved per-DTS.

7 years agoac3enc: doxygen update.
Justin Ruggles [Wed, 2 Nov 2011 14:38:10 +0000 (10:38 -0400)]
ac3enc: doxygen update.

Add some parameters to existing function documentation.
Remove some unneeded documentation.
Convert some static function documentation to non-doxygen style.

7 years agoimc: return error codes instead of 0 for error conditions.
Justin Ruggles [Sat, 29 Oct 2011 15:16:01 +0000 (11:16 -0400)]
imc: return error codes instead of 0 for error conditions.

This fixes a bug where the whole buffer was returned as decoded audio due to
*data_size not being set to zero and the return value being >= 0.

7 years agoimc: return meaningful error codes instead of -1
Justin Ruggles [Fri, 28 Oct 2011 22:36:28 +0000 (18:36 -0400)]
imc: return meaningful error codes instead of -1

7 years agoimc: do not set channel layout for stereo
Justin Ruggles [Fri, 28 Oct 2011 22:32:40 +0000 (18:32 -0400)]
imc: do not set channel layout for stereo

we only support decoding of mono imc

7 years agoimc: validate channel count
Justin Ruggles [Fri, 28 Oct 2011 22:31:21 +0000 (18:31 -0400)]
imc: validate channel count

ask for a sample if not mono

7 years agoimc: check for ff_fft_init() failure
Justin Ruggles [Fri, 28 Oct 2011 22:25:49 +0000 (18:25 -0400)]
imc: check for ff_fft_init() failure

7 years agoimc: check output buffer size before decoding
Justin Ruggles [Fri, 28 Oct 2011 22:24:03 +0000 (18:24 -0400)]
imc: check output buffer size before decoding

7 years agoimc: use DSPContext.bswap16_buf() to byte-swap packet data
Justin Ruggles [Fri, 28 Oct 2011 22:16:31 +0000 (18:16 -0400)]
imc: use DSPContext.bswap16_buf() to byte-swap packet data

7 years agovf_overlay: adopts FAST_DIV255 macro for calculating destination alpha
Stefano Sabatini [Mon, 31 Oct 2011 10:32:11 +0000 (11:32 +0100)]
vf_overlay: adopts FAST_DIV255 macro for calculating destination alpha

Ease readability, improve exactness.

7 years agovf_fade: fade to correct CCIR601/709 black level
Mark Himsley [Wed, 2 Nov 2011 20:39:55 +0000 (21:39 +0100)]
vf_fade: fade to correct CCIR601/709 black level

Current implementation fades to 0. This implementation fades to 16 for
YUV formats that contain CCIR601/709 video levels. RGB and YUVJ
formats are not altered.

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
7 years agompegtsenc: EAC3 support
Mean [Wed, 2 Nov 2011 19:41:24 +0000 (20:41 +0100)]
mpegtsenc: EAC3 support

Reviewed-by: Baptiste Coudurier <baptiste.coudurier@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agortsp: add allowed_media_types option
John Brooks [Sat, 29 Oct 2011 21:41:24 +0000 (15:41 -0600)]
rtsp: add allowed_media_types option

Streams from RTSP or SDP that do not match an allowed type will
be skipped entirely, which allows video-only or audio-only
streaming from servers that provide both.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agovc1dec: Fix CODEC_FLAG_LOW_DELAY
Mean [Wed, 2 Nov 2011 18:35:22 +0000 (19:35 +0100)]
vc1dec: Fix CODEC_FLAG_LOW_DELAY

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agompeg4videodec: export quarter_sample & divx_packed
Michael Niedermayer [Wed, 2 Nov 2011 18:48:26 +0000 (19:48 +0100)]
mpeg4videodec: export quarter_sample & divx_packed

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibgsm: add flush function to reset the decoder state when seeking
Justin Ruggles [Fri, 28 Oct 2011 14:35:15 +0000 (10:35 -0400)]
libgsm: add flush function to reset the decoder state when seeking

7 years agolibgsm: simplify decoding by using a loop
Justin Ruggles [Fri, 28 Oct 2011 14:28:41 +0000 (10:28 -0400)]
libgsm: simplify decoding by using a loop

7 years agogsm: log error message when packet is too small
Justin Ruggles [Fri, 28 Oct 2011 14:18:07 +0000 (10:18 -0400)]
gsm: log error message when packet is too small

7 years agolibgsmdec: do not needlessly set *data_size to 0
Justin Ruggles [Fri, 28 Oct 2011 14:10:12 +0000 (10:10 -0400)]
libgsmdec: do not needlessly set *data_size to 0

7 years agogsmdec: do not needlessly set *data_size to 0
Justin Ruggles [Fri, 28 Oct 2011 14:09:45 +0000 (10:09 -0400)]
gsmdec: do not needlessly set *data_size to 0

7 years agogsmdec: add flush function to reset the decoder state when seeking
Justin Ruggles [Fri, 28 Oct 2011 14:07:41 +0000 (10:07 -0400)]
gsmdec: add flush function to reset the decoder state when seeking

7 years agolibgsmdec: check output buffer size before decoding
Justin Ruggles [Fri, 28 Oct 2011 04:52:36 +0000 (00:52 -0400)]
libgsmdec: check output buffer size before decoding

7 years agogsmdec: log error message when output buffer is too small.
Justin Ruggles [Fri, 28 Oct 2011 04:34:52 +0000 (00:34 -0400)]
gsmdec: log error message when output buffer is too small.

also return AVERROR(EINVAL) instead of -1

7 years agogsm: use av_get_bytes_per_sample() in frame_bytes calculation
Justin Ruggles [Fri, 28 Oct 2011 04:31:11 +0000 (00:31 -0400)]
gsm: use av_get_bytes_per_sample() in frame_bytes calculation

7 years agoCreate separate functions for the raw GSM demuxer.
Justin Ruggles [Fri, 28 Oct 2011 04:07:32 +0000 (00:07 -0400)]
Create separate functions for the raw GSM demuxer.

Put the new raw GSM demuxer in its own file.
Fixes raw GSM demuxing.

7 years agoid3v2enc: include strings.h for strcasecmp()
Michael Niedermayer [Wed, 2 Nov 2011 18:10:49 +0000 (19:10 +0100)]
id3v2enc: include strings.h for strcasecmp()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoopt: remove attribute_deprecated from several functions that do not have adequante...
Michael Niedermayer [Wed, 2 Nov 2011 17:41:21 +0000 (18:41 +0100)]
opt: remove attribute_deprecated from several functions that do not have adequante replacements.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoh264: add nal_length_size and is_avc to the publically readable fields
Michael Niedermayer [Wed, 2 Nov 2011 17:39:42 +0000 (18:39 +0100)]
h264: add nal_length_size and is_avc to the publically readable fields

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavc: fix avcodec_get_type()
Michael Niedermayer [Wed, 2 Nov 2011 16:04:46 +0000 (17:04 +0100)]
lavc: fix avcodec_get_type()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoHWAccel: adds Video Decoder Acceleration (VDA) module for Mac OS X.
Sebastien Zwickert [Tue, 1 Nov 2011 23:55:09 +0000 (00:55 +0100)]
HWAccel: adds Video Decoder Acceleration (VDA) module for Mac OS X.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMAINTAINERS: update release manager
Michael Niedermayer [Tue, 1 Nov 2011 11:58:03 +0000 (12:58 +0100)]
MAINTAINERS: update release manager

Found-by: Compn
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoid3v2enc: add support for year and day/month tags when writing id3v2 version 3 metadata
Tobias Rapp [Wed, 2 Nov 2011 10:50:14 +0000 (11:50 +0100)]
id3v2enc: add support for year and day/month tags when writing id3v2 version 3 metadata

Adds support for year (TYER) and day/month (TDAT) tags when writing
id3v2 version 3 metadata by splitting the "date" tag. The date tag
should have a format of "YYYY-MM-DD" or "YYYY".

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoReplace vendor string in Ogg and FLAC muxers.
Diego Biurrun [Sun, 30 Oct 2011 20:30:32 +0000 (21:30 +0100)]
Replace vendor string in Ogg and FLAC muxers.

7 years agoReplace some forgotten FFmpeg references by Libav.
Diego Biurrun [Sun, 30 Oct 2011 17:25:48 +0000 (18:25 +0100)]
Replace some forgotten FFmpeg references by Libav.

7 years agovsrc_testsrc: fix mailing list reference URL
Diego Biurrun [Sun, 30 Oct 2011 17:04:22 +0000 (18:04 +0100)]
vsrc_testsrc: fix mailing list reference URL

7 years agoReplace ffmpeg references with more accurate libav* references.
Diego Biurrun [Sun, 30 Oct 2011 17:02:42 +0000 (18:02 +0100)]
Replace ffmpeg references with more accurate libav* references.

7 years agoReplace outdated references to ffmpeg tool with avconv.
Diego Biurrun [Sun, 30 Oct 2011 16:59:01 +0000 (17:59 +0100)]
Replace outdated references to ffmpeg tool with avconv.

7 years agoRemove some stray unnecessary ffmpeg references.
Diego Biurrun [Sun, 30 Oct 2011 16:56:57 +0000 (17:56 +0100)]
Remove some stray unnecessary ffmpeg references.

7 years agovp3: remove some pointless comments
Diego Biurrun [Sun, 30 Oct 2011 16:52:11 +0000 (17:52 +0100)]
vp3: remove some pointless comments

7 years agoid3v2: fix type of ID3v2EMFunc.free()
Anton Khirnov [Wed, 2 Nov 2011 08:47:59 +0000 (09:47 +0100)]
id3v2: fix type of ID3v2EMFunc.free()

7 years agolavc: use designated initialisers for parsers.
Anton Khirnov [Wed, 2 Nov 2011 08:34:41 +0000 (09:34 +0100)]
lavc: use designated initialisers for parsers.