]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agoMerge commit '999ccd2d0a43640921088578f138c874f6cc0f8a'
Michael Niedermayer [Sat, 8 Jun 2013 09:41:58 +0000 (11:41 +0200)]
Merge commit '999ccd2d0a43640921088578f138c874f6cc0f8a'

* commit '999ccd2d0a43640921088578f138c874f6cc0f8a':
  tiff: cleanup the error paths

Conflicts:
libavcodec/tiff.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '016c5b066de08a93a5f6b5beb0ef377356b35cde'
Michael Niedermayer [Sat, 8 Jun 2013 09:31:31 +0000 (11:31 +0200)]
Merge commit '016c5b066de08a93a5f6b5beb0ef377356b35cde'

* commit '016c5b066de08a93a5f6b5beb0ef377356b35cde':
  tiff: refactor fax support in a separate function

Conflicts:
libavcodec/tiff.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '103937681d7e6afd3e8caf8937272575e450fb55'
Michael Niedermayer [Sat, 8 Jun 2013 09:18:37 +0000 (11:18 +0200)]
Merge commit '103937681d7e6afd3e8caf8937272575e450fb55'

* commit '103937681d7e6afd3e8caf8937272575e450fb55':
  tiff: refactor deflate support in a separate function

Conflicts:
libavcodec/tiff.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'f8a4d5e970f32f8cc747f9fa7bd975ee4a060ea1'
Michael Niedermayer [Sat, 8 Jun 2013 08:50:24 +0000 (10:50 +0200)]
Merge commit 'f8a4d5e970f32f8cc747f9fa7bd975ee4a060ea1'

* commit 'f8a4d5e970f32f8cc747f9fa7bd975ee4a060ea1':
  h264_parser: K&R formatting cosmetics
  vorbis: return meaningful errors

Conflicts:
libavcodec/h264_parser.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec/smvjpegdec: copy palette too
Michael Niedermayer [Fri, 7 Jun 2013 23:19:27 +0000 (01:19 +0200)]
avcodec/smvjpegdec: copy palette too

Fixes out of array access

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'cehoyos/master'
Michael Niedermayer [Fri, 7 Jun 2013 19:28:24 +0000 (21:28 +0200)]
Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  Do not offer smvjpeg lowres capabilities, the decoder does not support it.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec/smvjpegdec: check that frames_per_jpeg cleanly divides height
Michael Niedermayer [Fri, 7 Jun 2013 18:36:48 +0000 (20:36 +0200)]
avcodec/smvjpegdec: check that frames_per_jpeg cleanly divides height

Fixes out of array access

If some valid files fail this check then please open a ticket and ping me and the smvjpegdec maintainer.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoDo not offer smvjpeg lowres capabilities, the decoder does not support it.
Carl Eugen Hoyos [Fri, 7 Jun 2013 17:40:03 +0000 (19:40 +0200)]
Do not offer smvjpeg lowres capabilities, the decoder does not support it.

Reviewed-by: Ash Hughes
11 years agotiff: cleanup the error paths
Luca Barbato [Mon, 3 Jun 2013 02:00:43 +0000 (04:00 +0200)]
tiff: cleanup the error paths

Return the proper error values and optionally report them.

11 years agotiff: refactor fax support in a separate function
Luca Barbato [Mon, 3 Jun 2013 01:58:17 +0000 (03:58 +0200)]
tiff: refactor fax support in a separate function

11 years agotiff: refactor deflate support in a separate function
Luca Barbato [Mon, 3 Jun 2013 01:51:05 +0000 (03:51 +0200)]
tiff: refactor deflate support in a separate function

Report when zlib support is missing.

11 years agoh264_parser: K&R formatting cosmetics
Luca Barbato [Thu, 6 Jun 2013 06:02:50 +0000 (08:02 +0200)]
h264_parser: K&R formatting cosmetics

11 years agovorbis: return meaningful errors
Luca Barbato [Fri, 17 May 2013 11:34:25 +0000 (13:34 +0200)]
vorbis: return meaningful errors

11 years agodoc/filters: fix alias option name for chroma_mode in 'il' filter.
Tim.Nicholson [Fri, 7 Jun 2013 14:24:14 +0000 (15:24 +0100)]
doc/filters: fix alias option name for chroma_mode in 'il' filter.

11 years agoavformat/mov: compute dts_shift with trun cts
Alexandre Sicard [Fri, 7 Jun 2013 12:56:16 +0000 (14:56 +0200)]
avformat/mov: compute dts_shift with trun cts

