ffmpeg.git
9 years agomov: support timecode extraction.
Clément Bœsch [Mon, 2 Jan 2012 10:56:06 +0000 (11:56 +0100)]
mov: support timecode extraction.

9 years agomov: annotate read values in tmcd track.
Clément Bœsch [Wed, 28 Dec 2011 09:38:19 +0000 (10:38 +0100)]
mov: annotate read values in tmcd track.

9 years agotimecode: add avpriv_check_timecode_rate().
Clément Bœsch [Mon, 2 Jan 2012 10:53:59 +0000 (11:53 +0100)]
timecode: add avpriv_check_timecode_rate().

9 years agoSupport 48bpp pam decoding.
ami_stuff [Thu, 5 Jan 2012 19:58:24 +0000 (20:58 +0100)]
Support 48bpp pam decoding.

Fixes ticket #882.

9 years agoSupport 16bpp grayscale pam decoding.
ami_stuff [Thu, 5 Jan 2012 19:57:49 +0000 (20:57 +0100)]
Support 16bpp grayscale pam decoding.

Fixes ticket #881.

9 years agolibvpxenc: Remove duplicate AVOption constants.
Michael Niedermayer [Thu, 5 Jan 2012 19:37:47 +0000 (20:37 +0100)]
libvpxenc: Remove duplicate AVOption constants.

Found-by: j@v2v.cc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Thu, 5 Jan 2012 19:33:01 +0000 (20:33 +0100)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: fix invalid wanted_channel_layout calculation
  ffplay: honor SDL_AUDIO_CHANNELS and make sure to use SDL supported number of audio channels

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoffplay: fix invalid wanted_channel_layout calculation
Marton Balint [Wed, 4 Jan 2012 21:50:09 +0000 (22:50 +0100)]
ffplay: fix invalid wanted_channel_layout calculation

Signed-off-by: Marton Balint <cus@passwd.hu>
9 years agoffplay: honor SDL_AUDIO_CHANNELS and make sure to use SDL supported number of audio...
Marton Balint [Wed, 4 Jan 2012 02:01:35 +0000 (03:01 +0100)]
ffplay: honor SDL_AUDIO_CHANNELS and make sure to use SDL supported number of audio channels

Fixes ticket #838.

