ffmpeg.git
9 years agoffmpeg: increase bit_buffer_size, the header size is clearly too small for rgb48...
Michael Niedermayer [Sun, 25 Sep 2011 14:13:07 +0000 (16:13 +0200)]
ffmpeg: increase bit_buffer_size, the header size is clearly too small for rgb48 raw based formats

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agocosmetics, remove unused and rename variables for consistency
Jean First [Fri, 23 Sep 2011 06:22:31 +0000 (08:22 +0200)]
cosmetics, remove unused and rename variables for consistency

9 years agotiffenc: Enable RGB48LE (16-bit) encoding support
Jean First [Sun, 25 Sep 2011 14:03:21 +0000 (16:03 +0200)]
tiffenc: Enable RGB48LE (16-bit) encoding support

9 years agotiffdec: add RGB48 (16bit) support
Jean First [Sun, 25 Sep 2011 14:00:04 +0000 (16:00 +0200)]
tiffdec: add RGB48 (16bit) support

9 years agodnxhdenc: remove unneeded entries from array.
Michael Niedermayer [Sun, 25 Sep 2011 12:56:40 +0000 (14:56 +0200)]
dnxhdenc: remove unneeded entries from array.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodnxhdenc: optimize whats left of dnxhd_switch_matrix()
Michael Niedermayer [Sun, 25 Sep 2011 11:06:04 +0000 (13:06 +0200)]
dnxhdenc: optimize whats left of dnxhd_switch_matrix()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agobit: remove more unused variables
Michael Niedermayer [Sun, 25 Sep 2011 09:29:22 +0000 (11:29 +0200)]
bit: remove more unused variables

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agobit: use AVERROR_INVALIDDATA
Michael Niedermayer [Sun, 25 Sep 2011 09:21:01 +0000 (11:21 +0200)]
bit: use AVERROR_INVALIDDATA

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoregtests: amv video encoder test
Michael Niedermayer [Sun, 25 Sep 2011 04:47:53 +0000 (06:47 +0200)]
regtests: amv video encoder test

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoamvenc: another quant table fix
Michael Niedermayer [Sun, 25 Sep 2011 04:47:08 +0000 (06:47 +0200)]
amvenc: another quant table fix

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agompegvideo: support encoding with chroma intra tables that differ from luma.
Michael Niedermayer [Sun, 25 Sep 2011 04:46:39 +0000 (06:46 +0200)]
mpegvideo: support encoding with chroma intra tables that differ from luma.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavf/utils: replace deprecated url_ferror.
Nicolas George [Wed, 14 Sep 2011 17:54:48 +0000 (19:54 +0200)]
lavf/utils: replace deprecated url_ferror.

9 years agolavf/utils: use correct format string for int64_t.
Nicolas George [Wed, 14 Sep 2011 17:53:59 +0000 (19:53 +0200)]
lavf/utils: use correct format string for int64_t.

9 years agolavf/utils: use AV_NOWARN_DEPRECATED in compatibility code.
Nicolas George [Wed, 14 Sep 2011 17:48:59 +0000 (19:48 +0200)]
lavf/utils: use AV_NOWARN_DEPRECATED in compatibility code.

9 years agolavu/attributes: introduce AV_NOWARN_DEPRECATED.
Nicolas George [Wed, 14 Sep 2011 17:47:38 +0000 (19:47 +0200)]
lavu/attributes: introduce AV_NOWARN_DEPRECATED.

9 years agobit: use explicit struct initializers.
Clément Bœsch [Sun, 25 Sep 2011 01:02:16 +0000 (03:02 +0200)]
bit: use explicit struct initializers.

