]> git.sesse.net Git - ffmpeg/log
ffmpeg
12 years agoh264: do not let invalid values in h->ref_count after a decoder reset.
Laurent Aimar [Tue, 4 Oct 2011 20:13:58 +0000 (22:13 +0200)]
h264: do not let invalid values in h->ref_count after a decoder reset.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264: bit depth/chroma idc changes must go through a full format negociation.
Laurent Aimar [Tue, 4 Oct 2011 20:13:57 +0000 (22:13 +0200)]
h264: bit depth/chroma idc changes must go through a full format negociation.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh254: explicitly initialize bit depth/chroma idc
Laurent Aimar [Tue, 4 Oct 2011 20:13:56 +0000 (22:13 +0200)]
h254: explicitly initialize bit depth/chroma idc

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibx264: Fix loop failure due to bufsize becoming 0
Michael Niedermayer [Tue, 4 Oct 2011 21:21:52 +0000 (23:21 +0200)]
libx264: Fix loop failure due to bufsize becoming 0

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoAdd libmodplug support.
Clément Bœsch [Tue, 4 Oct 2011 18:47:16 +0000 (20:47 +0200)]
Add libmodplug support.

12 years agodeshake: simplify filename check.
Clément Bœsch [Tue, 4 Oct 2011 19:36:30 +0000 (21:36 +0200)]
deshake: simplify filename check.

12 years agoconfigure: remove bashism equality check for target_os.
Clément Bœsch [Tue, 4 Oct 2011 19:34:55 +0000 (21:34 +0200)]
configure: remove bashism equality check for target_os.

12 years agodeshake: misc style fixes.
Clément Bœsch [Tue, 4 Oct 2011 19:33:54 +0000 (21:33 +0200)]
deshake: misc style fixes.

12 years agodeshake: move angles from stack to heap.
Michael Niedermayer [Tue, 4 Oct 2011 16:32:36 +0000 (18:32 +0200)]
deshake: move angles from stack to heap.
Fixes Ticket530

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodeshake: Allow specifying the filename for statistics and disable them by default.
Michael Niedermayer [Tue, 4 Oct 2011 15:20:42 +0000 (17:20 +0200)]
deshake: Allow specifying the filename for statistics and disable them by default.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodeshake: remove non const static
Michael Niedermayer [Tue, 4 Oct 2011 06:25:23 +0000 (08:25 +0200)]
deshake: remove non const static

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodoxygen: remove a few @file parameters.
Clément Bœsch [Tue, 4 Oct 2011 06:04:17 +0000 (08:04 +0200)]
doxygen: remove a few @file parameters.

It is not mandatory and prevents breakage on rename.

12 years agolavfi: remove align tabs in Makefile.
Clément Bœsch [Tue, 4 Oct 2011 05:56:56 +0000 (07:56 +0200)]
lavfi: remove align tabs in Makefile.

12 years agoass_split: fix invalid doxygen group end markers.
Clément Bœsch [Tue, 4 Oct 2011 05:47:24 +0000 (07:47 +0200)]
ass_split: fix invalid doxygen group end markers.

12 years agoproresdec_gpl: remove wrong @file reference.
Clément Bœsch [Tue, 4 Oct 2011 05:41:28 +0000 (07:41 +0200)]
proresdec_gpl: remove wrong @file reference.

12 years agobintext: remove wrong @file reference.
Clément Bœsch [Tue, 4 Oct 2011 05:41:04 +0000 (07:41 +0200)]
bintext: remove wrong @file reference.

12 years agodeshake: fix doxygen comments.
Clément Bœsch [Tue, 4 Oct 2011 05:39:57 +0000 (07:39 +0200)]
deshake: fix doxygen comments.

12 years agoisom: replace pseudo doxycomments with normal comments.
Clément Bœsch [Tue, 4 Oct 2011 05:26:50 +0000 (07:26 +0200)]
isom: replace pseudo doxycomments with normal comments.