Signed-off-by: Marton Balint <cus@passwd.hu>
9 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 5 Jan 2012 01:03:12 +0000 (02:03 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (46 commits)
  mtv: Make sure audio_subsegments is not 0
  v4l2: use V4L2_FMT_FLAG_EMULATED only if it is defined
  avconv: add symbolic names for -vsync parameters
  flvdec: Fix compiler warning for uninitialized variables
  rtsp: Fix compiler warning for uninitialized variable
  ulti: convert to new bytestream API.
  swscale: Use standard multiple inclusion guards in ppc/ header files.
  Place some START_TIMER invocations in separate blocks.
  v4l2: list available formats
  v4l2: set the proper codec_tag
  v4l2: refactor device_open
  v4l2: simplify away io_method
  v4l2: cosmetics
  v4l2: uniform and format options
  v4l2: do not force interlaced mode
  avio: exit early in fill_buffer without read_packet
  vc1dec: fix invalid memory access for small video dimensions
  rv34: fix invalid memory access for small video dimensions
  rv34: joint coefficient decoding and dequantization
  avplay: Don't call avio_set_interrupt_cb(NULL)
  ...

Conflicts:
Changelog
avconv.c
doc/APIchanges
doc/indevs.texi
libavcodec/adxenc.c
libavcodec/dnxhdenc.c
libavcodec/h264.c
libavdevice/v4l2.c
libavformat/flvdec.c
libavformat/mtv.c
libswscale/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoRevert "rmdec: Avoid allocating huge packets"
Michael Niedermayer [Wed, 4 Jan 2012 23:51:12 +0000 (00:51 +0100)]
Revert "rmdec: Avoid allocating huge packets"

This reverts commit 66f71f3b5e2e7b6e5049bd9831c371e16aff8a53.

This causes regressions with RDT.

9 years agolavf: use avg_frame_rate and packet number to exit find_stream_info
Michael Niedermayer [Wed, 4 Jan 2012 23:49:02 +0000 (00:49 +0100)]
lavf: use avg_frame_rate and packet number to exit find_stream_info

qatar does this too but clobbers the AVPacket.duration by approximate
values.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavf: revert commit bb99ae3ae924c942a634bec7711ec7ee11c38eb9
Michael Niedermayer [Wed, 4 Jan 2012 23:22:19 +0000 (00:22 +0100)]
lavf: revert commit bb99ae3ae924c942a634bec7711ec7ee11c38eb9

Author: Michael Niedermayer <michaelni@gmx.at>
Date:   Thu Nov 3 22:38:10 2011 +0100

    lavf: fix null pointer dereference in rdt

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This is no longer needed and causes various problems with RTSP

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agomtv: Make sure audio_subsegments is not 0
Shitiz Garg [Thu, 15 Dec 2011 19:06:27 +0000 (00:36 +0530)]
mtv: Make sure audio_subsegments is not 0

audio_subsegments would be 0 and cause floating point exceptions
Fixes bugzilla #144

Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
9 years agovorbis: make sure ch is non zero before calling vorbis_residue_decode
Michael Niedermayer [Wed, 4 Jan 2012 20:55:52 +0000 (21:55 +0100)]
vorbis: make sure ch is non zero before calling vorbis_residue_decode

This possibly makes part of the CVE-2011-3895 fix unneeded.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agovorbis: An additional defense in the Vorbis codec.
Chris Evans [Wed, 4 Jan 2012 20:53:35 +0000 (21:53 +0100)]
vorbis: An additional defense in the Vorbis codec.

BUG=101458
Review URL: http://codereview.chromium.org/8414025

Fixes second part of CVE-2011-3895

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agovorbis: Fix decoder bug.
Chris Evans [Wed, 4 Jan 2012 20:51:18 +0000 (21:51 +0100)]
vorbis: Fix decoder bug.

BUG=101458
Review URL: http://codereview.chromium.org/8413019

This fixes part of 2011-3895

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

9 years agovorbisdec: Make sure blocksize is not set to an invalid value.
Michael Niedermayer [Wed, 4 Jan 2012 18:22:20 +0000 (19:22 +0100)]
vorbisdec: Make sure blocksize is not set to an invalid value.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agovorbis: Fix last quarter of CVE-2011-3893
Michael Niedermayer [Wed, 4 Jan 2012 16:29:34 +0000 (17:29 +0100)]
vorbis: Fix last quarter of CVE-2011-3893

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoogg: Avoid the possibility to read out-of-bounds of a static global array in Vorbis
Chris Evans [Wed, 4 Jan 2012 16:24:15 +0000 (17:24 +0100)]
ogg: Avoid the possibility to read out-of-bounds of a static global array in Vorbis
decoding.

BUG=100543
Review URL: http://codereview.chromium.org/8365014
This fixes 25% of CVE-2011-3893

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agomkv: Fix a bug where a pointer was cached to an array that might later move due to
Chris Evans [Wed, 4 Jan 2012 15:33:34 +0000 (16:33 +0100)]
mkv: Fix a bug where a pointer was cached to an array that might later move due to
a realloc()

BUG=100492
Review URL: http://codereview.chromium.org/8366004
Fixes: 1 of 2 for CVE-2011-3893

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agov4l2: use V4L2_FMT_FLAG_EMULATED only if it is defined
Janne Grunau [Wed, 4 Jan 2012 19:29:57 +0000 (20:29 +0100)]
v4l2: use V4L2_FMT_FLAG_EMULATED only if it is defined

V4L2_FMT_FLAG_EMULATED was added in 2.6.32.

9 years agoavconv: add symbolic names for -vsync parameters
Anton Khirnov [Sat, 26 Nov 2011 10:01:33 +0000 (11:01 +0100)]
avconv: add symbolic names for -vsync parameters

9 years agoflvdec: Fix compiler warning for uninitialized variables
Jean First [Fri, 30 Dec 2011 20:08:02 +0000 (21:08 +0100)]
flvdec: Fix compiler warning for uninitialized variables

These can't be used uninitialized in practice, but the
compiler doesn't realize it.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortsp: Fix compiler warning for uninitialized variable
Jean First [Tue, 3 Jan 2012 22:01:28 +0000 (23:01 +0100)]
rtsp: Fix compiler warning for uninitialized variable

This one won't ever be used uninitialized in practice, but
the compiler doesn't realize it.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoFix possible infinite loop decoding als.
Philippe Saint-Pierre [Wed, 4 Jan 2012 20:00:06 +0000 (21:00 +0100)]
Fix possible infinite loop decoding als.

Reviewed-by: Thilo Borgmann
9 years agoulti: convert to new bytestream API.
Ronald S. Bultje [Wed, 4 Jan 2012 04:41:18 +0000 (20:41 -0800)]
ulti: convert to new bytestream API.

9 years agoInsert missing newline at end of error log message in mov demuxer.
Andrew Ryan [Wed, 4 Jan 2012 18:49:21 +0000 (19:49 +0100)]
Insert missing newline at end of error log message in mov demuxer.

9 years agoReplace deprecated FF_I_TYPE with AV_PICTURE_TYPE_I in v308 and yuv4.
Carl Eugen Hoyos [Wed, 4 Jan 2012 18:45:46 +0000 (19:45 +0100)]
Replace deprecated FF_I_TYPE with AV_PICTURE_TYPE_I in v308 and yuv4.

Found-by: Paul B Mahol
9 years agoswscale: Use standard multiple inclusion guards in ppc/ header files.
Diego Biurrun [Tue, 3 Jan 2012 09:29:19 +0000 (10:29 +0100)]
swscale: Use standard multiple inclusion guards in ppc/ header files.

9 years agoyuv4 libquicktime packed 4:2:0 encoder and decoder.
Carl Eugen Hoyos [Wed, 4 Jan 2012 14:35:15 +0000 (15:35 +0100)]
yuv4 libquicktime packed 4:2:0 encoder and decoder.

Reviewed-by: Derek Buitenhuis
Reviewed-by: Paul B Mahol
9 years agov308 Quicktim Uncompressed 4:4:4 encoder and decoder.
Carl Eugen Hoyos [Wed, 4 Jan 2012 14:24:38 +0000 (15:24 +0100)]
v308 Quicktim Uncompressed 4:4:4 encoder and decoder.

Reviewed-by: Derek Buitenhuis
Reviewed-by: Paul B Mahol
9 years agoAdd decoder for Avid 1:1 10-bit RGB Packer (AVrp).
Carl Eugen Hoyos [Wed, 4 Jan 2012 14:10:58 +0000 (15:10 +0100)]
Add decoder for Avid 1:1 10-bit RGB Packer (AVrp).

Fixes ticket #525.

Reviewed-by: Paul B Mahol
9 years agoPlace some START_TIMER invocations in separate blocks.
Diego Biurrun [Tue, 3 Jan 2012 12:25:25 +0000 (13:25 +0100)]
Place some START_TIMER invocations in separate blocks.

This fixes compilation failures related to START_TIMER/STOP_TIMER macros and
-Werror=declaration-after-statement.  START_TIMER declares variables and thus
may not be placed after statements outside of a new block.

9 years agodoc: use @command{} for commands.
Clément Bœsch [Mon, 2 Jan 2012 14:32:55 +0000 (15:32 +0100)]
doc: use @command{} for commands.

9 years agodoc: use @code{} for --{enable,disable}-options.
Clément Bœsch [Mon, 2 Jan 2012 14:23:09 +0000 (15:23 +0100)]
doc: use @code{} for --{enable,disable}-options.

9 years agov4l2: list available formats
Luca Barbato [Tue, 27 Dec 2011 05:31:41 +0000 (06:31 +0100)]
v4l2: list available formats

Make use of the experimental framesize enumeration ioctl if available.

9 years agov4l2: set the proper codec_tag
Luca Barbato [Tue, 27 Dec 2011 06:41:01 +0000 (07:41 +0100)]
v4l2: set the proper codec_tag

Unbreak direct streamcopy.

9 years agov4l2: refactor device_open
Luca Barbato [Tue, 27 Dec 2011 05:27:41 +0000 (06:27 +0100)]
v4l2: refactor device_open

Check capabilities directly in the function, further simplify the code.

9 years agov4l2: simplify away io_method
Luca Barbato [Tue, 27 Dec 2011 04:52:02 +0000 (05:52 +0100)]
v4l2: simplify away io_method

Only mmap is supported.

9 years agov4l2: cosmetics
Luca Barbato [Tue, 27 Dec 2011 04:37:58 +0000 (05:37 +0100)]
v4l2: cosmetics

9 years agov4l2: uniform and format options
Luca Barbato [Tue, 27 Dec 2011 02:38:13 +0000 (03:38 +0100)]
v4l2: uniform and format options

9 years agov4l2: do not force interlaced mode
Luca Barbato [Mon, 21 Nov 2011 16:03:46 +0000 (17:03 +0100)]
v4l2: do not force interlaced mode

Video4linux2 supports both interlaced and non-interlaced mode, do not
ask for interlaced if not necessary.

9 years agoavio: exit early in fill_buffer without read_packet
Janne Grunau [Tue, 3 Jan 2012 17:11:36 +0000 (18:11 +0100)]
avio: exit early in fill_buffer without read_packet

Fixes an invalid free() with ass in avi. The sample in bug 98 passes
parts of AVPacket.data as buffer for the AVIOContext. Since the packet
is quite large fill_buffer tries to reallocate the buffer before doing
nothing. Fixes bug 98.

9 years agovc1dec: fix invalid memory access for small video dimensions
John Brooks [Sun, 11 Dec 2011 09:37:21 +0000 (02:37 -0700)]
vc1dec: fix invalid memory access for small video dimensions

For small video dimensions, these calculations of the upper bound
for pixel access may have a negative result. Using an unsigned
comparison to bound a potentially negative value only works if
the greater operand is non-negative. Fixed by doing edge emulation
when the upper bound is probably negative, everywhere that this
pattern appears.

Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
9 years agorv34: fix invalid memory access for small video dimensions
John Brooks [Wed, 4 Jan 2012 06:27:35 +0000 (23:27 -0700)]
rv34: fix invalid memory access for small video dimensions

For small video dimensions calculations of the upper bound for pixel
access may result in negative value. Using an unsigned comparison
works only if the greater operand is non-negative. This is fixed by
doing edge emulation explicitly for such conditions.

Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
9 years agorv34: joint coefficient decoding and dequantization
Christophe GISQUET [Sun, 1 Jan 2012 14:28:47 +0000 (15:28 +0100)]
rv34: joint coefficient decoding and dequantization

Perform dequantization while decoding coefficients instead of performing it
on the entire coefficients buffer.

Since quantized coefficients are very sparse, this usually causes a small
speedup. Speedup of around 1% on Panda board compared to the removed here
neon code. Global speedup is probably around 3%.

Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
9 years agoavplay: Don't call avio_set_interrupt_cb(NULL)
Martin Storsjö [Fri, 30 Dec 2011 10:39:03 +0000 (12:39 +0200)]
avplay: Don't call avio_set_interrupt_cb(NULL)

Since we don't use avio_set_interrupt_cb for interrupt callbacks,
we don't need to call it to reset the interrupt cb either.

This avoids a warning about use of deprecated functions.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agojpegdec: Fix vlc table check for progressive jpegs.
Michael Niedermayer [Tue, 3 Jan 2012 05:53:18 +0000 (06:53 +0100)]
jpegdec: Fix vlc table check for progressive jpegs.

Fixes Ticket834

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoswscale: remove obsolete comment.
Ronald S. Bultje [Mon, 2 Jan 2012 20:46:40 +0000 (12:46 -0800)]
swscale: remove obsolete comment.

9 years agoswscale: split scale.asm.
Ronald S. Bultje [Mon, 2 Jan 2012 20:31:38 +0000 (12:31 -0800)]
swscale: split scale.asm.

scale.asm keeps horizontal scaling functions, whereas output.asm gets
the vertical scaling/output functions.

9 years agoswscale: don't show full-chroma-int warning for non-RGB output.
Ronald S. Bultje [Mon, 2 Jan 2012 20:03:02 +0000 (12:03 -0800)]
swscale: don't show full-chroma-int warning for non-RGB output.

Non-RGB output always uses full chroma interpolation.

9 years agoswscale: add MMX files to MMX-OBJS instead of OBJS.
Ronald S. Bultje [Tue, 3 Jan 2012 21:05:37 +0000 (13:05 -0800)]
swscale: add MMX files to MMX-OBJS instead of OBJS.

9 years agoh264: return index in buffer on end-of-sequence.
Ronald S. Bultje [Sat, 31 Dec 2011 17:12:53 +0000 (09:12 -0800)]
h264: return index in buffer on end-of-sequence.

Fixes hangs if the last packet contains an end-of-sequence NAL unit,
bug 158.

9 years agolavf: Fix try_decode_frame() so it doesnt loop infinitely.
Michael Niedermayer [Wed, 4 Jan 2012 03:08:46 +0000 (04:08 +0100)]
lavf: Fix try_decode_frame() so it doesnt loop infinitely.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoelectronicarts: Pass error through ea_read_header().
Michael Niedermayer [Wed, 4 Jan 2012 03:02:22 +0000 (04:02 +0100)]
electronicarts: Pass error through ea_read_header().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoelectronicarts: Fix division by zero. Fixes Ticket #793
Oana Stratulat [Wed, 4 Jan 2012 01:13:27 +0000 (03:13 +0200)]
electronicarts: Fix division by zero. Fixes Ticket #793

Signed-off-by: Oana Stratulat <oanaandreeastratulat@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge some declarations and initializations.
Diego Biurrun [Tue, 3 Jan 2012 12:18:49 +0000 (13:18 +0100)]
Merge some declarations and initializations.

This fixes compilation failures related to START_TIMER/STOP_TIMER macros and
-Werror=declaration-after-statement.  START_TIMER declares variables and thus
may not be placed after statements outside of a new block.

9 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 4 Jan 2012 00:12:34 +0000 (01:12 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  fate: add dxtory test
  adx_parser: rewrite.
  adxdec: Validate channel count to fix a division by zero.
  adxdec: Do not require extradata.
  cmdutils: K&R reformatting cosmetics
  alacdec: implement the 2-pass prediction type.
  alacenc: implement the 2-pass prediction type.
  alacenc: do not generate invalid multi-channel ALAC files
  alacdec: fill in missing or guessed info about the extradata format.
  utvideo: proper median prediction for interlaced videos
  lavu: bump lavu minor for av_popcount64
  dca: K&R formatting cosmetics
  dct: K&R formatting cosmetics
  lavf: flush decoders in avformat_find_stream_info().
  win32: detect number of CPUs using affinity
  Add av_popcount64
  snow: Restore three mistakenly removed casts.

Conflicts:
cmdutils.c
doc/APIchanges
libavcodec/adx_parser.c
libavcodec/adxdec.c
libavcodec/alacenc.c
libavutil/avutil.h
tests/fate/screen.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agocabac: drop unused and disabled get_cabac_u() / get_cabac_ueg() functions
Diego Biurrun [Tue, 27 Dec 2011 10:51:28 +0000 (11:51 +0100)]
cabac: drop unused and disabled get_cabac_u() / get_cabac_ueg() functions

9 years agocabac: drop unused STRICT_LIMITS code branch
Diego Biurrun [Tue, 27 Dec 2011 11:25:18 +0000 (12:25 +0100)]
cabac: drop unused STRICT_LIMITS code branch

9 years agoffprobe: add support to option -show_error
Stefano Sabatini [Thu, 29 Dec 2011 12:24:59 +0000 (13:24 +0100)]
ffprobe: add support to option -show_error

9 years agoffprobe: remove unused variable in show_format()
Stefano Sabatini [Sun, 1 Jan 2012 16:19:33 +0000 (17:19 +0100)]
ffprobe: remove unused variable in show_format()

9 years agoffprobe: reindent after the last commit
Stefano Sabatini [Thu, 29 Dec 2011 11:52:04 +0000 (12:52 +0100)]
ffprobe: reindent after the last commit

9 years agoffprobe: change order of operations in probe_file()
Stefano Sabatini [Thu, 29 Dec 2011 11:50:25 +0000 (12:50 +0100)]
ffprobe: change order of operations in probe_file()

This is required by a pending patch, also fixes a memleak due to the
writer context not being closed in case of open_input_file() failure.

9 years agoffprobe: prefer av_log to fprintf(stderr)
Stefano Sabatini [Thu, 29 Dec 2011 11:36:33 +0000 (12:36 +0100)]
ffprobe: prefer av_log to fprintf(stderr)

9 years agolibspeexenc: fix pts calculations for more than 1 frame per packet
Justin Ruggles [Fri, 30 Dec 2011 22:56:04 +0000 (17:56 -0500)]
libspeexenc: fix pts calculations for more than 1 frame per packet

9 years agoadxdec: clear eof flag and channel states when seeking
Justin Ruggles [Tue, 3 Jan 2012 22:32:15 +0000 (17:32 -0500)]
adxdec: clear eof flag and channel states when seeking

9 years agofate: add ADX encoding/decoding test
Justin Ruggles [Mon, 19 Dec 2011 16:31:14 +0000 (11:31 -0500)]
fate: add ADX encoding/decoding test

9 years agoadx: add an adx muxer
Justin Ruggles [Mon, 19 Dec 2011 16:10:34 +0000 (11:10 -0500)]
adx: add an adx muxer

9 years agoadxenc: check output buffer size before writing
Justin Ruggles [Mon, 19 Dec 2011 15:56:18 +0000 (10:56 -0500)]
adxenc: check output buffer size before writing

9 years agoadxenc: use bytestream functions for header writing.
Justin Ruggles [Mon, 19 Dec 2011 15:51:03 +0000 (10:51 -0500)]
adxenc: use bytestream functions for header writing.

also add more documentation about the header structure

9 years agoadxenc: use BLOCK_SIZE and BLOCK_SAMPLES macros
Justin Ruggles [Mon, 19 Dec 2011 15:23:21 +0000 (10:23 -0500)]
adxenc: use BLOCK_SIZE and BLOCK_SAMPLES macros

9 years agoadxenc: use a loop to encode each channel
Justin Ruggles [Mon, 19 Dec 2011 15:18:09 +0000 (10:18 -0500)]
adxenc: use a loop to encode each channel

9 years agoadxenc: remove unneeded loops
Justin Ruggles [Mon, 19 Dec 2011 15:14:35 +0000 (10:14 -0500)]
adxenc: remove unneeded loops

avctx->frame_size is 32, so that is how many samples we process per call.

9 years agoadx: add AVFMT_GENERIC_INDEX to demuxer flags.
Justin Ruggles [Mon, 19 Dec 2011 15:12:29 +0000 (10:12 -0500)]
adx: add AVFMT_GENERIC_INDEX to demuxer flags.

fixes seeking

9 years agoadxenc: avoid stereo deinterleaving
Justin Ruggles [Mon, 19 Dec 2011 14:52:32 +0000 (09:52 -0500)]
adxenc: avoid stereo deinterleaving

9 years agoadxenc: remove unnecessary setting of coded_frame->key_frame.
Justin Ruggles [Mon, 19 Dec 2011 14:45:50 +0000 (09:45 -0500)]
adxenc: remove unnecessary setting of coded_frame->key_frame.

It is already set by avcodec_alloc_frame().

9 years agoadxenc: log an error message and return AVERROR(EINVAL) for invalid channels
Justin Ruggles [Mon, 19 Dec 2011 14:45:17 +0000 (09:45 -0500)]
adxenc: log an error message and return AVERROR(EINVAL) for invalid channels

9 years agoadxenc: cosmetics: pretty-printing
Justin Ruggles [Mon, 19 Dec 2011 14:39:05 +0000 (09:39 -0500)]
adxenc: cosmetics: pretty-printing

9 years agoadxenc: change some data types
Justin Ruggles [Mon, 19 Dec 2011 14:29:11 +0000 (09:29 -0500)]
adxenc: change some data types

9 years agoadxenc: remove unneeded log message
Justin Ruggles [Mon, 19 Dec 2011 14:28:15 +0000 (09:28 -0500)]
adxenc: remove unneeded log message

9 years agoadxenc: remove unneeded comments
Justin Ruggles [Mon, 19 Dec 2011 14:28:02 +0000 (09:28 -0500)]
adxenc: remove unneeded comments

9 years agoAPIchanges: mention cleaned up header includes
Jonathan Nieder [Tue, 3 Jan 2012 06:40:08 +0000 (00:40 -0600)]
APIchanges: mention cleaned up header includes

Fixes bug 188.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
9 years agowmall: remove ;;
Michael Niedermayer [Tue, 3 Jan 2012 22:52:28 +0000 (23:52 +0100)]
wmall: remove ;;

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge remote-tracking branch 'shariman/wmall'
Michael Niedermayer [Tue, 3 Jan 2012 22:45:35 +0000 (23:45 +0100)]
Merge remote-tracking branch 'shariman/wmall'

* shariman/wmall:
  Fix audio output
  Suppress dumping of residues buffer
  Use quantizer value read from bitstream
  Cosmetics: Remove two empty lines and realign some code
  Reset acfilter_prevvalues buffer in clear_codec_buffers()
  Fix AC filter buffers and AC filter reversion

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agofate: add dxtory test
Oana Stratulat [Sun, 1 Jan 2012 18:55:21 +0000 (20:55 +0200)]
fate: add dxtory test

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
9 years agoSet bits_per_coded_sample when encoding Y41P.
Carl Eugen Hoyos [Tue, 3 Jan 2012 22:05:54 +0000 (23:05 +0100)]
Set bits_per_coded_sample when encoding Y41P.

This allows mplayer -vc bt411 to decode files
encoded with FFmpeg.

Reviewed-by: Paul B Mahol
9 years agortsp: Fix compiler warning for uninitialized variable.
Jean First [Tue, 3 Jan 2012 22:01:28 +0000 (23:01 +0100)]
rtsp: Fix compiler warning for uninitialized variable.

Reviewed-by: Martin Storsjö
9 years agoadx_parser: rewrite.
Michael Niedermayer [Sun, 18 Dec 2011 17:57:56 +0000 (18:57 +0100)]
adx_parser: rewrite.

The previous code ended in multiple different infinite
loops. See stl_ten_1_big.sfd as example with and without zzuf

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
9 years agoadxdec: Validate channel count to fix a division by zero.
Justin Ruggles [Mon, 19 Dec 2011 13:43:10 +0000 (08:43 -0500)]
adxdec: Validate channel count to fix a division by zero.

9 years agoadxdec: Do not require extradata.
Michael Niedermayer [Sun, 18 Dec 2011 19:10:30 +0000 (20:10 +0100)]
adxdec: Do not require extradata.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
9 years agocmdutils: K&R reformatting cosmetics
Aneesh Dogra [Sat, 31 Dec 2011 12:31:54 +0000 (18:01 +0530)]
cmdutils: K&R reformatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agoalacdec: implement the 2-pass prediction type.
Justin Ruggles [Wed, 7 Dec 2011 16:56:57 +0000 (11:56 -0500)]
alacdec: implement the 2-pass prediction type.

The reference encoder does not generate any streams using this, but the
reference decoder can handle it, so we should as well.

9 years agoalacenc: implement the 2-pass prediction type.
Justin Ruggles [Wed, 7 Dec 2011 18:01:01 +0000 (13:01 -0500)]
alacenc: implement the 2-pass prediction type.

This isn't used by the reference encoder, but it is supported by the decoder.

9 years agoalacenc: do not generate invalid multi-channel ALAC files
Justin Ruggles [Wed, 7 Dec 2011 17:04:21 +0000 (12:04 -0500)]
alacenc: do not generate invalid multi-channel ALAC files

9 years agoalacdec: fill in missing or guessed info about the extradata format.
Justin Ruggles [Wed, 7 Dec 2011 16:55:24 +0000 (11:55 -0500)]
alacdec: fill in missing or guessed info about the extradata format.

Now that there is official documentation from Apple about this, we don't have
to guess anymore.

9 years agoutvideo: proper median prediction for interlaced videos
Kostya Shishkov [Sun, 1 Jan 2012 16:44:08 +0000 (17:44 +0100)]
utvideo: proper median prediction for interlaced videos

9 years agolavu: bump lavu minor for av_popcount64
Janne Grunau [Tue, 3 Jan 2012 14:30:30 +0000 (15:30 +0100)]
lavu: bump lavu minor for av_popcount64

Add it to doc/APIchanges and update and correct other entries.

9 years agodca: K&R formatting cosmetics
Shitiz Garg [Tue, 3 Jan 2012 10:49:28 +0000 (16:19 +0530)]
dca: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>