Some movies have negative composition time offsets in their trun, causing pts <
dts errors. This patch makes use of dts_shift to handle them.

Signed-off-by: Alexandre Sicard <alexandre.sicard@smartjog.com>
11 years agocmdutils: print threading capabilities for audio codecs
Paul B Mahol [Fri, 7 Jun 2013 14:24:52 +0000 (14:24 +0000)]
cmdutils: print threading capabilities for audio codecs

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agosmvjpegdec: only extract picture when a picture has been decoded.
Michael Niedermayer [Fri, 7 Jun 2013 12:20:59 +0000 (14:20 +0200)]
smvjpegdec: only extract picture when a picture has been decoded.

Fixes null pointer dereference

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agotta: unbreak demuxing of files with id3 tags at start of file
Paul B Mahol [Fri, 7 Jun 2013 10:28:13 +0000 (10:28 +0000)]
tta: unbreak demuxing of files with id3 tags at start of file

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agotta: replace datalen with nb_samples
Paul B Mahol [Fri, 7 Jun 2013 09:49:04 +0000 (09:49 +0000)]
tta: replace datalen with nb_samples

This is less confusing.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agosonicenc: don't allocate unused avctx->coded_frame
Paul B Mahol [Thu, 6 Jun 2013 16:06:37 +0000 (16:06 +0000)]
sonicenc: don't allocate unused avctx->coded_frame

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agopcmenc: don't allocate unused avctx->coded_frame
Paul B Mahol [Thu, 6 Jun 2013 16:03:44 +0000 (16:03 +0000)]
pcmenc: don't allocate unused avctx->coded_frame

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoalacenc: don't allocate unused avctx->coded_frame
Paul B Mahol [Thu, 6 Jun 2013 15:58:03 +0000 (15:58 +0000)]
alacenc: don't allocate unused avctx->coded_frame

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoid3v2: read all textual chapter subframes
Paul B Mahol [Thu, 9 May 2013 13:09:28 +0000 (13:09 +0000)]
id3v2: read all textual chapter subframes

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoflvdec: Fix mistakenly discarding metadata at dts==0
Atli Thorbjornsson [Thu, 6 Jun 2013 00:09:20 +0000 (00:09 +0000)]
flvdec: Fix mistakenly discarding metadata at dts==0

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 7 Jun 2013 08:17:14 +0000 (10:17 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  rtpdec: Fix the alphabetical ordering in registering depacketizers

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '2681924b0f3f35840dd9d9825df9f9239c448b22'
Michael Niedermayer [Fri, 7 Jun 2013 08:12:46 +0000 (10:12 +0200)]
Merge commit '2681924b0f3f35840dd9d9825df9f9239c448b22'

* commit '2681924b0f3f35840dd9d9825df9f9239c448b22':
  libavformat: Fix standalone compilation of the webm muxer

Conflicts:
libavformat/Makefile

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi/lut3d: add sanity checks.
Clément Bœsch [Thu, 6 Jun 2013 23:42:18 +0000 (01:42 +0200)]
lavfi/lut3d: add sanity checks.

Should fix CID1026775 and CID1026774.

11 years agoAdd unscaled converter from GBRP > 8bit to RGBx48/64.
Carl Eugen Hoyos [Thu, 6 Jun 2013 21:57:50 +0000 (23:57 +0200)]
Add unscaled converter from GBRP > 8bit to RGBx48/64.

Fixes ticket #2633.

Tested-by: Michael Cinquin
11 years agotiff: simplify picking right pixel format
Paul B Mahol [Thu, 6 Jun 2013 21:42:02 +0000 (21:42 +0000)]
tiff: simplify picking right pixel format

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavc: add ONLY_IF_THREADS_ENABLED where it is missing
Paul B Mahol [Thu, 6 Jun 2013 20:17:36 +0000 (20:17 +0000)]
lavc: add ONLY_IF_THREADS_ENABLED where it is missing

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agojpeg2000: Zero prec->cblk
Michael Niedermayer [Thu, 6 Jun 2013 20:02:54 +0000 (22:02 +0200)]
jpeg2000: Zero prec->cblk

Prevent use of uninitialized memory / valgrind failure

Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agojpeg2000dec: fix av_log()
Michael Niedermayer [Thu, 6 Jun 2013 19:34:35 +0000 (21:34 +0200)]
jpeg2000dec: fix av_log()

Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agotiff: correctly decode saparate planes with horizontal differencing predictor
Paul B Mahol [Thu, 6 Jun 2013 19:42:01 +0000 (19:42 +0000)]
tiff: correctly decode saparate planes with horizontal differencing predictor

Closes #2648.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavf/tee: pesudo → pseudo.
Clément Bœsch [Thu, 6 Jun 2013 18:29:18 +0000 (20:29 +0200)]
lavf/tee: pesudo → pseudo.

11 years agolavfi/il: add timeline support
Paul B Mahol [Thu, 6 Jun 2013 17:44:54 +0000 (17:44 +0000)]
lavfi/il: add timeline support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavfi/framestep: cosmetics: reindent AVFilter
Paul B Mahol [Thu, 6 Jun 2013 17:19:16 +0000 (17:19 +0000)]
lavfi/framestep: cosmetics: reindent AVFilter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavfi/framestep: add timeline support
Paul B Mahol [Thu, 6 Jun 2013 17:17:14 +0000 (17:17 +0000)]
lavfi/framestep: add timeline support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agortpdec: Fix the alphabetical ordering in registering depacketizers
Martin Storsjö [Thu, 6 Jun 2013 10:59:34 +0000 (13:59 +0300)]
rtpdec: Fix the alphabetical ordering in registering depacketizers

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolibavformat: Fix standalone compilation of the webm muxer
Martin Storsjö [Thu, 6 Jun 2013 11:08:07 +0000 (14:08 +0300)]
libavformat: Fix standalone compilation of the webm muxer

The missing object file was added to the matroska muxer already, but
not to the webm muxer.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoAPIchanges: Add missing entry for SHA-2 512
James Almer [Thu, 6 Jun 2013 08:40:00 +0000 (05:40 -0300)]
APIchanges: Add missing entry for SHA-2 512

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffprobe: show chapter and chapter metadata information
Stefano Sabatini [Thu, 6 Jun 2013 07:54:58 +0000 (09:54 +0200)]
ffprobe: show chapter and chapter metadata information

Address trac ticket #2636.

11 years agojpeg2000dec: check that we have enough components for MCT
Michael Niedermayer [Thu, 6 Jun 2013 14:06:13 +0000 (16:06 +0200)]
jpeg2000dec: check that we have enough components for MCT

Fixes out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agojpeg2000dec: Use the matching coding style struct for transform selection
Michael Niedermayer [Thu, 6 Jun 2013 13:22:21 +0000 (15:22 +0200)]
jpeg2000dec: Use the matching coding style struct for transform selection

Fixes a null pointer dereference

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf/hlsenc: fix bogus hls segment index rewrapping logic
Carl Eugen Hoyos [Thu, 6 Jun 2013 10:09:38 +0000 (12:09 +0200)]
lavf/hlsenc: fix bogus hls segment index rewrapping logic

The counter should not be reset since it detects the
hls segment increasing timeframe.

Fixes ticket #2643.

Reviewed-by: Stefano Sabatini
11 years agojpeg2000dec: Check that theres a SOT before SOD
Michael Niedermayer [Thu, 6 Jun 2013 08:50:33 +0000 (10:50 +0200)]
jpeg2000dec: Check that theres a SOT before SOD

Fixes out of array access

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agojpeg2000dec: Support 4 tile parts
Michael Niedermayer [Thu, 6 Jun 2013 01:01:17 +0000 (03:01 +0200)]
jpeg2000dec: Support 4 tile parts

Fixes out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoflacdec: don't call allocate_buffers() in init_thread_copy() when s->max_blocksize...
Paul B Mahol [Thu, 6 Jun 2013 01:00:56 +0000 (01:00 +0000)]
flacdec: don't call allocate_buffers() in init_thread_copy() when s->max_blocksize is 0

This is normal, and happens when no extradata was available at decoder
initialization.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoget_qcc: Check compno
Michael Niedermayer [Thu, 6 Jun 2013 00:19:24 +0000 (02:19 +0200)]
get_qcc: Check compno

Fixes out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoalac: frame multi-threading support
Paul B Mahol [Mon, 3 Jun 2013 16:45:26 +0000 (16:45 +0000)]
alac: frame multi-threading support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agowavpack: frame multi-threading support
Paul B Mahol [Mon, 3 Jun 2013 16:22:46 +0000 (16:22 +0000)]
wavpack: frame multi-threading support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agottadec: frame multi-threading support
Paul B Mahol [Mon, 3 Jun 2013 15:49:25 +0000 (15:49 +0000)]
ttadec: frame multi-threading support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoflacdec: frame multi-threading support
Paul B Mahol [Mon, 3 Jun 2013 15:47:53 +0000 (15:47 +0000)]
flacdec: frame multi-threading support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agotakdec: frame multi-threading support
Paul B Mahol [Mon, 3 Jun 2013 15:42:39 +0000 (15:42 +0000)]
takdec: frame multi-threading support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoaudio frame multi-threaded decoding
Paul B Mahol [Mon, 3 Jun 2013 14:43:18 +0000 (14:43 +0000)]
audio frame multi-threaded decoding

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoMAINTAINERS: add fingerprint of the FFmpeg release signing key
Michael Niedermayer [Wed, 5 Jun 2013 21:28:23 +0000 (23:28 +0200)]
MAINTAINERS: add fingerprint of the FFmpeg release signing key

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agojpeg2000dec: return error for invalid cdxy values
Michael Niedermayer [Wed, 5 Jun 2013 21:05:13 +0000 (23:05 +0200)]
jpeg2000dec: return error for invalid cdxy values

Fixes division by 0

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoChangelog: add missing entries about new mcdeint and sab filters
Stefano Sabatini [Wed, 5 Jun 2013 17:35:37 +0000 (19:35 +0200)]
Changelog: add missing entries about new mcdeint and sab filters

11 years agojpeg2000: Make nreslevel fields int
Michael Niedermayer [Wed, 5 Jun 2013 16:11:57 +0000 (18:11 +0200)]
jpeg2000: Make nreslevel fields int

This prevents potential integer overflows

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agojpeg2000dec: Propagate error code from get_cox() correctly
Michael Niedermayer [Wed, 5 Jun 2013 15:23:34 +0000 (17:23 +0200)]
jpeg2000dec: Propagate error code from get_cox() correctly

Without this the context state could become inconsistent

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agojpeg2000: check that nreslevels2decode has been initialized before use
Michael Niedermayer [Wed, 5 Jun 2013 16:04:20 +0000 (18:04 +0200)]
jpeg2000: check that nreslevels2decode has been initialized before use

Fixes out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/img2dec: timestamps are 64bit
Michael Niedermayer [Sat, 25 May 2013 13:33:44 +0000 (15:33 +0200)]
avformat/img2dec: timestamps are 64bit

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavutil/mem: simplify av_reallocp_array() by using av_realloc_f()
Michael Niedermayer [Wed, 5 Jun 2013 12:40:31 +0000 (14:40 +0200)]
avutil/mem: simplify av_reallocp_array() by using av_realloc_f()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/network: remove unused variable
Michael Niedermayer [Wed, 5 Jun 2013 12:29:04 +0000 (14:29 +0200)]
avformat/network: remove unused variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 5 Jun 2013 10:25:10 +0000 (12:25 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  apetag: use int64_t for filesize

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '274e134e49b1c92db0f0b8cb2ae7554fb7b9184c'
Michael Niedermayer [Wed, 5 Jun 2013 10:20:26 +0000 (12:20 +0200)]
Merge commit '274e134e49b1c92db0f0b8cb2ae7554fb7b9184c'

* commit '274e134e49b1c92db0f0b8cb2ae7554fb7b9184c':
  avconv: check that the output format context exists before accessing it

Conflicts:
ffmpeg.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '8b7dffc2d6c6c19f8e0a1fedcd0e95dce7a273ff'
Michael Niedermayer [Wed, 5 Jun 2013 10:05:41 +0000 (12:05 +0200)]
Merge commit '8b7dffc2d6c6c19f8e0a1fedcd0e95dce7a273ff'

* commit '8b7dffc2d6c6c19f8e0a1fedcd0e95dce7a273ff':
  lavfi doxy: improve/extend AVFilter doxy.

Conflicts:
libavfilter/avfilter.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '9835abb6d63fb07613994ae90e72fef758149408'
Michael Niedermayer [Wed, 5 Jun 2013 09:56:56 +0000 (11:56 +0200)]
Merge commit '9835abb6d63fb07613994ae90e72fef758149408'

* commit '9835abb6d63fb07613994ae90e72fef758149408':
  network: uniform ff_listen_bind and ff_listen_connect

Conflicts:
libavformat/network.c
libavformat/tcp.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '7c020e1ad37d27c9d5db4d714401f09c80e3cc44'
Michael Niedermayer [Wed, 5 Jun 2013 09:33:19 +0000 (11:33 +0200)]
Merge commit '7c020e1ad37d27c9d5db4d714401f09c80e3cc44'

* commit '7c020e1ad37d27c9d5db4d714401f09c80e3cc44':
  movenc: Grow the frag_info array in chunks

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'ab1189766a82a95f108005463cde75f73fcc0ae5'
Michael Niedermayer [Wed, 5 Jun 2013 09:26:26 +0000 (11:26 +0200)]
Merge commit 'ab1189766a82a95f108005463cde75f73fcc0ae5'

* commit 'ab1189766a82a95f108005463cde75f73fcc0ae5':
  movenc: Increase the cluster array allocation by doubling

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '3b4feac1ec14f861bdd7f494f288f4d8dd7f449e'
Michael Niedermayer [Wed, 5 Jun 2013 09:19:16 +0000 (11:19 +0200)]
Merge commit '3b4feac1ec14f861bdd7f494f288f4d8dd7f449e'

* commit '3b4feac1ec14f861bdd7f494f288f4d8dd7f449e':
  movenc: Keep track of the allocated size for the cluster array
  mem: Add av_realloc_array and av_reallocp_array

Conflicts:
doc/APIchanges
libavformat/movenc.c
libavutil/mem.c
libavutil/mem.h
libavutil/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/encoders: add documentation for libtwolame
Timothy Gu [Sat, 1 Jun 2013 23:26:03 +0000 (16:26 -0700)]
doc/encoders: add documentation for libtwolame

11 years agoswr: dont treat 32 and 24 as equal in simple copy check
Michael Niedermayer [Wed, 5 Jun 2013 00:49:00 +0000 (02:49 +0200)]
swr: dont treat 32 and 24 as equal in simple copy check

Fixes dithering from 32 to 24 bit

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoswr: set scale for 32->32/24 dither
Michael Niedermayer [Wed, 5 Jun 2013 00:47:19 +0000 (02:47 +0200)]
swr: set scale for 32->32/24 dither

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi/mp: remove mp=sab
Stefano Sabatini [Tue, 4 Jun 2013 22:06:23 +0000 (00:06 +0200)]
lavfi/mp: remove mp=sab

The filter was ported to a native libavfilter filter.

11 years agolavfi: port sab filter from libmpcodecs
Stefano Sabatini [Mon, 3 Jun 2013 11:34:04 +0000 (13:34 +0200)]
lavfi: port sab filter from libmpcodecs

11 years agoswresample: set flags & description and add documentation for output_sample_bits
Paul B Mahol [Tue, 4 Jun 2013 11:56:14 +0000 (11:56 +0000)]
swresample: set flags & description and add documentation for output_sample_bits

Allows users to actually use such option.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoswr: Fix dithering of s16 with SIMD
Michael Niedermayer [Tue, 4 Jun 2013 21:38:28 +0000 (23:38 +0200)]
swr: Fix dithering of s16 with SIMD

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoswr: add native_simd_one
Michael Niedermayer [Tue, 4 Jun 2013 21:35:19 +0000 (23:35 +0200)]
swr: add native_simd_one

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/general: update after e4e4add0e3ba7
Paul B Mahol [Tue, 4 Jun 2013 21:43:59 +0000 (21:43 +0000)]
doc/general: update after e4e4add0e3ba7

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agopngdec: dont treat mpng like png with key and non keyframes
Michael Niedermayer [Tue, 4 Jun 2013 18:34:38 +0000 (20:34 +0200)]
pngdec: dont treat mpng like png with key and non keyframes

Fixes Ticket2618

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoUse av_log() instead of fprintf() in ffplay.
Carl Eugen Hoyos [Mon, 3 Jun 2013 21:38:40 +0000 (23:38 +0200)]
Use av_log() instead of fprintf() in ffplay.

Fixes ticket #2630.

Reviewed-by: Marton Balint
11 years agotak: simplify ff_tak_check_crc()
Paul B Mahol [Tue, 4 Jun 2013 17:25:32 +0000 (17:25 +0000)]
tak: simplify ff_tak_check_crc()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoapetag: use int64_t for filesize
Anton Khirnov [Wed, 29 May 2013 14:18:40 +0000 (16:18 +0200)]
apetag: use int64_t for filesize

CC: libav-stable@libav.org
11 years agoavconv: check that the output format context exists before accessing it
Anton Khirnov [Wed, 29 May 2013 13:38:21 +0000 (15:38 +0200)]
avconv: check that the output format context exists before accessing it

Fixes a segfault in exit_program() if opening an output file fails.

11 years agolavfi doxy: improve/extend AVFilter doxy.
Anton Khirnov [Sun, 12 May 2013 12:02:59 +0000 (14:02 +0200)]
lavfi doxy: improve/extend AVFilter doxy.

11 years agoswresample/rematrix: add S32 mixing code
Michael Niedermayer [Tue, 4 Jun 2013 12:54:58 +0000 (14:54 +0200)]
swresample/rematrix: add S32 mixing code

Needed for dithering S32

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agowresample/rematrix_template: fix internal types
Michael Niedermayer [Tue, 4 Jun 2013 12:53:58 +0000 (14:53 +0200)]
wresample/rematrix_template: fix internal types

Should make no difference, but future commits will need it

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agonetwork: uniform ff_listen_bind and ff_listen_connect
Luca Barbato [Sat, 1 Jun 2013 17:38:57 +0000 (19:38 +0200)]
network: uniform ff_listen_bind and ff_listen_connect

Document the functions and have both use a millisecond timeout and
check for interrupt.

11 years agomovenc: Grow the frag_info array in chunks
Andrey Semashev [Sun, 2 Jun 2013 20:26:18 +0000 (23:26 +0300)]
movenc: Grow the frag_info array in chunks

Previously it was grown one element at a time, which leads to
excessive reallocations.

Bug-Id: 525
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agomovenc: Increase the cluster array allocation by doubling
Andrey Semashev [Mon, 3 Jun 2013 10:32:48 +0000 (13:32 +0300)]
movenc: Increase the cluster array allocation by doubling

The previous allocation increment of 16384 meant that the cluster
array was allocated for 0.6 MB initially, which is a bit excessive
for cases with fragmentation where only a fraction of that ever
actually is used.

Therefore, start off at a much smaller value, and increase by
doubling (to avoid reallocating too often when writing long
non-fragmented mp4 files).

Bug-Id: 525
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agomovenc: Keep track of the allocated size for the cluster array
Andrey Semashev [Sun, 2 Jun 2013 19:57:31 +0000 (22:57 +0300)]
movenc: Keep track of the allocated size for the cluster array

When writing fragmented mp4, the cluster array is reset when a
fragment is written. Instead of starting off reallocating the
array only based on the number of current elements in it, keep
track of how many elements there were allocated earlier.

This avoids reallocating this array needlessly when writing
fragmented mp4 files.

Bug-Id: 525
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agomem: Add av_realloc_array and av_reallocp_array
Martin Storsjö [Mon, 3 Jun 2013 09:31:46 +0000 (12:31 +0300)]
mem: Add av_realloc_array and av_reallocp_array

These help avoiding overflows and simplify error handling.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoMerge remote-tracking branch 'lukaszmluki/master'
Michael Niedermayer [Tue, 4 Jun 2013 11:56:01 +0000 (13:56 +0200)]
Merge remote-tracking branch 'lukaszmluki/master'

* lukaszmluki/master:
  ftp: fix using uninitialized value

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffserver: fix null pointer dereference
Michael Niedermayer [Tue, 4 Jun 2013 11:19:27 +0000 (13:19 +0200)]
ffserver: fix null pointer dereference

Fixes CID732208
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoftp: fix using uninitialized value
Lukasz Marek [Tue, 4 Jun 2013 11:03:13 +0000 (13:03 +0200)]
ftp: fix using uninitialized value

Fix coverity issue CID 1026777

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
11 years agovc1dec: Disable dead code
Michael Niedermayer [Tue, 4 Jun 2013 00:27:21 +0000 (02:27 +0200)]
vc1dec: Disable dead code

Fixes CID732197/6

A assert is added to check that the disabled code wont
be needed in the future.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf/aacdec: add support for reading ape tags
Paul B Mahol [Mon, 3 Jun 2013 22:16:02 +0000 (22:16 +0000)]
lavf/aacdec: add support for reading ape tags

Closes #2634.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agotta: add support for reading ape tags
Paul B Mahol [Mon, 3 Jun 2013 22:52:50 +0000 (22:52 +0000)]
tta: add support for reading ape tags

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agotta: return meaningful error codrs
Paul B Mahol [Mon, 3 Jun 2013 22:26:16 +0000 (22:26 +0000)]
tta: return meaningful error codrs

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoflacdec: use init_get_bits8()
Paul B Mahol [Mon, 3 Jun 2013 19:21:17 +0000 (19:21 +0000)]
flacdec: use init_get_bits8()

Signed-off-by: Paul B Mahol <onemda@gmail.com>