ffmpeg.git
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 11 Nov 2012 11:17:57 +0000 (12:17 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  x86: h264_qpel_10bit: drop unused parameter from MC10/MC20/MC30 macros

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodoc: add libavfilter.texi
Stefano Sabatini [Sun, 4 Nov 2012 11:12:56 +0000 (12:12 +0100)]
doc: add libavfilter.texi

With some re-wording by Alexander Strasser <eclipse7@gmx.net>.

7 years agodoc: add libavutil.texi
Stefano Sabatini [Sun, 4 Nov 2012 11:42:47 +0000 (12:42 +0100)]
doc: add libavutil.texi

With some fixes and better wording by Alexander Strasser
<eclipse7@gmx.net>.

7 years agosmackaud: return meaningful error codes
Paul B Mahol [Sun, 11 Nov 2012 10:04:04 +0000 (10:04 +0000)]
smackaud: return meaningful error codes

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agotarga: return more meaningful error codes
Paul B Mahol [Sun, 11 Nov 2012 09:44:36 +0000 (09:44 +0000)]
targa: return more meaningful error codes

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agodiracdec: allocate enough space for blocks
Michael Niedermayer [Sun, 11 Nov 2012 02:35:10 +0000 (03:35 +0100)]
diracdec: allocate enough space for blocks

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodiracdec: fix edge emulation check, fixes out of array reads
Michael Niedermayer [Sun, 11 Nov 2012 02:34:09 +0000 (03:34 +0100)]
diracdec: fix edge emulation check, fixes out of array reads

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoh264: Support SMV2
Michael Niedermayer [Sun, 11 Nov 2012 01:48:06 +0000 (02:48 +0100)]
h264: Support SMV2

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoh264_refs: Print default in case we are missing a reference.
Michael Niedermayer [Sun, 11 Nov 2012 01:47:38 +0000 (02:47 +0100)]
h264_refs: Print default in case we are missing a reference.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomxfdec: avoid double free and leaks.
Michael Niedermayer [Sun, 11 Nov 2012 01:13:31 +0000 (02:13 +0100)]
mxfdec: avoid double free and leaks.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomatroskadec: check h in generic rm packet shuffler
Michael Niedermayer [Sun, 11 Nov 2012 00:00:04 +0000 (01:00 +0100)]
matroskadec: check h in generic rm packet shuffler

Fixes crash

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomjpegdec: check SE.
Michael Niedermayer [Sat, 10 Nov 2012 23:01:24 +0000 (00:01 +0100)]
mjpegdec: check SE.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavf/srtenc: ignore invalid timed packets instead of failing.
Clément Bœsch [Wed, 24 Oct 2012 22:27:10 +0000 (00:27 +0200)]
lavf/srtenc: ignore invalid timed packets instead of failing.

This way we don't abort in the middle of remuxing, just warn about an
event ignored. The index increment is moved to make sure the output
numbers still make sense.

7 years agoalac: fix bps check
Michael Niedermayer [Sat, 10 Nov 2012 20:54:30 +0000 (21:54 +0100)]
alac: fix bps check

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavfi/avcodec: check that injected avframes use a supported channel layout
Michael Niedermayer [Sat, 10 Nov 2012 20:44:20 +0000 (21:44 +0100)]
lavfi/avcodec: check that injected avframes use a supported channel layout

This fixes out of array accesses.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavfi/avcodec: check avfilter_copy_frame_props() return code
Michael Niedermayer [Sat, 10 Nov 2012 19:54:25 +0000 (20:54 +0100)]
lavfi/avcodec: check avfilter_copy_frame_props() return code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomips: Add dependencies on HAVE_INLINE_ASM
Nedeljko Babic [Fri, 9 Nov 2012 11:45:40 +0000 (12:45 +0100)]
mips: Add dependencies on HAVE_INLINE_ASM

Add dependencies on HAVE_INLINE_ASM for files and parts of code
 where it is necessary.

Signed-off-by: Nedeljko Babic <nbabic@mips.com>
Reviewed-by: Vitor Sessak <vitor1001@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolag_read_prob_header: fix out of array access
Michael Niedermayer [Sat, 10 Nov 2012 18:38:44 +0000 (19:38 +0100)]
lag_read_prob_header: fix out of array access

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoalac: Check channel indexes more completely, fix out of array accesses.
Michael Niedermayer [Sat, 10 Nov 2012 17:21:50 +0000 (18:21 +0100)]
alac: Check channel indexes more completely, fix out of array accesses.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoalac: fix integer overflow leading to subsequent out of array accesses.
Michael Niedermayer [Sat, 10 Nov 2012 16:41:56 +0000 (17:41 +0100)]
alac: fix integer overflow leading to subsequent out of array accesses.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoalac: fix nb_samples < order case
Michael Niedermayer [Sat, 10 Nov 2012 16:14:04 +0000 (17:14 +0100)]
alac: fix nb_samples < order case

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agox86: h264_qpel_10bit: drop unused parameter from MC10/MC20/MC30 macros
Diego Biurrun [Sat, 28 Jul 2012 02:02:09 +0000 (04:02 +0200)]
x86: h264_qpel_10bit: drop unused parameter from MC10/MC20/MC30 macros

7 years agomov: Make sure no streams after the header lack a timescale.
Michael Niedermayer [Sat, 10 Nov 2012 12:28:26 +0000 (13:28 +0100)]
mov: Make sure no streams after the header lack a timescale.

Fixes division by 0

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoriff: add SMV2 FourCC for H264
Piotr Bandurski [Sat, 10 Nov 2012 01:11:49 +0000 (02:11 +0100)]
riff: add SMV2 FourCC for H264

sample:

http://samples.mplayerhq.hu/V-codecs/smv2.avi

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 10 Nov 2012 11:44:27 +0000 (12:44 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  x86: PALIGNR: port to cpuflags
  x86: h264_qpel_10bit: port to cpuflags

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoAllow forcing a frame size in bytes for image2pipe.
Carl Eugen Hoyos [Sat, 10 Nov 2012 01:25:17 +0000 (02:25 +0100)]
Allow forcing a frame size in bytes for image2pipe.

This allows decoding of concatenated frames encoded in
uncompressed formats like v210.
The frame size cannot be generally calculated, FFmpeg
also supports broken encoders.

Fixes ticket #1869.

7 years agoAdd yuv4xxp12 and yuv4xxp14 pixel formats to y4m encoder and decoder.
Carl Eugen Hoyos [Sat, 10 Nov 2012 01:19:55 +0000 (02:19 +0100)]
Add yuv4xxp12 and yuv4xxp14 pixel formats to y4m encoder and decoder.

Reviewed-by: Paul B Mahol
7 years agopictordec: fill any unset portion of the image
Peter Ross [Fri, 9 Nov 2012 23:31:14 +0000 (10:31 +1100)]
pictordec: fill any unset portion of the image

Fixes ticket #1710

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoriff: add GXVE FourCC for WMV2
Piotr Bandurski [Fri, 9 Nov 2012 23:24:09 +0000 (00:24 +0100)]
riff: add GXVE FourCC for WMV2

sample:

http://samples.mplayerhq.hu/V-codecs/ViVD/vivd.avi

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoivi_common: check ref_tile size, fix out of array accesses
Michael Niedermayer [Sat, 10 Nov 2012 00:51:40 +0000 (01:51 +0100)]
ivi_common: check ref_tile size, fix out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoivi_common: more MV Checks, fixes out of array reads
Michael Niedermayer [Fri, 9 Nov 2012 22:38:51 +0000 (23:38 +0100)]
ivi_common: more MV Checks, fixes out of array reads

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoebml_read_binary: use fast_padded_malloc()
Michael Niedermayer [Fri, 9 Nov 2012 21:58:10 +0000 (22:58 +0100)]
ebml_read_binary: use fast_padded_malloc()

Fixes out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agox86: PALIGNR: port to cpuflags
Diego Biurrun [Sat, 7 Jul 2012 23:30:30 +0000 (01:30 +0200)]
x86: PALIGNR: port to cpuflags

7 years agotwinvq: make ibps check unsigned
Michael Niedermayer [Fri, 9 Nov 2012 20:22:12 +0000 (21:22 +0100)]
twinvq: make ibps check unsigned

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agox86: h264_qpel_10bit: port to cpuflags
Diego Biurrun [Mon, 30 Jul 2012 15:04:26 +0000 (17:04 +0200)]
x86: h264_qpel_10bit: port to cpuflags

7 years agoiff/ilbm: check remaining buffer size.
Michael Niedermayer [Fri, 9 Nov 2012 19:58:57 +0000 (20:58 +0100)]
iff/ilbm: check remaining buffer size.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agopcmdec: check that channels is valid.
Michael Niedermayer [Fri, 9 Nov 2012 19:47:54 +0000 (20:47 +0100)]
pcmdec: check that channels is valid.

Prevents a division by 0

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoaacdec: fix temporary array size
Michael Niedermayer [Fri, 9 Nov 2012 19:33:01 +0000 (20:33 +0100)]
aacdec: fix temporary array size

Avoids out of array accesses.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agopngdec: check that format matches too not just dimensions
Michael Niedermayer [Fri, 9 Nov 2012 18:58:37 +0000 (19:58 +0100)]
pngdec: check that format matches too not just dimensions

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agotiffdec: check rps, fix infinite loop.
Michael Niedermayer [Fri, 9 Nov 2012 18:28:23 +0000 (19:28 +0100)]
tiffdec: check rps, fix infinite loop.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agotwinvq: check bitrate for validity avoid division by 0
Michael Niedermayer [Fri, 9 Nov 2012 17:45:41 +0000 (18:45 +0100)]
twinvq: check bitrate for validity avoid division by 0

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovqf: check samplerate, avoid division by 0.
Michael Niedermayer [Fri, 9 Nov 2012 17:04:54 +0000 (18:04 +0100)]
vqf: check samplerate, avoid division by 0.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoiff: avoid out of array reads, due to too many planes.
Michael Niedermayer [Fri, 9 Nov 2012 16:47:51 +0000 (17:47 +0100)]
iff: avoid out of array reads, due to too many planes.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoxmv: Fix integer overflow
Michael Niedermayer [Fri, 9 Nov 2012 16:17:37 +0000 (17:17 +0100)]
xmv: Fix integer overflow

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovp56dec: Fix handling of alpha configuration changes.
Michael Niedermayer [Fri, 9 Nov 2012 15:58:53 +0000 (16:58 +0100)]
vp56dec: Fix handling of alpha configuration changes.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavf: Dont compare absolute to relative timestamps in duration gcd
Michael Niedermayer [Fri, 9 Nov 2012 13:54:43 +0000 (14:54 +0100)]
lavf: Dont compare absolute to relative timestamps in duration gcd

This prevents a division by 0

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoivi_common: dont dereference null pointers.
Michael Niedermayer [Fri, 9 Nov 2012 13:17:17 +0000 (14:17 +0100)]
ivi_common: dont dereference null pointers.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoatrac3dec: Check coding mode against channels.
Michael Niedermayer [Fri, 9 Nov 2012 12:26:20 +0000 (13:26 +0100)]
atrac3dec: Check coding mode against channels.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoqdm2: check that coding_method is valid before using it.
Michael Niedermayer [Fri, 9 Nov 2012 12:13:50 +0000 (13:13 +0100)]
qdm2: check that coding_method is valid before using it.

Fixes out of array reads.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agomjpegbdec: dont return a picture when there is no picture.
Michael Niedermayer [Fri, 9 Nov 2012 11:43:51 +0000 (12:43 +0100)]
mjpegbdec: dont return a picture when there is no picture.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agotiffdec: check count in metadata reading.
Michael Niedermayer [Fri, 9 Nov 2012 11:13:30 +0000 (12:13 +0100)]
tiffdec: check count in metadata reading.

Fixes out of array access

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agotiffdec: use checked reads for tget*()
Michael Niedermayer [Fri, 9 Nov 2012 11:03:57 +0000 (12:03 +0100)]
tiffdec: use checked reads for tget*()

Fixes out of array reads

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 9 Nov 2012 09:29:51 +0000 (10:29 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  flacenc: ensure the order is within the min/max range in LPC order search
  avconv: rescale packet duration to muxer time base when flushing encoders
  add 24-bit FLAC encoding to Changelog
  rtpenc_aac: Fix calculation of the header size
  x86: h264_intrapred: port to cpuflags

Conflicts:
Changelog
libavformat/rtpenc_aac.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoPRINT_CODEC_SUPPORTED: fix used variable
Michael Niedermayer [Sun, 21 Oct 2012 23:04:14 +0000 (01:04 +0200)]
PRINT_CODEC_SUPPORTED: fix used variable

Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodoc/faq: explain libfoo-dev packages.
Nicolas George [Wed, 7 Nov 2012 22:55:17 +0000 (23:55 +0100)]
doc/faq: explain libfoo-dev packages.

7 years agoflacenc: ensure the order is within the min/max range in LPC order search
Justin Ruggles [Wed, 7 Nov 2012 19:48:28 +0000 (14:48 -0500)]
flacenc: ensure the order is within the min/max range in LPC order search

This fixes use of uninitialized values when the FLAC encoder uses the
2-level, 4-level, and 8-level search methods. Fixes failure of the
fate-flac-24-comp-8 test when run using valgrind.

7 years agoavconv: rescale packet duration to muxer time base when flushing encoders
Justin Ruggles [Tue, 6 Nov 2012 19:24:31 +0000 (14:24 -0500)]
avconv: rescale packet duration to muxer time base when flushing encoders

Fixes Bug 385

7 years agoadd 24-bit FLAC encoding to Changelog
Justin Ruggles [Mon, 5 Nov 2012 20:36:19 +0000 (15:36 -0500)]
add 24-bit FLAC encoding to Changelog

Also move a misplaced line from the 9_beta2 section to <next>

7 years agortpenc_aac: Fix calculation of the header size
Luca Abeni [Thu, 8 Nov 2012 00:38:50 +0000 (01:38 +0100)]
rtpenc_aac: Fix calculation of the header size

Previously the high end byte was always set to zero. Also get
rid of an unnecessary multiplication (which in practice couldn't
overflow) before shifting.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoframe_thread_encoder: silence integer to pointer without cast warning
Michael Niedermayer [Thu, 8 Nov 2012 17:25:24 +0000 (18:25 +0100)]
frame_thread_encoder: silence integer to pointer without cast warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agox86: h264_intrapred: port to cpuflags
Diego Biurrun [Mon, 9 Jul 2012 22:04:18 +0000 (00:04 +0200)]
x86: h264_intrapred: port to cpuflags

7 years agosctp: silence const warning
Michael Niedermayer [Thu, 8 Nov 2012 15:06:04 +0000 (16:06 +0100)]
sctp: silence const warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmdec: remove unused variable
Michael Niedermayer [Thu, 8 Nov 2012 14:54:14 +0000 (15:54 +0100)]
ffmdec: remove unused variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibopencore-amr: fix av_log() argument
Michael Niedermayer [Thu, 8 Nov 2012 14:46:51 +0000 (15:46 +0100)]
libopencore-amr: fix av_log() argument

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 8 Nov 2012 07:07:05 +0000 (08:07 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  libvpxenc: Allow enabling constrained quality (CQ) mode

Conflicts:
configure
libavcodec/libvpxenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agortpenc_aac: Fix 10l bug
Luca Abeni [Thu, 8 Nov 2012 00:38:50 +0000 (01:38 +0100)]
rtpenc_aac: Fix 10l bug

Fixes CID602564
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agodoc/faq: replace @file by @command for "ffmpeg".
Nicolas George [Wed, 7 Nov 2012 22:45:12 +0000 (23:45 +0100)]
doc/faq: replace @file by @command for "ffmpeg".

7 years agodoc/libavcodec: hint to where to find the Git history
Alexander Strasser [Mon, 5 Nov 2012 22:51:06 +0000 (23:51 +0100)]
doc/libavcodec: hint to where to find the Git history

Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
7 years agodoc/Makefile: change DOCLIBS check
Stefano Sabatini [Wed, 7 Nov 2012 22:11:02 +0000 (23:11 +0100)]
doc/Makefile: change DOCLIBS check

More consistent with the rest of the build system, and more compact.

7 years agolavu: remove disabled FF_API_OLD_EVAL_NAMES code
Stefano Sabatini [Sun, 4 Nov 2012 11:01:22 +0000 (12:01 +0100)]
lavu: remove disabled FF_API_OLD_EVAL_NAMES code

7 years agolavu/opt: show valid range in case of out-of-range value
Stefano Sabatini [Sun, 4 Nov 2012 14:38:35 +0000 (15:38 +0100)]
lavu/opt: show valid range in case of out-of-range value

Improve feedback.

7 years agolibvpxenc: Allow enabling constrained quality (CQ) mode
James Zern [Tue, 12 Apr 2011 00:00:35 +0000 (17:00 -0700)]
libvpxenc: Allow enabling constrained quality (CQ) mode

The CQ mode was introduced in libvpx 0.9.6.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agoFix the packet duration when flushing the encoder.
Thierry Foucu [Wed, 7 Nov 2012 19:33:41 +0000 (11:33 -0800)]
Fix the packet duration when flushing the encoder.

A similar patch was posted by Justin Ruggles <justin.ruggles@gmail.com>

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agofate-rsync: replace -a by -rlt
Michael Niedermayer [Tue, 6 Nov 2012 13:45:51 +0000 (14:45 +0100)]
fate-rsync: replace -a by -rlt

This remove the owner, group and permission preservation on fatesample checkouts
These caused problems for durandal_1707

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agogsm_parser: fix infinite loop
Michael Niedermayer [Wed, 7 Nov 2012 16:51:59 +0000 (17:51 +0100)]
gsm_parser: fix infinite loop

Fixes Ticket1894
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoadpcm: improve smjpeg decoding
Paul B Mahol [Wed, 7 Nov 2012 03:22:27 +0000 (03:22 +0000)]
adpcm: improve smjpeg decoding

Previous version had significant artifacts.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agowtvenc: produce seekable files
Peter Ross [Wed, 7 Nov 2012 05:52:33 +0000 (16:52 +1100)]
wtvenc: produce seekable files

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agowtvenc: simplify write_timestamp
Peter Ross [Wed, 7 Nov 2012 05:52:21 +0000 (16:52 +1100)]
wtvenc: simplify write_timestamp

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agowtvenc: output third video pts in timestamp chunk (this is what Microsoft Windows...
Peter Ross [Wed, 7 Nov 2012 05:52:12 +0000 (16:52 +1100)]
wtvenc: output third video pts in timestamp chunk (this is what Microsoft Windows Media Center expects)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agowtvenc: indent fixup
Peter Ross [Wed, 7 Nov 2012 05:52:01 +0000 (16:52 +1100)]
wtvenc: indent fixup

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agowtvenc: do not emit stream2 and DSATTRIB_TRANSPORT_PROPERTY chunks; these are not...
Peter Ross [Wed, 7 Nov 2012 05:51:51 +0000 (16:51 +1100)]
wtvenc: do not emit stream2 and DSATTRIB_TRANSPORT_PROPERTY chunks; these are not required for playback

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffv1dec: propagate return code from ffv1_common_init()
Michael Niedermayer [Wed, 7 Nov 2012 12:27:01 +0000 (13:27 +0100)]
ffv1dec: propagate return code from ffv1_common_init()

Fixes Ticket1824
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffv1dec: more completely check slice count
Michael Niedermayer [Wed, 7 Nov 2012 12:26:37 +0000 (13:26 +0100)]
ffv1dec: more completely check slice count

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 7 Nov 2012 09:23:58 +0000 (10:23 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  libopencore-amr: Check the return value of amr_decode_fix_avctx

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agosmjpegenc: use bits_per_coded_sample instead of calling function
Paul B Mahol [Wed, 7 Nov 2012 01:29:07 +0000 (01:29 +0000)]
smjpegenc: use bits_per_coded_sample instead of calling function

Final result is same and this allows support of multiple values per codec.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agokgv1dec: fix end condition
Michael Niedermayer [Wed, 7 Nov 2012 00:42:11 +0000 (01:42 +0100)]
kgv1dec: fix end condition

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibopencore-amr: Check the return value of amr_decode_fix_avctx
Martin Storsjö [Tue, 6 Nov 2012 10:18:57 +0000 (12:18 +0200)]
libopencore-amr: Check the return value of amr_decode_fix_avctx

This allows getting rid of redundant checks later in the codec
specific init functions.

Move the check to before actually initializing the decoder lib,
to simplify error handling.

This fixes a case of returning a value from a void function, present since
d40dab907.

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agolavfi/movie: return proper error code in case of av_get_token() allocation failure
Stefano Sabatini [Tue, 6 Nov 2012 22:28:43 +0000 (23:28 +0100)]
lavfi/movie: return proper error code in case of av_get_token() allocation failure

Also slightly clarify logic, and should fix coverity issue CID 717771.

7 years agoffprobe: fix potential NULL pointer dereference
Stefano Sabatini [Tue, 6 Nov 2012 21:59:24 +0000 (22:59 +0100)]
ffprobe: fix potential NULL pointer dereference

Found by Coverity, should fix CID 733741.

7 years agolavfi/showwaves: return error in case of allocation failure in filter_samples()
Stefano Sabatini [Tue, 6 Nov 2012 21:48:54 +0000 (22:48 +0100)]
lavfi/showwaves: return error in case of allocation failure in filter_samples()

7 years agolavfi/showwaves: simplify check in filter_samples()
Stefano Sabatini [Tue, 6 Nov 2012 21:43:51 +0000 (22:43 +0100)]
lavfi/showwaves: simplify check in filter_samples()

Also fix Coverity issue CID 733743: Dereference after null check

7 years agosbgdec: dont set slide to a uninitialized value
Nicolas George [Tue, 6 Nov 2012 20:14:45 +0000 (21:14 +0100)]
sbgdec: dont set slide to a uninitialized value

Fixed CID703833
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovf_drawbox: dont move uninitialized and then unused colors around
Michael Niedermayer [Tue, 6 Nov 2012 20:40:23 +0000 (21:40 +0100)]
vf_drawbox: dont move uninitialized and then unused colors around

Fixes CID741419
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoutils: fix integer overflow with DURATION_MAX_READ_SIZE
Michael Niedermayer [Tue, 6 Nov 2012 17:44:14 +0000 (18:44 +0100)]
utils: fix integer overflow with DURATION_MAX_READ_SIZE

Fixes CID703746
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agofate: add PMP demuxer test
Paul B Mahol [Mon, 5 Nov 2012 12:26:39 +0000 (12:26 +0000)]
fate: add PMP demuxer test

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agowavpack: check if number of samples is not too big
Paul B Mahol [Tue, 6 Nov 2012 13:03:48 +0000 (13:03 +0000)]
wavpack: check if number of samples is not too big

Wavpack format documentation mentions that 131072 is
max number of samples.

This fixes huge memory allocations in sample from ticket #1889.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years agowtv: move duplicated guids into wtv.c
Peter Ross [Tue, 6 Nov 2012 03:01:42 +0000 (14:01 +1100)]
wtv: move duplicated guids into wtv.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agowtv: rename ff_stream_guid to ff_SBE2_STREAM_DESC_EVENT
Peter Ross [Tue, 6 Nov 2012 03:01:35 +0000 (14:01 +1100)]
wtv: rename ff_stream_guid to ff_SBE2_STREAM_DESC_EVENT

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agowtvenc: fix typo
Peter Ross [Tue, 6 Nov 2012 03:01:27 +0000 (14:01 +1100)]
wtvenc: fix typo

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 6 Nov 2012 14:11:53 +0000 (15:11 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  fate: atrac: Place atrac1 and atrac3 tests in different groups
  fate: aac: cosmetics: Group AAC LATM tests together
  x86: avresample: Add missing colons to assembly labels

Conflicts:
tests/fate/aac.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>