ffmpeg.git
8 years agoMerge remote branch 'qatar/master'
Michael Niedermayer [Fri, 1 Apr 2011 23:51:44 +0000 (01:51 +0200)]
Merge remote branch 'qatar/master'

* qatar/master:
  ac3enc: ARM optimised ac3_compute_matissa_size
  ac3: armv6 optimised bit_alloc_calc_bap
  fate: simplify fft test rules
  avio: document avio_alloc_context.
  lavf: make compute_chapters_end less picky.
  sierravmd: fix Indeo3 videos
  FFT: simplify fft8()
  fate: add fixed-point fft/mdct tests
  Fixed-point support in fft-test
  ape: check that number of seektable entries is equal to number of frames

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoTimeout TCP open() after 5 seconds.
Michael Niedermayer [Fri, 1 Apr 2011 22:29:07 +0000 (00:29 +0200)]
Timeout TCP open() after 5 seconds.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix compilation with --disable-vdpau
Carl Eugen Hoyos [Fri, 1 Apr 2011 22:50:39 +0000 (00:50 +0200)]
Fix compilation with --disable-vdpau

8 years agoMake a plausibility check when setting channel layout for TrueHD.
Carl Eugen Hoyos [Fri, 1 Apr 2011 22:48:43 +0000 (00:48 +0200)]
Make a plausibility check when setting channel layout for TrueHD.

TrueHD supports more channels than FFmpeg, so a valid sample
could set the channel layout to a value that represents less
channels than the sample actually consists of.

8 years agoMatch the documentation of -s with the current implementation.
Carl Eugen Hoyos [Fri, 1 Apr 2011 22:24:26 +0000 (00:24 +0200)]
Match the documentation of -s with the current implementation.

8 years agoac3enc: ARM optimised ac3_compute_matissa_size
Mans Rullgard [Fri, 11 Mar 2011 17:25:45 +0000 (17:25 +0000)]
ac3enc: ARM optimised ac3_compute_matissa_size

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoac3: armv6 optimised bit_alloc_calc_bap
Mans Rullgard [Fri, 11 Mar 2011 02:50:57 +0000 (02:50 +0000)]
ac3: armv6 optimised bit_alloc_calc_bap

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agofate: simplify fft test rules
Mans Rullgard [Thu, 31 Mar 2011 15:46:36 +0000 (16:46 +0100)]
fate: simplify fft test rules

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoavio: document avio_alloc_context.
Anton Khirnov [Thu, 31 Mar 2011 11:57:48 +0000 (13:57 +0200)]
avio: document avio_alloc_context.

8 years agolavf: make compute_chapters_end less picky.
Anton Khirnov [Fri, 1 Apr 2011 01:02:02 +0000 (03:02 +0200)]
lavf: make compute_chapters_end less picky.

In particular, now it assumes that
a) chapters are chronologically ordered
b) chapters have the same timebases
c) duration of the stream is known
and asserts if any of these is not met.

Make it properly deal with harsher conditions.

fixes issue2320

8 years agoFix doxy-style for comment ("///>" should be "///<" instead).
Reimar Döffinger [Fri, 1 Apr 2011 17:42:31 +0000 (19:42 +0200)]
Fix doxy-style for comment ("///>" should be "///<" instead).

8 years agosierravmd: fix Indeo3 videos
Matthew Hoops [Thu, 31 Mar 2011 14:42:22 +0000 (10:42 -0400)]
sierravmd: fix Indeo3 videos

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoAllow selecting VDPAU, XvMC via get_format for MPEG-2
Reimar Döffinger [Mon, 28 Mar 2011 20:33:58 +0000 (22:33 +0200)]
Allow selecting VDPAU, XvMC via get_format for MPEG-2

To avoid further special-casing, dummy AVHWAccels are added
for VDPAU.
It should be possible to move VDPAU completely to AVHWAccel later.

8 years agoFFT: simplify fft8()
Mans Rullgard [Sun, 27 Mar 2011 13:49:55 +0000 (14:49 +0100)]
FFT: simplify fft8()