Those chunks don't need to be parsed and they weren't parsed correctly
by Doxygen anyway.

12 years agopngdec: set reference correctly for corepng.
Michael Niedermayer [Tue, 4 Oct 2011 04:39:29 +0000 (06:39 +0200)]
pngdec: set reference correctly for corepng.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoff_dv_frame_profile2: Check input buffer size.
Michael Niedermayer [Tue, 4 Oct 2011 02:21:19 +0000 (04:21 +0200)]
ff_dv_frame_profile2: Check input buffer size.

Based on code by DivX, Inc. / drffmpeg

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agocinepak: detect keyframes
Michael Niedermayer [Tue, 4 Oct 2011 02:13:32 +0000 (04:13 +0200)]
cinepak: detect keyframes

Code by DivX, Inc.
Taken from drffmpeg
Author: unknown

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 4 Oct 2011 01:21:14 +0000 (03:21 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  id3v2: remove pointless casts
  id3v2: read TXXX frames with two calls to decode_str() instead of one.
  id3v2: don't discard the whole tag when encountering empty frames.
  libvpx: fix build with older libvpx versions.
  ARM: check for inline asm 'y' operand modifier support

Conflicts:
libavcodec/libvpxenc.c
libavformat/id3v2.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibvpxenc: support vpxencs command line options.
Luca Barbato [Tue, 4 Oct 2011 01:01:06 +0000 (03:01 +0200)]
libvpxenc: support vpxencs command line options.
This simplifies useage for users who are used to vpxenc.
We continue to support the previous options with the exception of the flags
for which it would be slightly messy.

12 years agodeshake: nicer looking defaults
Michael Niedermayer [Tue, 4 Oct 2011 00:15:18 +0000 (02:15 +0200)]
deshake: nicer looking defaults

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibavfilter: add deshake filter
danielgtaylor [Mon, 3 Oct 2011 23:31:18 +0000 (01:31 +0200)]
libavfilter: add deshake filter

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibavfilter: image transform code
danielgtaylor [Tue, 4 Oct 2011 00:10:18 +0000 (02:10 +0200)]
libavfilter: image transform code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoH264: hotfix for speedloss on frame threading and h264 files with slices.
Michael Niedermayer [Mon, 3 Oct 2011 22:14:48 +0000 (00:14 +0200)]
H264: hotfix for speedloss on frame threading and h264 files with slices.

This fix is not ideal as it still limits the multithreading on field pictures
to the 2nd field only.
Ill try to fix it properly to allow both fields to decode concurrently but this
needs more work.

This bug exists since and was caused by:
commit ea6331f8bbaf3343faec6ffe77a6218a016a3af5
Author: Ronald S. Bultje <rsbultje@gmail.com>
Date:   Mon Jun 20 10:24:33 2011 -0400

    h264-mt: fix deadlock in packets with multiple slices (e.g. MP4).

12 years agothreads: warn in case of multiple finished setup calls.
Michael Niedermayer [Mon, 3 Oct 2011 19:25:58 +0000 (21:25 +0200)]
threads: warn in case of multiple finished setup calls.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264_parser: print AU size on error.
Michael Niedermayer [Mon, 3 Oct 2011 18:40:17 +0000 (20:40 +0200)]
h264_parser: print AU size on error.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264_parser: AVC support.
Michael Niedermayer [Mon, 3 Oct 2011 18:25:43 +0000 (20:25 +0200)]
h264_parser: AVC support.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agofate: fix due to new yuv444 formats
Michael Niedermayer [Mon, 3 Oct 2011 21:30:02 +0000 (23:30 +0200)]
fate: fix due to new yuv444 formats

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoRELEASE: 0.8.5 has been released
Dominique Leuenberger [Mon, 3 Oct 2011 07:09:57 +0000 (09:09 +0200)]
RELEASE: 0.8.5 has been released

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoEnable conversions to YUV444P9/YUV444P10, they seem to work fine.
Reimar Döffinger [Mon, 3 Oct 2011 19:30:58 +0000 (21:30 +0200)]
Enable conversions to YUV444P9/YUV444P10, they seem to work fine.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agolavf/utils: fix overestimation of the rational number density.
Michael Niedermayer [Mon, 3 Oct 2011 14:32:17 +0000 (16:32 +0200)]
lavf/utils: fix overestimation of the rational number density.
Fixes Ticket498

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompegtsenc: Lift limit on PMT PID
Loren Osborn [Mon, 3 Oct 2011 14:03:29 +0000 (16:03 +0200)]
mpegtsenc: Lift limit on PMT PID
Fixes Ticket518

12 years agolibcdio: Fix missing avclass in context
chinshou [Mon, 3 Oct 2011 13:40:40 +0000 (15:40 +0200)]
libcdio: Fix missing avclass in context
Fixes Ticket526

12 years agoid3v2: remove pointless casts
Anton Khirnov [Sun, 2 Oct 2011 07:14:30 +0000 (09:14 +0200)]
id3v2: remove pointless casts

12 years agoid3v2: read TXXX frames with two calls to decode_str() instead of one.
Anton Khirnov [Sun, 2 Oct 2011 07:06:34 +0000 (09:06 +0200)]
id3v2: read TXXX frames with two calls to decode_str() instead of one.

Read the key in the first, value in the second.

This allows to avoid pointless strdups and simplify decode_str() by
dropping two of its parameters.

12 years agoid3v2: don't discard the whole tag when encountering empty frames.
Anton Khirnov [Sun, 2 Oct 2011 05:16:09 +0000 (07:16 +0200)]
id3v2: don't discard the whole tag when encountering empty frames.

While they're technically invalid, it's better to skip them and try to
read the rest of the tag.

12 years agolibvpx: fix build with older libvpx versions.
Anton Khirnov [Sun, 2 Oct 2011 14:10:53 +0000 (16:10 +0200)]
libvpx: fix build with older libvpx versions.

VPX_ERROR_RESILIENT_DEFAULT and VPX_ERROR_RESILIENT_PARTITIONS weren't
defined before 4cb0ebe5b27d35ccc2a78c1d16f2622ddef21f74 (CommitDate: Tue
Jun 28 11:10:17 2011)

12 years agoARM: check for inline asm 'y' operand modifier support
Mans Rullgard [Sun, 2 Oct 2011 22:38:32 +0000 (23:38 +0100)]
ARM: check for inline asm 'y' operand modifier support

The inline asm added in bf5d46d uses the 'y' modifier which
is only supported from gcc 4.5.  This check allows building
with older compilers.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoVP8: armv6 optimizations.
Ronald S. Bultje [Wed, 24 Aug 2011 20:58:37 +0000 (13:58 -0700)]
VP8: armv6 optimizations.

From 52.503s (~40fps) to 27.973sec (~80fps) decoding of 480p sintel
trailer, i.e. a ~2x speedup overall, on a Nexus S.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavutil: bump for av_get_default_channel_layout()
Michael Niedermayer [Sun, 2 Oct 2011 23:17:42 +0000 (01:17 +0200)]
avutil: bump for av_get_default_channel_layout()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 2 Oct 2011 23:02:45 +0000 (01:02 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  mpc8: check output buffer size before decoding
  mpc7: return error if packet is too small.
  mpc7: check output buffer size before decoding
  nellymoserdec: allocate float_buf only when decoding to int16
  nellymoserdec: use NELLY_BUF_LEN instead of 128
  nellymoserdec: use NELLY_BLOCK_LEN instead of 64 when appropriate.
  nellymoserdec: allow user to request SAMPLE_FMT_FLT for output samples.
  nellymoser: check output buffer size before decoding
  win32: improve threading algorithm warning

Conflicts:
libavcodec/nellymoserdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMAINTAINERS: new ffplay maintainer
Michael Niedermayer [Sun, 2 Oct 2011 22:38:50 +0000 (00:38 +0200)]
MAINTAINERS: new ffplay maintainer

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Sun, 2 Oct 2011 21:53:21 +0000 (23:53 +0200)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: use libswresample instead of av_audio_convert
  audioconvert: add av_get_default_channel_layout public function
  ffplay: use avctx->channels and avctx->freq before avcodec_open2 consistently
  ffplay: remove now unnecessary request_channels, we set it now with options
  ffplay: set request_channels to 2

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoriff: map 0x0038 to amrnb, works on http://video.mopoto.com/4/40/407/40709.avi
Compn [Sun, 2 Oct 2011 21:39:03 +0000 (17:39 -0400)]
riff: map 0x0038 to amrnb, works on http://video.mopoto.com/4/40/407/40709.avi

12 years agoffplay: use libswresample instead of av_audio_convert
Marton Balint [Tue, 16 Aug 2011 23:28:23 +0000 (01:28 +0200)]
ffplay: use libswresample instead of av_audio_convert

Previously ffplay expected SDL_AudioOpen to provide the requested sample rate
and channel number. This is no longer a requirement because this patch replaces
the audio convert function with libswresample's swr_convert which is capable of
handling different sample formats, sample rates and different number of
channels and different channel layouts.

The patch also removes the hardcoded 16bit samples assumption and uses
av_get_bytes_per_sample almost everywhere. The only exceptions are
the update_sample_display and video_audio_display functions, it
seemed too much of a headache to make them generic.

We also fix a tiny bug in sdl_audio_callback, we ensure that the number of
bytes when we put silence in the buffer is a multiple of the frame size.

12 years agoaudioconvert: add av_get_default_channel_layout public function
Marton Balint [Sun, 2 Oct 2011 14:28:36 +0000 (16:28 +0200)]
audioconvert: add av_get_default_channel_layout public function

12 years agoffplay: use avctx->channels and avctx->freq before avcodec_open2 consistently
Marton Balint [Sun, 2 Oct 2011 09:00:40 +0000 (11:00 +0200)]
ffplay: use avctx->channels and avctx->freq before avcodec_open2 consistently

12 years agoffplay: remove now unnecessary request_channels, we set it now with options
Marton Balint [Sun, 2 Oct 2011 10:05:20 +0000 (12:05 +0200)]
ffplay: remove now unnecessary request_channels, we set it now with options

12 years agoffplay: set request_channels to 2
Michael Niedermayer [Sat, 1 Oct 2011 23:25:14 +0000 (01:25 +0200)]
ffplay: set request_channels to 2

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264: fix intra 16x16 mode check when using mbaff and constrained_intra_pred.
Laurent Aimar [Sun, 2 Oct 2011 19:07:41 +0000 (21:07 +0200)]
h264: fix intra 16x16 mode check when using mbaff and constrained_intra_pred.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibvpxenc: cosmetics to make code more similar to lucas.
Michael Niedermayer [Sun, 2 Oct 2011 18:38:38 +0000 (20:38 +0200)]
libvpxenc: cosmetics to make code more similar to lucas.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264: check for invalid bit depth value.
Laurent Aimar [Sun, 2 Oct 2011 16:29:31 +0000 (18:29 +0200)]
h264: check for invalid bit depth value.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264: add entries for 11 and 12 bits in ff_h264_chroma_qp[][]
Laurent Aimar [Sun, 2 Oct 2011 16:29:30 +0000 (18:29 +0200)]
h264: add entries for 11 and 12 bits in ff_h264_chroma_qp[][]

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264: fix the check for invalid SPS:num_ref_frames.
Laurent Aimar [Sun, 2 Oct 2011 14:06:38 +0000 (16:06 +0200)]
h264: fix the check for invalid SPS:num_ref_frames.

This patch set the limit to 16.

For information, thoses previous commits:
41f7e2d11d2dca23842ee89d530ca9fa15cec9d8
5cbb0e70a0a2ee99eb3cb09e837b9a1f7355b9bc
assumed it was either 30 or 32.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264: do not let invalid values in h->ref_count on ff_h264_decode_ref_pic_list_reorde...
Laurent Aimar [Sun, 2 Oct 2011 14:06:37 +0000 (16:06 +0200)]
h264: do not let invalid values in h->ref_count on ff_h264_decode_ref_pic_list_reordering() errors.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoReject video with non multiple of 16 width/height in the 4xm decoder.
Laurent Aimar [Sat, 1 Oct 2011 00:04:45 +0000 (02:04 +0200)]
Reject video with non multiple of 16 width/height in the 4xm decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompc8: check output buffer size before decoding
Justin Ruggles [Wed, 14 Sep 2011 15:39:21 +0000 (11:39 -0400)]
mpc8: check output buffer size before decoding

12 years agompc7: return error if packet is too small.
Justin Ruggles [Wed, 14 Sep 2011 15:16:42 +0000 (11:16 -0400)]
mpc7: return error if packet is too small.

12 years agompc7: check output buffer size before decoding
Justin Ruggles [Tue, 13 Sep 2011 22:53:18 +0000 (18:53 -0400)]
mpc7: check output buffer size before decoding

12 years agonellymoserdec: allocate float_buf only when decoding to int16
Justin Ruggles [Wed, 14 Sep 2011 16:37:01 +0000 (12:37 -0400)]
nellymoserdec: allocate float_buf only when decoding to int16

12 years agonellymoserdec: use NELLY_BUF_LEN instead of 128
Justin Ruggles [Wed, 14 Sep 2011 16:28:41 +0000 (12:28 -0400)]
nellymoserdec: use NELLY_BUF_LEN instead of 128

12 years agonellymoserdec: use NELLY_BLOCK_LEN instead of 64 when appropriate.
Justin Ruggles [Wed, 14 Sep 2011 16:27:12 +0000 (12:27 -0400)]
nellymoserdec: use NELLY_BLOCK_LEN instead of 64 when appropriate.

12 years agonellymoserdec: allow user to request SAMPLE_FMT_FLT for output samples.
Justin Ruggles [Wed, 14 Sep 2011 16:25:00 +0000 (12:25 -0400)]
nellymoserdec: allow user to request SAMPLE_FMT_FLT for output samples.

12 years agonellymoser: check output buffer size before decoding
Justin Ruggles [Wed, 14 Sep 2011 16:16:05 +0000 (12:16 -0400)]
nellymoser: check output buffer size before decoding

12 years agovf_lut.c: fix wrong syntax in example
Stefano Sabatini [Sun, 2 Oct 2011 13:21:12 +0000 (15:21 +0200)]
vf_lut.c: fix wrong syntax in example

12 years agolavfi: remove usage of deprecated av_opt_set_defaults2() function
Stefano Sabatini [Sun, 2 Oct 2011 13:16:36 +0000 (15:16 +0200)]
lavfi: remove usage of deprecated av_opt_set_defaults2() function

Prefer av_opt_set_defaults() instead.

12 years agowin32: improve threading algorithm warning
Luca Barbato [Sun, 25 Sep 2011 22:51:14 +0000 (00:51 +0200)]
win32: improve threading algorithm warning

If no threading is requested do not issue warning about unsupported
threading algorithm.

12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 2 Oct 2011 02:41:22 +0000 (04:41 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavc: add video/audio/encoding flags to global_quality option
  libvpxenc: use libvpx's own defaults for some parameters
  vpxenc: add private options

Conflicts:
libavcodec/libvpxenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago4xm decoder: fix data size for i2 frames.
Michael Niedermayer [Sun, 2 Oct 2011 01:40:26 +0000 (03:40 +0200)]
4xm decoder: fix data size for i2 frames.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago4xm decoder: print some error messages in case of errors.
Michael Niedermayer [Sun, 2 Oct 2011 01:39:59 +0000 (03:39 +0200)]
4xm decoder: print some error messages in case of errors.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoCheck for out of bound accesses in the 4xm decoder.
Laurent Aimar [Sat, 1 Oct 2011 22:38:27 +0000 (00:38 +0200)]
Check for out of bound accesses in the 4xm decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoPrevent block size from inreasing in the shorten decoder.
Laurent Aimar [Fri, 30 Sep 2011 22:43:05 +0000 (00:43 +0200)]
Prevent block size from inreasing in the shorten decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoCheck for out of bound reads in PTX decoder.
Laurent Aimar [Sat, 1 Oct 2011 22:38:32 +0000 (00:38 +0200)]
Check for out of bound reads in PTX decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoFix the check for missing references in ff_er_frame_end() for H264.
Laurent Aimar [Sat, 1 Oct 2011 22:38:31 +0000 (00:38 +0200)]
Fix the check for missing references in ff_er_frame_end() for H264.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoClear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of the temporary buffers used...
Laurent Aimar [Sat, 1 Oct 2011 22:38:30 +0000 (00:38 +0200)]
Clear FF_INPUT_BUFFER_PADDING_SIZE bytes at the end of the temporary buffers used in 4xm decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoPrevent NULL dereference when the huffman table is invalid in the 4xm decoder.
Laurent Aimar [Sat, 1 Oct 2011 22:38:28 +0000 (00:38 +0200)]
Prevent NULL dereference when the huffman table is invalid in the 4xm decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoFix use of uninitialized memory in 4X Technologies demuxer.
Laurent Aimar [Sat, 1 Oct 2011 22:38:26 +0000 (00:38 +0200)]
Fix use of uninitialized memory in 4X Technologies demuxer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264: increase ref_poc size to 32 as it can be per field.
Michael Niedermayer [Sat, 1 Oct 2011 22:47:54 +0000 (00:47 +0200)]
h264: increase ref_poc size to 32 as it can be per field.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264: set unused ref_counts to 0 as a precautionary meassure.
Michael Niedermayer [Sat, 1 Oct 2011 22:45:41 +0000 (00:45 +0200)]
h264: set unused ref_counts to 0 as a precautionary meassure.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoff_dot_product(): change return value to int64_t
Michael Niedermayer [Sat, 1 Oct 2011 21:09:48 +0000 (23:09 +0200)]
ff_dot_product(): change return value to int64_t

Idea-by: Vitor
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agog729dec: initialize bit reader with the correct buffer size
Vitor Sessak [Sat, 1 Oct 2011 08:47:11 +0000 (10:47 +0200)]
g729dec: initialize bit reader with the correct buffer size

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agog723.1_data: remove unneeded L
Michael Niedermayer [Sat, 1 Oct 2011 16:13:30 +0000 (18:13 +0200)]
g723.1_data: remove unneeded L

Found-by: Vitor
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264: try reading SPS with wrong escaping, it sometimes works better
Michael Niedermayer [Sat, 1 Oct 2011 15:41:28 +0000 (17:41 +0200)]
h264: try reading SPS with wrong escaping, it sometimes works better

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavc: add video/audio/encoding flags to global_quality option
Anton Khirnov [Fri, 30 Sep 2011 15:12:13 +0000 (17:12 +0200)]
lavc: add video/audio/encoding flags to global_quality option

12 years agolibvpxenc: use libvpx's own defaults for some parameters
Luca Barbato [Fri, 30 Sep 2011 10:15:59 +0000 (12:15 +0200)]
libvpxenc: use libvpx's own defaults for some parameters

Specifically, qmin/qmax, gop_size and keyint_min.

Fixes bug 47.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agovpxenc: add private options
Luca Barbato [Mon, 26 Sep 2011 08:22:38 +0000 (10:22 +0200)]
vpxenc: add private options

Make libvpx support close to the libx264 one. Thanks to
Jan Gerber <j@v2v.cc> for the support.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agog729dec: prevent out of array access
Michael Niedermayer [Sat, 1 Oct 2011 04:07:05 +0000 (06:07 +0200)]
g729dec: prevent out of array access

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavienc: Add a limit on the number of skiped frames muxed in a row.
Michael Niedermayer [Sat, 1 Oct 2011 01:48:33 +0000 (03:48 +0200)]
avienc: Add a limit on the number of skiped frames muxed in a row.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovf_scale.c: propagate error code
Michael Niedermayer [Sat, 1 Oct 2011 01:16:32 +0000 (03:16 +0200)]
vf_scale.c: propagate error code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 1 Oct 2011 00:54:46 +0000 (02:54 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (34 commits)
  dpcm: return error if packet is too small
  dpcm: use smaller data types for static tables
  dpcm: use sol_table_16 directly instead of through the DPCMContext.
  dpcm: replace short with int16_t
  dpcm: check to make sure channels is 1 or 2.
  dpcm: misc pretty-printing
  dpcm: remove unnecessary variable by using bytestream functions.
  dpcm: move codec-specific variable declarations to their corresponding decoding blocks.
  dpcm: consistently use the variable name 'n' for the next input byte.
  dpcm: output AV_SAMPLE_FMT_U8 for Sol DPCM subcodecs 1 and 2.
  dpcm: calculate and check actual output data size prior to decoding.
  dpcm: factor out the stereo flag calculation
  dpcm: cosmetics: rename channel_number to ch
  avserver: Fix a bug where the socket is IPv4, but IPv6 is autoselected for the loopback address.
  lavf: Avoid using av_malloc(0) in av_dump_format
  dxva2_h264: pass the correct 8x8 scaling lists
  dca: NEON optimised high freq VQ decoding
  avcodec: reject audio packets with NULL data and non-zero size
  dxva: Add ability to enable workaround for older ATI cards
  latmenc: Set latmBufferFullness to largest value to indicate it is not used
  ...

Conflicts:
libavcodec/dxva2_h264.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoFix out of bound reads/writes in the TIFF decoder.
Laurent Aimar [Fri, 30 Sep 2011 22:45:03 +0000 (00:45 +0200)]
Fix out of bound reads/writes in the TIFF decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoCheck for out of bound writes in the QDM2 decoder.
Laurent Aimar [Fri, 30 Sep 2011 22:45:05 +0000 (00:45 +0200)]
Check for out of bound writes in the QDM2 decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoFix out of bound reads in the QDM2 decoder.
Laurent Aimar [Fri, 30 Sep 2011 22:45:04 +0000 (00:45 +0200)]
Fix out of bound reads in the QDM2 decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoFix out of bound reads due to integer overflow in the ADPCM IMA Electronic Arts EACS...
Laurent Aimar [Fri, 30 Sep 2011 22:45:02 +0000 (00:45 +0200)]
Fix out of bound reads due to integer overflow in the ADPCM IMA Electronic Arts EACS decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoCheck for out of bound reads in the Electronic Arts CMV decoder.
Laurent Aimar [Fri, 30 Sep 2011 22:45:01 +0000 (00:45 +0200)]
Check for out of bound reads in the Electronic Arts CMV decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoPrevent NULL dereferences when missing the reference frame in the Electronic Arts...
Laurent Aimar [Fri, 30 Sep 2011 22:45:00 +0000 (00:45 +0200)]
Prevent NULL dereferences when missing the reference frame in the Electronic Arts CMV decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoFix potential pointer arithmetic overflows in the Electronic Arts CMV decoder.
Laurent Aimar [Fri, 30 Sep 2011 22:44:59 +0000 (00:44 +0200)]
Fix potential pointer arithmetic overflows in the Electronic Arts CMV decoder.

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