9 years agobit: remove unused variable
Michael Niedermayer [Sun, 25 Sep 2011 03:36:07 +0000 (05:36 +0200)]
bit: remove unused variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agobit: set AVPacket.pos
Michael Niedermayer [Sun, 25 Sep 2011 03:35:38 +0000 (05:35 +0200)]
bit: set AVPacket.pos

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agobit: loose seekback & wrong bitrate code.
Michael Niedermayer [Sun, 25 Sep 2011 03:22:30 +0000 (05:22 +0200)]
bit: loose seekback & wrong bitrate code.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agobit: rewrite probe
Michael Niedermayer [Sun, 25 Sep 2011 03:15:30 +0000 (05:15 +0200)]
bit: rewrite probe

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agobit: replace assert() by proper check.
Michael Niedermayer [Sun, 25 Sep 2011 03:07:34 +0000 (05:07 +0200)]
bit: replace assert() by proper check.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agobit: return AVERROR_EOF on eof.
Michael Niedermayer [Sun, 25 Sep 2011 03:05:03 +0000 (05:05 +0200)]
bit: return AVERROR_EOF on eof.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoamvenc: fix quant tables
Michael Niedermayer [Sun, 25 Sep 2011 02:20:37 +0000 (04:20 +0200)]
amvenc: fix quant tables

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoAMV video encoder.
Michael Niedermayer [Sun, 25 Sep 2011 00:54:20 +0000 (02:54 +0200)]
AMV video encoder.
Authors are Vladimir Voroshilov and Dobrica Pavlinušić based on svn blame/log
For full details of authorship see http://code.google.com/p/amv-codec-tools/

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoAdd av_calloc() helper.
Laurent Aimar [Sat, 24 Sep 2011 16:39:13 +0000 (18:39 +0200)]
Add av_calloc() helper.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoFix potential pointer arithmetic overflows in rle_unpack() of vmd video decoder.
Laurent Aimar [Sat, 24 Sep 2011 22:08:51 +0000 (00:08 +0200)]
Fix potential pointer arithmetic overflows in rle_unpack() of vmd video decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoFix out of bound reads in rle_unpack() of vmd video decoder.
Laurent Aimar [Sat, 24 Sep 2011 22:08:50 +0000 (00:08 +0200)]
Fix out of bound reads in rle_unpack() of vmd video decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoCheck for out of bound reads in vmd_decode() of vmd video decoder.
Laurent Aimar [Sat, 24 Sep 2011 22:08:49 +0000 (00:08 +0200)]
Check for out of bound reads in vmd_decode() of vmd video decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoRemoved debug message in the probe function of bit demuxer.
Laurent Aimar [Sat, 24 Sep 2011 22:11:10 +0000 (00:11 +0200)]
Removed debug message in the probe function of bit demuxer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoFix potential pointer arithmetic overflows in lz_unpack of vmd video decoder.
Laurent Aimar [Sat, 24 Sep 2011 21:52:24 +0000 (23:52 +0200)]
Fix potential pointer arithmetic overflows in lz_unpack of vmd video decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoPrevent out of bound read in lz_unpack in vmd video decoder.
Laurent Aimar [Sat, 24 Sep 2011 21:52:23 +0000 (23:52 +0200)]
Prevent out of bound read in lz_unpack in vmd video decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoPrevent NULL dereferences when the previous frame is missing in vmd video decoder.
Laurent Aimar [Sat, 24 Sep 2011 21:16:19 +0000 (23:16 +0200)]
Prevent NULL dereferences when the previous frame is missing in vmd video decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoCheck for invalid update parameters in vmd video decoder.
Laurent Aimar [Sat, 24 Sep 2011 21:16:18 +0000 (23:16 +0200)]
Check for invalid update parameters in vmd video decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoFix potential overread in vmd audio decoder.
Laurent Aimar [Sat, 24 Sep 2011 21:16:17 +0000 (23:16 +0200)]
Fix potential overread in vmd audio decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 24 Sep 2011 20:37:24 +0000 (22:37 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  flvdec: Fix invalid pointer deferences when parsing index
  configure: disable hardware capabilities ELF section with suncc on Solaris x86
  Use explicit struct initializers for AVCodec declarations.
  Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations.
  adpcmenc: Set bits_per_coded_sample
  adpcmenc: fix QT IMA ADPCM encoder
  adpcmdec: Fix QT IMA ADPCM decoder
  permit decoding of multichannel ADPCM_EA_XAS
  Fix input buffer size check in adpcm_ea decoder.
  fft: avoid a signed overflow
  mpegps: Handle buffer exhaustion when reading packets.

Conflicts:
libavcodec/adpcm.c
libavcodec/adpcmenc.c
libavdevice/alsa-audio-enc.c
libavformat/flvdec.c
libavformat/mpeg.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoAdd .bit (de)muxer
Vladimir Voroshilov [Sat, 24 Sep 2011 20:08:16 +0000 (22:08 +0200)]
Add .bit (de)muxer

9 years agoFix segfault in save_bits:
Sascha Sommer [Sat, 24 Sep 2011 18:56:41 +0000 (20:56 +0200)]
Fix segfault in save_bits:
use put_bits_count to get the buffer fill state instead of
num_saved_bits as num_saved_bits is sometimes reset when
frames are lost
(Ticket 495)

9 years agog729dec: disable all cpu acceleration, the code does not provide any alignment.
Michael Niedermayer [Sat, 24 Sep 2011 18:56:01 +0000 (20:56 +0200)]
g729dec: disable all cpu acceleration, the code does not provide any alignment.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agog729dec: set sample format.
Michael Niedermayer [Sat, 24 Sep 2011 18:55:41 +0000 (20:55 +0200)]
g729dec: set sample format.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoDisable MMX
Vladimir Voroshilov [Thu, 18 Jun 2009 01:16:03 +0000 (08:16 +0700)]
Disable MMX

9 years agoFix comments about implemented codecs
Vladimir Voroshilov [Wed, 3 Sep 2008 06:08:04 +0000 (13:08 +0700)]
Fix comments about implemented codecs

9 years agoG.729 .bit file demuxer
Vladimir Voroshilov [Wed, 3 Sep 2008 08:18:40 +0000 (15:18 +0700)]
G.729 .bit file demuxer

9 years agoact: remove AVERROR_NOFMT useage.
Michael Niedermayer [Sat, 24 Sep 2011 18:05:13 +0000 (20:05 +0200)]
act: remove AVERROR_NOFMT useage.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoACT demuxer
Vladimir Voroshilov [Wed, 3 Jun 2009 18:43:53 +0000 (01:43 +0700)]
ACT demuxer

9 years agoAdaptive gain control
Vladimir Voroshilov [Sun, 28 Jun 2009 14:01:23 +0000 (21:01 +0700)]
Adaptive gain control

9 years agoG.729 postfilter
Vladimir Voroshilov [Wed, 3 Sep 2008 08:55:53 +0000 (15:55 +0700)]
G.729 postfilter

9 years agoReplace pitch_delay_int with array
Vladimir Voroshilov [Fri, 26 Jun 2009 02:26:56 +0000 (09:26 +0700)]
Replace pitch_delay_int with array

9 years agoG.729 build environment
Vladimir Voroshilov [Wed, 3 Sep 2008 08:39:41 +0000 (15:39 +0700)]
G.729 build environment

9 years agog729dec: Make 2 functions static that are not used outside g729dec.c
Michael Niedermayer [Sat, 24 Sep 2011 17:52:19 +0000 (19:52 +0200)]
g729dec: Make 2 functions static that are not used outside g729dec.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoHigh-pass filter
Vladimir Voroshilov [Thu, 4 Jun 2009 19:05:57 +0000 (02:05 +0700)]
High-pass filter

9 years agoAdd G.729D decoder
Vladimir Voroshilov [Wed, 3 Sep 2008 16:47:58 +0000 (23:47 +0700)]
Add G.729D decoder

9 years agoSynthesis filter
Vladimir Voroshilov [Fri, 5 Jun 2009 04:11:54 +0000 (11:11 +0700)]
Synthesis filter

9 years agoIndentation fix after gain codes decoding2
Vladimir Voroshilov [Fri, 12 Jun 2009 17:28:13 +0000 (00:28 +0700)]
Indentation fix after gain codes decoding2

9 years agoGain pitch and gain code for G729D
Vladimir Voroshilov [Fri, 12 Jun 2009 17:32:54 +0000 (00:32 +0700)]
Gain pitch and gain code for G729D

9 years agoIndentation fix 2
Vladimir Voroshilov [Fri, 26 Jun 2009 19:16:31 +0000 (02:16 +0700)]
Indentation fix 2

9 years agoConvert gain pitch and gain code to arrays
Vladimir Voroshilov [Fri, 12 Jun 2009 16:55:06 +0000 (23:55 +0700)]
Convert gain pitch and gain code to arrays

9 years agoInterolate excitation signal
Vladimir Voroshilov [Thu, 4 Jun 2009 19:12:31 +0000 (02:12 +0700)]
Interolate excitation signal

9 years agoFixed- and adaptive-codebook gains
Vladimir Voroshilov [Thu, 4 Jun 2009 18:55:06 +0000 (01:55 +0700)]
Fixed- and adaptive-codebook gains

9 years agoFrame erasure support for fixed-codebook vectors
Vladimir Voroshilov [Fri, 5 Jun 2009 03:35:11 +0000 (10:35 +0700)]
Frame erasure support for fixed-codebook vectors

9 years agoFixed-codebook vector decoding
Vladimir Voroshilov [Thu, 4 Jun 2009 18:43:22 +0000 (01:43 +0700)]
Fixed-codebook vector decoding

9 years agoAdd packet_type
Vladimir Voroshilov [Fri, 12 Jun 2009 17:24:23 +0000 (00:24 +0700)]
Add packet_type

9 years agoFrame erasure support for pitch delay decoding
Vladimir Voroshilov [Thu, 11 Jun 2009 06:51:28 +0000 (13:51 +0700)]
Frame erasure support for pitch delay decoding

9 years agoDoxy for LSF erasure case
Vladimir Voroshilov [Wed, 24 Jun 2009 05:09:20 +0000 (12:09 +0700)]
Doxy for LSF erasure case

9 years agodoxy comments for LSF array
Vladimir Voroshilov [Tue, 23 Jun 2009 05:39:33 +0000 (12:39 +0700)]
doxy comments for LSF array

9 years agoIndentation fix in LSF
Vladimir Voroshilov [Fri, 12 Jun 2009 17:06:13 +0000 (00:06 +0700)]
Indentation fix in LSF

9 years agoFrame erasure support for LSF decoding
Vladimir Voroshilov [Thu, 11 Jun 2009 05:30:46 +0000 (12:30 +0700)]
Frame erasure support for LSF decoding

9 years agoRevert "g729: Merge g729.h into g729dec.c."
Michael Niedermayer [Sat, 24 Sep 2011 17:41:47 +0000 (19:41 +0200)]
Revert "g729: Merge g729.h into g729dec.c."

This reverts commit a2077b85da5bf71167b11925aabbb738558a134d.

9 years agoRestore WIP g729 code that has been remvoed by diego biurrun.
Michael Niedermayer [Sat, 24 Sep 2011 17:39:18 +0000 (19:39 +0200)]
Restore WIP g729 code that has been remvoed by diego biurrun.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agovp56:Fix error recovery code on size changes in vp5/6 decoder
Laurent Aimar [Sat, 24 Sep 2011 14:16:40 +0000 (16:16 +0200)]
vp56:Fix error recovery code on size changes in vp5/6 decoder

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agovp6:Reset the internal state when aborting key frames header parsing in vp6 decoder.
Laurent Aimar [Sat, 24 Sep 2011 14:19:25 +0000 (16:19 +0200)]
vp6:Reset the internal state when aborting key frames header parsing in vp6 decoder.
It prevents leaving the state only half initialized.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoflvdec: Fix invalid pointer deferences when parsing index
Laurent Aimar [Sat, 24 Sep 2011 14:16:38 +0000 (16:16 +0200)]
flvdec: Fix invalid pointer deferences when parsing index

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoh264: Check for out of bounds reads in ff_h264_decode_extradata().
Laurent Aimar [Sat, 24 Sep 2011 14:44:14 +0000 (16:44 +0200)]
h264: Check for out of bounds reads in ff_h264_decode_extradata().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoconfigure: disable hardware capabilities ELF section with suncc on Solaris x86
Sean McGovern [Sat, 17 Sep 2011 04:36:37 +0000 (00:36 -0400)]
configure: disable hardware capabilities ELF section with suncc on Solaris x86

When using suncc to build, the Solaris linker will mark
an executable with each instruction set encountered by
the Solaris assembler.  As our libraries contain their own
guards for processor-specific code, instead suppress
generation of the HWCAPS ELF section on Solaris x86 only.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
9 years agovf_drawtext: use ctx for expressing outlink and dtext in end_frame
Stefano Sabatini [Fri, 23 Sep 2011 12:28:26 +0000 (14:28 +0200)]
vf_drawtext: use ctx for expressing outlink and dtext in end_frame

(Very) slighly improve readability.

9 years agovf_drawtext: perform misc cosmetics changes to uninit
Stefano Sabatini [Fri, 23 Sep 2011 12:13:47 +0000 (14:13 +0200)]
vf_drawtext: perform misc cosmetics changes to uninit

In particular:
* lexically sort strings freeing commands
* logically group freeing instructions
* prefer NULL over 0 when setting dtext->glyphs

9 years agovf_drawtext: set string defaults in the options array
Stefano Sabatini [Fri, 23 Sep 2011 12:02:16 +0000 (14:02 +0200)]
vf_drawtext: set string defaults in the options array

Simplify.

9 years agovf_drawtext: make x and y options parametric
Stefano Sabatini [Sun, 18 Sep 2011 00:41:56 +0000 (02:41 +0200)]
vf_drawtext: make x and y options parametric

Address trac issue #378.

9 years agovf_drawtext: drop text wrapping feature
Stefano Sabatini [Sun, 18 Sep 2011 00:51:17 +0000 (02:51 +0200)]
vf_drawtext: drop text wrapping feature

Or in other word, do not go to the next line when the text cannot be
rendered within the frame.

The rationale is that wrapping is hard to manage, as it depends on the
position of the text, thus making hard/impossible to compute the size
occupied by the rendered text, and makes the filter behavior
unpredictible with moving text (implemented in a pending patch).

Also the current wrapping code is very limited (for example it splits
words in the middle), and correctly handling wrapping requires much
more complexity (alignment, gravity, word parsing etc.), while
drawtext is meant to be only a thin wrapper around libfreetype, so
such advanced features don't belong here.

9 years agovf_drawtext: fix missed update in docs
Stefano Sabatini [Fri, 23 Sep 2011 11:54:43 +0000 (13:54 +0200)]
vf_drawtext: fix missed update in docs

9 years agoUse explicit struct initializers for AVCodec declarations.
Diego Biurrun [Fri, 23 Sep 2011 19:11:15 +0000 (21:11 +0200)]
Use explicit struct initializers for AVCodec declarations.

9 years agoUse explicit struct initializers for AVOutputFormat/AVInputFormat declarations.
Diego Biurrun [Fri, 23 Sep 2011 18:50:11 +0000 (20:50 +0200)]
Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations.

9 years agoAdd new pix_fmt RGBA64
Jean First [Fri, 23 Sep 2011 18:26:20 +0000 (20:26 +0200)]
Add new pix_fmt RGBA64

9 years agoffplay: fix order of operations for sdl audio open.
Michael Niedermayer [Sat, 24 Sep 2011 01:09:54 +0000 (03:09 +0200)]
ffplay: fix order of operations for sdl audio open.
Fixes Ticket149

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoadpcmenc: Set bits_per_coded_sample
Justin Ruggles [Thu, 8 Sep 2011 02:52:06 +0000 (22:52 -0400)]
adpcmenc: Set bits_per_coded_sample

9 years agoadpcmenc: fix QT IMA ADPCM encoder
Baptiste Coudurier [Thu, 8 Sep 2011 02:27:03 +0000 (22:27 -0400)]
adpcmenc: fix QT IMA ADPCM encoder

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoadpcmdec: Fix QT IMA ADPCM decoder
Baptiste Coudurier [Sun, 8 May 2011 11:13:17 +0000 (13:13 +0200)]
adpcmdec: Fix QT IMA ADPCM decoder

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agopermit decoding of multichannel ADPCM_EA_XAS
Peter Ross [Sat, 23 Apr 2011 12:08:48 +0000 (22:08 +1000)]
permit decoding of multichannel ADPCM_EA_XAS

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoFix input buffer size check in adpcm_ea decoder.
Reimar Döffinger [Thu, 8 Sep 2011 02:14:07 +0000 (22:14 -0400)]
Fix input buffer size check in adpcm_ea decoder.

Unfortunately the output buffer size check assumes that the
input buffer is never over-consumed, thus this actually
also allowed to write outside the output buffer if "lucky".

Based on:
git.videolan.org/ffmpeg.git
commit 701d0eb185192542c4a17f296e39e37cedf7abc6

9 years agofft: avoid a signed overflow
Sean McGovern [Tue, 20 Sep 2011 01:32:09 +0000 (21:32 -0400)]
fft: avoid a signed overflow

As a signed integer, 1<<31 overflows, so force it to unsigned.

Signed-off-by: Alex Converse <alex.converse@gmail.com>
9 years agopostproc: fix compilation failure, now really
Michael Niedermayer [Fri, 23 Sep 2011 23:51:35 +0000 (01:51 +0200)]
postproc: fix compilation failure, now really
forgot git add ...

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agopostproc: Fix compilation failure.
Yuriy Kaminskiy [Fri, 23 Sep 2011 23:33:37 +0000 (01:33 +0200)]
postproc: Fix compilation failure.

libpostproc/postprocess_template.c: In function 'dering_MMX2':
libpostproc/postprocess_template.c:1045:5: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
libpostproc/postprocess_template.c:1045:5: error: 'asm' operand has impossible constraints

9 years agompegps: Handle buffer exhaustion when reading packets.
Alex Converse [Fri, 23 Sep 2011 23:28:23 +0000 (16:28 -0700)]
mpegps: Handle buffer exhaustion when reading packets.

9 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 23 Sep 2011 22:54:59 +0000 (00:54 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  rtp: factorize  dynamic payload type fallback
  flvdec: Ignore the index if it's from a creator known to be different
  cmdutils: move grow_array out of #if CONFIG_AVFILTER
  avconv: actually set InputFile.rate_emu
  ratecontrol: update last_qscale_for sooner
  Fix unnecessary shift with 9/10bit vertical scaling
  prores: mark prores as intra-only in libavformat/utils.c:is_intra_only()
  prores: return more meaningful error values
  prores: improve error message wording
  prores: cosmetics: prettyprinting, drop useless parentheses
  prores: lowercase AVCodec name entry

Conflicts:
cmdutils.c
libavcodec/proresdec_lgpl.c
tests/ref/lavfi/pixfmts_scale

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agotiffenc: initialize forgotten avctx.
Jean First [Fri, 23 Sep 2011 21:39:51 +0000 (23:39 +0200)]
tiffenc: initialize forgotten avctx.

9 years agotiffenc: Add forgotten avclass to context.
Jean First [Fri, 23 Sep 2011 21:39:26 +0000 (23:39 +0200)]
tiffenc: Add forgotten avclass to context.

9 years agoaacdec: fix channel reconfigs on LATM
Michael Niedermayer [Fri, 23 Sep 2011 20:41:10 +0000 (22:41 +0200)]
aacdec: fix channel reconfigs on LATM
Fixes Ticket200

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoaacdec: Make aac-latm closer to the spec (not reading random data leading to random...
Michael Niedermayer [Fri, 23 Sep 2011 20:34:26 +0000 (22:34 +0200)]
aacdec: Make aac-latm closer to the spec (not reading random data leading to random false configurations)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoaacsbr: prevent multiple ff_aac_sbr_ctx_init()
Michael Niedermayer [Fri, 23 Sep 2011 20:31:57 +0000 (22:31 +0200)]
aacsbr: prevent multiple ff_aac_sbr_ctx_init()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoaacsbr: add a assert0 to check for a inconsistency that
Michael Niedermayer [Fri, 23 Sep 2011 20:30:27 +0000 (22:30 +0200)]
aacsbr: add a assert0 to check for a inconsistency that
occurd during debug. I dont know if this can happen normally but if so
it would be quite bad.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agortp: factorize dynamic payload type fallback
Rafaël Carré [Fri, 23 Sep 2011 19:47:56 +0000 (15:47 -0400)]
rtp: factorize  dynamic payload type fallback

Move the identical code in rtp_write_header() and
ff_sdp_write_media() inside ff_rtp_get_payload_type()

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>