Part of the fft8() function corresponds to the BUTTERFLIES macro,
so use it.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoAnother aspect ratio fix try. This leaves the setdar addition at the end (preferred...
Michael Niedermayer [Fri, 1 Apr 2011 15:30:45 +0000 (17:30 +0200)]
Another aspect ratio fix try. This leaves the setdar addition at the end (preferred by people).

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMove flv format #defines to common header so they can be used by the encoder too.
Michael Niedermayer [Fri, 1 Apr 2011 11:45:39 +0000 (13:45 +0200)]
Move flv format #defines to common header so they can be used by the encoder too.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agofate: add fixed-point fft/mdct tests
Mans Rullgard [Thu, 31 Mar 2011 15:02:25 +0000 (16:02 +0100)]
fate: add fixed-point fft/mdct tests

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoFixed-point support in fft-test
Mans Rullgard [Wed, 30 Mar 2011 20:13:21 +0000 (21:13 +0100)]
Fixed-point support in fft-test

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoIncrease ffmpeg video encoding buffer size to permit encoding of DPX images
Peter Ross [Fri, 1 Apr 2011 12:11:52 +0000 (23:11 +1100)]
Increase ffmpeg video encoding buffer size to permit encoding of DPX images

The header generated by the DPX encoder is 1664 bytes.

8 years agoAdd .dpx to the list of supported file extensions for the image2 muxer
Peter Ross [Fri, 1 Apr 2011 12:11:24 +0000 (23:11 +1100)]
Add .dpx to the list of supported file extensions for the image2 muxer

8 years agoDPX image encoder
Peter Ross [Sat, 26 Mar 2011 04:12:35 +0000 (15:12 +1100)]
DPX image encoder

8 years agoCleanup flv keyframe index reading and add some saftey checks.
Michael Niedermayer [Fri, 1 Apr 2011 11:33:51 +0000 (13:33 +0200)]
Cleanup flv keyframe index reading and add some saftey checks.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix undefined behavior in ffv1 with insane widths.
Michael Niedermayer [Fri, 1 Apr 2011 10:46:36 +0000 (12:46 +0200)]
Fix undefined behavior in ffv1 with insane widths.
The new tables is large enough to prevent this together with our image size checks.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoape: check that number of seektable entries is equal to number of frames
Kostya Shishkov [Fri, 1 Apr 2011 07:26:38 +0000 (09:26 +0200)]
ape: check that number of seektable entries is equal to number of frames

fixes issue2480

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoMerge remote-tracking branch 'newdev/master'
Michael Niedermayer [Fri, 1 Apr 2011 00:55:29 +0000 (02:55 +0200)]
Merge remote-tracking branch 'newdev/master'

* newdev/master:
  mpegts: propagate avio EOF in read_packet()
  configure: Initial support for --target-os=symbian
  Fixed-point FFT and MDCT
  Include dependencies for test programs
  ac3enc: simplify sym_quant()
  flvdec: read index stored in the 'keyframes' tag.
  mov: Add support for zero-sized stsc runs.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoInsert setdar at the begin of a filter chain instead the end.
Michael Niedermayer [Fri, 1 Apr 2011 00:13:51 +0000 (02:13 +0200)]
Insert setdar at the begin of a filter chain instead the end.
This fixes -vf setsar

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoRevert "Remove support for stripping executables"
Michael Niedermayer [Thu, 31 Mar 2011 22:24:12 +0000 (00:24 +0200)]
Revert "Remove support for stripping executables"

People did not like this change.

This reverts commit e0be794a71be25a350f68287ee291b4942bcb7d8.

8 years agomake image2 muxer/demuxer support sequence of individual rawvideo files
Peter Ross [Wed, 30 Mar 2011 07:06:10 +0000 (18:06 +1100)]
make image2 muxer/demuxer support sequence of individual rawvideo files

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoimg2: stop using CODEC_ID_RAWVIDEO to trigger processing of independant y/u/v image...
Peter Ross [Wed, 30 Mar 2011 07:03:40 +0000 (18:03 +1100)]
img2: stop using CODEC_ID_RAWVIDEO to trigger processing of independant y/u/v image files

This is requireed, as img2 will be modified soon to support .raw image file sequences.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agompegts: propagate avio EOF in read_packet()
Jindrich Makovicka [Thu, 31 Mar 2011 14:58:50 +0000 (16:58 +0200)]
mpegts: propagate avio EOF in read_packet()

Allows distinguishing between EOF and IO error in read_packet return code.

Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoALSA: fix a stupid bad use of av_freep.
Nicolas George [Thu, 31 Mar 2011 16:49:07 +0000 (18:49 +0200)]
ALSA: fix a stupid bad use of av_freep.

It caused a segfault when channel reordering was in use and the last chunk
of data was not silent.
Spotted and diagnosed by Carl Eugen Hoyos.

8 years agoconfigure: Initial support for --target-os=symbian
Martin Storsjö [Tue, 25 Jan 2011 08:48:38 +0000 (10:48 +0200)]
configure: Initial support for --target-os=symbian

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoFixed-point FFT and MDCT
Mans Rullgard [Sat, 26 Mar 2011 15:20:30 +0000 (15:20 +0000)]
Fixed-point FFT and MDCT

8 years agoInclude dependencies for test programs
Mans Rullgard [Wed, 30 Mar 2011 20:23:04 +0000 (21:23 +0100)]
Include dependencies for test programs

This makes sure the various *-test programs are correctly rebuilt
when necessary.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoac3enc: simplify sym_quant()
Mans Rullgard [Thu, 31 Mar 2011 00:28:08 +0000 (01:28 +0100)]
ac3enc: simplify sym_quant()

These expressions are equivalent since levels is always odd, and
overflow is impossible due to the constraints set by the assert().

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoMerge remote-tracking branch 'newdev/master'
Michael Niedermayer [Thu, 31 Mar 2011 10:47:35 +0000 (12:47 +0200)]
Merge remote-tracking branch 'newdev/master'

* newdev/master:
  rtsp: Use GET_PARAMETER for keep-alive for generic RTSP servers
  mlp_parse.c: set AVCodecContext channel_layout
  APIChanges: mark the place where 0.6 was branched.
  avio: make get_checksum() internal.
  avio: move ff_crc04C11DB7_update() from avio.h -> avio_internal.h
  avio: make init_checksum() internal.
NOT MERGED  Add MxPEG decoder
NOT MERGED  Add support for picture_ptr field in MJpegDecodeContext
NOT MERGED  Move MJPEG's input buffer preprocessing in separate public function
NOT MERGED  Support reference picture defined by bitmask in MJPEG's SOS decoder
  sndio bug fix

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoflvdec: read index stored in the 'keyframes' tag.
Kharkov Alexander [Fri, 18 Mar 2011 07:26:51 +0000 (08:26 +0100)]
flvdec: read index stored in the 'keyframes' tag.

'keyframes' metatag is not part of the standard, it is just
convention to use such kind of metatag information for indexing.
Structure is following, it allows to have it inconsistent:
keyframes:
 times (array):
  time0 (num)
  time1 (num)
  time2 (num)
 filepositions (array)
  position0 (num)
  position1 (num)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agomov: Add support for zero-sized stsc runs.
Alex Converse [Mon, 28 Mar 2011 20:54:18 +0000 (13:54 -0700)]
mov: Add support for zero-sized stsc runs.

A zero sized stsc run doesn't make a lot of sense but the spec does not
prohibit them and MPlayer VLC demuxers support them.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoRevert "Do no modify terminal parameters using termios.h"
Michael Niedermayer [Wed, 30 Mar 2011 18:58:13 +0000 (20:58 +0200)]
Revert "Do no modify terminal parameters using termios.h"

This reverts commit cb48e245e6e770f146220fac0a8bd4dc1a5e006c.

Reason being we like pressing "q" to quit ffmpeg.

Conflicts:

ffmpeg.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoIn ipod/mov/mp4 muxer, always write esds descriptor length using 4 bytes,
Baptiste Coudurier [Wed, 30 Mar 2011 21:08:16 +0000 (14:08 -0700)]
In ipod/mov/mp4 muxer, always write esds descriptor length using 4 bytes,
ipod shuffle doesn't support anything else.

8 years agortsp: Use GET_PARAMETER for keep-alive for generic RTSP servers
Martin Storsjö [Wed, 30 Mar 2011 20:35:28 +0000 (23:35 +0300)]
rtsp: Use GET_PARAMETER for keep-alive for generic RTSP servers

According to the RFC, GET_PARAMETER should be used for
this, and according to a report from Tim Ouellette,
OPTIONS doesn't work for keeping the connection alive for some
servers. Also, live555 uses GET_PARAMETER for this purpose.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years agogradfun: add notice from the MPlayer manual
Stefano Sabatini [Tue, 29 Mar 2011 22:15:34 +0000 (00:15 +0200)]
gradfun: add notice from the MPlayer manual

Add notice telling that the filter is designed for playback only.

8 years agodocumentation: add setdar and setsar description to filters.texi
Stefano Sabatini [Sat, 26 Mar 2011 15:14:15 +0000 (16:14 +0100)]
documentation: add setdar and setsar description to filters.texi

8 years agographparser: add a NULL check on the argument passed to strstr
Stefano Sabatini [Wed, 30 Mar 2011 19:30:31 +0000 (21:30 +0200)]
graphparser: add a NULL check on the argument passed to strstr

Fix crash in create_filter() which occurrs if a scale filter with no
args is provided.

8 years agoFix typo from e3a84542.
Michael Niedermayer [Wed, 30 Mar 2011 18:25:32 +0000 (20:25 +0200)]
Fix typo from e3a84542.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix dnxhd custom options, add AVClass in private context
Baptiste Coudurier [Wed, 30 Mar 2011 15:47:30 +0000 (08:47 -0700)]
Fix dnxhd custom options, add AVClass in private context

8 years agoIn mov muxer, fix yuv range in avid atoms used by dnxhd.
Baptiste Coudurier [Wed, 23 Mar 2011 17:22:05 +0000 (10:22 -0700)]
In mov muxer, fix yuv range in avid atoms used by dnxhd.

8 years agomlp_parse.c: set AVCodecContext channel_layout
John Stebbins [Sat, 26 Mar 2011 02:34:19 +0000 (19:34 -0700)]
mlp_parse.c: set AVCodecContext channel_layout

The channel layout isn't getting set for mlp and truehd audio.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoAPIChanges: mark the place where 0.6 was branched.
Anton Khirnov [Wed, 30 Mar 2011 14:57:08 +0000 (16:57 +0200)]
APIChanges: mark the place where 0.6 was branched.

8 years agovaapi: allow build against older VA-API 0.31.
Gwenole Beauchesne [Wed, 30 Mar 2011 07:29:34 +0000 (09:29 +0200)]
vaapi: allow build against older VA-API 0.31.

8 years agovaapi: require version >= 0.32.0.
Gwenole Beauchesne [Wed, 30 Mar 2011 07:21:04 +0000 (09:21 +0200)]
vaapi: require version >= 0.32.0.

8 years agovaapi: move configure check down.
Gwenole Beauchesne [Wed, 30 Mar 2011 07:19:50 +0000 (09:19 +0200)]
vaapi: move configure check down.

8 years agoRemove a memory allocation and the associated memcpy.
Sven C. Dack [Wed, 30 Mar 2011 15:02:29 +0000 (17:02 +0200)]
Remove a memory allocation and the associated memcpy.

8 years agoh264: permit h264 decoder to be compiled when svq3 decoder is disabled
Peter Ross [Wed, 30 Mar 2011 05:39:24 +0000 (16:39 +1100)]
h264: permit h264 decoder to be compiled when svq3 decoder is disabled

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoSWSCALE: Increase maximim with from 5120 to 21504
Frank Barchard [Wed, 30 Mar 2011 06:56:17 +0000 (23:56 -0700)]
SWSCALE: Increase maximim with from 5120 to 21504

Heres a benchmark

VOFW 5120  VOFW 21504    Note
10438.8    10344.2       timex ffmpeg -y -i tulip2.mp4 tulip2.yuv
25611.9    24256.9       timex ffmpeg -y -itulip2.mp4 -s 1272x724 tulip2.yuv
24485.7    26006.6
28573.1    24291.3
24069.1    26995.9
25684.95   25387.675     average

This is on a Nehalem i7.  Despite being a 500 frame, 720p video, the numbers
fluctuate, so I took an average of 4 runs.

Another reason I'd like this change is youtube accepts videos with higher
resolutions than 5120.
16384 is vp8's maximum resolution, so that should keep us amused for a
little longer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoA few points for the changelog
Michael Niedermayer [Sun, 27 Mar 2011 01:06:24 +0000 (03:06 +0200)]
A few points for the changelog

8 years agoFix compilation with win32 threads.after 'unbreak avcodec_thread_init'
Maksym Veremeyenko [Wed, 30 Mar 2011 10:36:15 +0000 (12:36 +0200)]
Fix compilation with win32 threads.after 'unbreak avcodec_thread_init'

8 years agoAlso use alsa_reorder_s16_out_51() for AV_CH_LAYOUT_5POINT1.
Carl Eugen Hoyos [Sat, 26 Mar 2011 23:32:47 +0000 (00:32 +0100)]
Also use alsa_reorder_s16_out_51() for AV_CH_LAYOUT_5POINT1.

8 years agoFix buffer overflow checks to avoid integer overflows.
Reimar Döffinger [Tue, 29 Mar 2011 19:14:55 +0000 (21:14 +0200)]
Fix buffer overflow checks to avoid integer overflows.

8 years agoavio: make get_checksum() internal.
Anton Khirnov [Thu, 17 Mar 2011 12:04:38 +0000 (13:04 +0100)]
avio: make get_checksum() internal.

8 years agoavio: move ff_crc04C11DB7_update() from avio.h -> avio_internal.h
Anton Khirnov [Thu, 17 Mar 2011 12:02:54 +0000 (13:02 +0100)]
avio: move ff_crc04C11DB7_update() from avio.h -> avio_internal.h

8 years agoavio: make init_checksum() internal.
Anton Khirnov [Thu, 17 Mar 2011 11:56:25 +0000 (12:56 +0100)]
avio: make init_checksum() internal.

8 years agoAdd MxPEG decoder
anatoly [Mon, 28 Mar 2011 16:02:19 +0000 (20:02 +0400)]
Add MxPEG decoder

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoAdd support for picture_ptr field in MJpegDecodeContext
anatoly [Sun, 27 Mar 2011 20:16:25 +0000 (22:16 +0200)]
Add support for picture_ptr field in MJpegDecodeContext

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoMove MJPEG's input buffer preprocessing in separate public function
anatoly [Sun, 27 Mar 2011 20:16:24 +0000 (22:16 +0200)]
Move MJPEG's input buffer preprocessing in separate public function

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoSupport reference picture defined by bitmask in MJPEG's SOS decoder
anatoly [Sun, 27 Mar 2011 20:16:23 +0000 (22:16 +0200)]
Support reference picture defined by bitmask in MJPEG's SOS decoder

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agosndio bug fix
Brad [Tue, 29 Mar 2011 23:37:57 +0000 (19:37 -0400)]
sndio bug fix

Since the code already supports both little- and big-endian
audio for recording, do not fail just because the endianness is not
what we expect.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoMerge remote-tracking branch 'newdev/master'
Michael Niedermayer [Wed, 30 Mar 2011 01:01:41 +0000 (03:01 +0200)]
Merge remote-tracking branch 'newdev/master'

* newdev/master:
  ac3enc: move compute_mantissa_size() to ac3dsp
  ac3enc: move mant*_cnt and qmant*_ptr out of AC3EncodeContext
  Remove support for stripping executables
  ac3enc: NEON optimised float_to_fixed24
  ac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp
  dfa: protect pointer range checks against overflows.
Duplicate:  mimic: implement multithreading.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'ffmpeg-mt/master'
Michael Niedermayer [Wed, 30 Mar 2011 00:58:38 +0000 (02:58 +0200)]
Merge remote-tracking branch 'ffmpeg-mt/master'

* ffmpeg-mt/master:
  Update todo. More items appeared...
  Fix mdec
Duplicate:  id3v1: change filesize to int64_t.
Duplicate:  id3v1: Seek back to old position after reading.

Conflicts:
    libavcodec/mpegvideo.c
    libavcodec/snow.c
    libavformat/id3v1.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoac3enc: move compute_mantissa_size() to ac3dsp
Mans Rullgard [Fri, 11 Mar 2011 17:16:27 +0000 (17:16 +0000)]
ac3enc: move compute_mantissa_size() to ac3dsp

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoac3enc: move mant*_cnt and qmant*_ptr out of AC3EncodeContext
Mans Rullgard [Sun, 13 Mar 2011 16:22:07 +0000 (16:22 +0000)]
ac3enc: move mant*_cnt and qmant*_ptr out of AC3EncodeContext

These fields are only used in quantize_mantissas() and reset
on each call, no need to store them in the main context.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agomp: add filter description to filters.texi
Stefano Sabatini [Sun, 27 Mar 2011 22:14:41 +0000 (00:14 +0200)]
mp: add filter description to filters.texi

8 years agoRemove support for stripping executables
Mans Rullgard [Tue, 29 Mar 2011 19:50:26 +0000 (20:50 +0100)]
Remove support for stripping executables

Stripping is generally best left to package management tools, and
since unstripped copies are kept in the build tree, any arguments
about saving space (no matter how insignificant) are void.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoac3enc: NEON optimised float_to_fixed24
Mans Rullgard [Tue, 29 Mar 2011 01:30:13 +0000 (02:30 +0100)]
ac3enc: NEON optimised float_to_fixed24

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp
Mans Rullgard [Fri, 11 Mar 2011 02:49:55 +0000 (02:49 +0000)]
ac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agosndio: allow any endianness when recording
Reimar Döffinger [Tue, 29 Mar 2011 18:20:29 +0000 (20:20 +0200)]
sndio: allow any endianness when recording

Since the code already supports both little- and big-endian
audio for recording, do not fail just because the endianness is not
what we expect.
It is possible that 8-bit recording would not have worked at all on
some systems without that change.

8 years agoSimplify: Use FFMIN.
Reimar Döffinger [Tue, 29 Mar 2011 18:18:45 +0000 (20:18 +0200)]
Simplify: Use FFMIN.

8 years agodfa: protect pointer range checks against overflows.
Ronald S. Bultje [Tue, 29 Mar 2011 14:14:44 +0000 (07:14 -0700)]
dfa: protect pointer range checks against overflows.

8 years agovaapi: filter out DELAYED_PIC_REF flag to determine field.
Gwenole Beauchesne [Mon, 28 Mar 2011 13:55:41 +0000 (15:55 +0200)]
vaapi: filter out DELAYED_PIC_REF flag to determine field.

This fixes ticket #23.

8 years agovaapi: disable if check_lib failed.
Gwenole Beauchesne [Tue, 29 Mar 2011 07:12:03 +0000 (09:12 +0200)]
vaapi: disable if check_lib failed.

8 years agovaapi: cope with VA-API 0.32, i.e. fix VC-1 decoding on Sandy Bridge.
Gwenole Beauchesne [Thu, 27 Jan 2011 15:01:43 +0000 (16:01 +0100)]
vaapi: cope with VA-API 0.32, i.e. fix VC-1 decoding on Sandy Bridge.

8 years agomimic: implement multithreading.
Alexander Strange [Tue, 29 Mar 2011 04:44:38 +0000 (21:44 -0700)]
mimic: implement multithreading.

8 years agoFix check for new enough CrystalHD library.
Gwenole Beauchesne [Mon, 28 Mar 2011 08:18:58 +0000 (10:18 +0200)]
Fix check for new enough CrystalHD library.

Signed-off-by: Philip Langdale <philipl@overt.org>
8 years agoid3v1: change filesize to int64_t.
Carl Eugen Hoyos [Fri, 25 Mar 2011 18:46:28 +0000 (19:46 +0100)]
id3v1: change filesize to int64_t.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoid3v1: Seek back to old position after reading.
Carl Eugen Hoyos [Fri, 25 Mar 2011 18:46:27 +0000 (19:46 +0100)]
id3v1: Seek back to old position after reading.

FFmpeg did not seek back to the original position, but to "0", making
reading a VBR tag impossible.
(issue 2645)

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoMerge remote-tracking branch 'newdev/master'
Michael Niedermayer [Tue, 29 Mar 2011 00:46:11 +0000 (02:46 +0200)]
Merge remote-tracking branch 'newdev/master'

* newdev/master:
  ac3enc: avoid memcpy() of exponents and baps in EXP_REUSE case by using exponent reference blocks.
  Chronomaster DFA decoder
DUPLICATE:  framebuffer device demuxer
NOT MERGED: cosmetics: fix dashed line length after 070c5d0
  http: header field names are case insensitive

Conflicts:
LICENSE
README
doc/indevs.texi
libavdevice/fbdev.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoAdd crystalhd maintainer
Michael Niedermayer [Tue, 29 Mar 2011 00:13:33 +0000 (02:13 +0200)]
Add crystalhd maintainer

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoRevert some silly renamings that leaked in from a pull.
Michael Niedermayer [Mon, 28 Mar 2011 19:57:00 +0000 (21:57 +0200)]
Revert some silly renamings that leaked in from a pull.

8 years agomp: extend syntax, make it accept mp=filter=params
Stefano Sabatini [Sun, 27 Mar 2011 22:03:19 +0000 (00:03 +0200)]
mp: extend syntax, make it accept mp=filter=params

Make the mp wrapper accept the syntax mp=filter=params as alternative
to mp=filter:params. The alternative syntax is sligthly more readable
and should simplify copy&paste of MPlayer filter strings to the mp
filter.

8 years agodocumentation: sort filter descriptions in filters.texi
Stefano Sabatini [Sun, 27 Mar 2011 21:02:24 +0000 (23:02 +0200)]
documentation: sort filter descriptions in filters.texi

Change position of the fade filter description, put it between
drawtext and fifo descriptions.

8 years agodocumentation: extend documentation for ffmpeg -aspect option
Stefano Sabatini [Sat, 26 Mar 2011 15:17:18 +0000 (16:17 +0100)]
documentation: extend documentation for ffmpeg -aspect option

8 years agosndio: prefer "FFmpeg" over "Libav" in the license header
Stefano Sabatini [Mon, 28 Mar 2011 14:07:08 +0000 (16:07 +0200)]
sndio: prefer "FFmpeg" over "Libav" in the license header

8 years agoUse consistent condition for whether to run slice-threading execute function.
Reimar Döffinger [Sun, 27 Mar 2011 12:38:21 +0000 (14:38 +0200)]
Use consistent condition for whether to run slice-threading execute function.

8 years agoUnbreak avcodec_thread_init
Reimar Döffinger [Sat, 26 Mar 2011 12:55:30 +0000 (13:55 +0100)]
Unbreak avcodec_thread_init

avcodec_thread_init currently doesn't do anything at all with pthreads enabled.

8 years agoac3enc: avoid memcpy() of exponents and baps in EXP_REUSE case by using
Justin Ruggles [Mon, 28 Mar 2011 18:01:27 +0000 (14:01 -0400)]
ac3enc: avoid memcpy() of exponents and baps in EXP_REUSE case by using
exponent reference blocks.

8 years agoChronomaster DFA decoder
Kostya Shishkov [Tue, 15 Mar 2011 08:37:48 +0000 (09:37 +0100)]
Chronomaster DFA decoder

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoframebuffer device demuxer
Stefano Sabatini [Mon, 7 Mar 2011 17:54:52 +0000 (18:54 +0100)]
framebuffer device demuxer

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoFix compilation failure with runtime cpudetect (Ticket #22)
Michael Niedermayer [Mon, 28 Mar 2011 14:46:45 +0000 (16:46 +0200)]
Fix compilation failure with runtime cpudetect (Ticket #22)

8 years agocosmetics: fix dashed line length after 070c5d0
Janne Grunau [Mon, 28 Mar 2011 07:53:40 +0000 (09:53 +0200)]
cosmetics: fix dashed line length after 070c5d0

8 years agohttp: header field names are case insensitive
Tyler [Sun, 27 Mar 2011 00:59:09 +0000 (17:59 -0700)]
http: header field names are case insensitive

Amazon S3 sends header field names all lowercase.
This is actually acceptable according to the HTTP standard.

http://tools.ietf.org/html/rfc2616#section-4.2

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