OSDN Git Service

android-x86/external-ffmpeg.git
12 years agosunrastenc: set keyframe flag for the output packet.
Aneesh Dogra [Fri, 17 Feb 2012 20:08:01 +0000 (01:38 +0530)]
sunrastenc: set keyframe flag for the output packet.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agompegvideo_enc: switch to encode2().
Anton Khirnov [Fri, 10 Feb 2012 09:30:05 +0000 (10:30 +0100)]
mpegvideo_enc: switch to encode2().

12 years agompegvideo_enc: force encoding delay of at least 1 frame when low_delay=0
Anton Khirnov [Sat, 18 Feb 2012 08:08:23 +0000 (09:08 +0100)]
mpegvideo_enc: force encoding delay of at least 1 frame when low_delay=0

This allows the following commit to extrapolate better dts for the first
frame. Pts difference between the first two frames is reused as the
difference between pts and dts of the first frame.

12 years agomov: Use defines for sample flags in fragments
Martin Storsjö [Thu, 16 Feb 2012 20:12:12 +0000 (21:12 +0100)]
mov: Use defines for sample flags in fragments

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agomov: Use defines for trun flags
Martin Storsjö [Thu, 16 Feb 2012 19:58:09 +0000 (20:58 +0100)]
mov: Use defines for trun flags

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agomov: Use defines for tfhd flags
Martin Storsjö [Thu, 16 Feb 2012 19:48:30 +0000 (20:48 +0100)]
mov: Use defines for tfhd flags

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoproresenc: force bitrate not to exceed given limit
Kostya Shishkov [Wed, 15 Feb 2012 20:04:12 +0000 (21:04 +0100)]
proresenc: force bitrate not to exceed given limit

Apple ProRes Format Specifications mentions target data size for every frame,
so make sure frame meets it. This also allows encoder to demand much smaller
packet sizes for output.

12 years agovc1parse: call vc1_init_common().
Ronald S. Bultje [Fri, 17 Feb 2012 22:18:22 +0000 (14:18 -0800)]
vc1parse: call vc1_init_common().

The parser uses VLC tables initialized in vc1_common_init(), therefore
we should call this function on parser init also.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years agowma: don't return 0 on invalid packets.
Ronald S. Bultje [Sat, 18 Feb 2012 00:57:00 +0000 (16:57 -0800)]
wma: don't return 0 on invalid packets.

Return 0 means "please return the same data again", i.e. it causes an
infinite loop. Instead, return an error.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years agoasf: prevent packet_size_left from going negative if hdrlen > pktlen.
Ronald S. Bultje [Fri, 17 Feb 2012 20:21:18 +0000 (12:21 -0800)]
asf: prevent packet_size_left from going negative if hdrlen > pktlen.

This prevents failed assertions further down in the packet processing
where we require non-negative values for packet_size_left.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years agomjpegb: don't return 0 at the end of frame decoding.
Ronald S. Bultje [Sat, 18 Feb 2012 00:27:36 +0000 (16:27 -0800)]
mjpegb: don't return 0 at the end of frame decoding.

Return 0 indicates "please return the same data again", i.e. it causes
an infinite loop. Instead, return that we consumed the buffer if we
finished decoding succesfully, or return an error if an error occurred.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years agortpdec: Identify incorrectly signalled H263
Martin Storsjö [Fri, 17 Feb 2012 08:27:41 +0000 (10:27 +0200)]
rtpdec: Identify incorrectly signalled H263

H263 in RTP can be packetized in two formats (RFC 2190, RFC
2429/4629). The former normally uses the static payload type 34,
while the latter normally uses dynamic payload types with the
SDP format names H263-1998 or H263-2000.

Look for packets that don't look like proper RFC 2190 packets and
switch to depacketizing them according to the new format if they
match some heuristic criteria.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agovp8dsp: split long line.
Ronald S. Bultje [Fri, 17 Feb 2012 05:42:55 +0000 (21:42 -0800)]
vp8dsp: split long line.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoaiff: don't skip block_align==0 check on COMM-after-SSND files.
Ronald S. Bultje [Fri, 17 Feb 2012 23:51:27 +0000 (15:51 -0800)]
aiff: don't skip block_align==0 check on COMM-after-SSND files.

This prevents SIGFPEs when using block_align for divisions.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years agodpcm: ignore extra unpaired bytes in stereo streams.
Alex Converse [Fri, 17 Feb 2012 22:13:40 +0000 (14:13 -0800)]
dpcm: ignore extra unpaired bytes in stereo streams.

Fixes: CVE-2011-3951

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
12 years agomp3on4: require a minimum framesize.
Ronald S. Bultje [Fri, 17 Feb 2012 23:20:27 +0000 (15:20 -0800)]
mp3on4: require a minimum framesize.

If bufsize < headersize, init_get_bits() will be called with a negative
number, causing it to fail and any subsequent call to get_bits() will
crash because it reads from a NULL pointer.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years agompc7: assign an error level + context to av_log() msg.
Ronald S. Bultje [Fri, 17 Feb 2012 22:51:29 +0000 (14:51 -0800)]
mpc7: assign an error level + context to av_log() msg.

12 years agohuffyuv: error out on bit overrun.
Ronald S. Bultje [Fri, 17 Feb 2012 23:00:47 +0000 (15:00 -0800)]
huffyuv: error out on bit overrun.

On EOF, get_bits() will continuously return 0, causing an infinite
loop.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years agodct-test: Add the missing ff_ prefix to the altivec functions
Martin Storsjö [Fri, 17 Feb 2012 21:12:25 +0000 (23:12 +0200)]
dct-test: Add the missing ff_ prefix to the altivec functions

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agodct-test: Remove a stray declaration of a nonexistent function
Martin Storsjö [Fri, 17 Feb 2012 21:10:21 +0000 (23:10 +0200)]
dct-test: Remove a stray declaration of a nonexistent function

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agomovenc: Write the unknown duration as 64 bit fields in ismv
Martin Storsjö [Fri, 17 Feb 2012 12:40:24 +0000 (14:40 +0200)]
movenc: Write the unknown duration as 64 bit fields in ismv

This is required for the files to play back properly in
windows media player.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agomovenc: Write track durations with all bits set if duration is unknown
Martin Storsjö [Fri, 27 Jan 2012 22:28:19 +0000 (00:28 +0200)]
movenc: Write track durations with all bits set if duration is unknown

According to 14496-12, the duration should be all 1s if
the duration is unknown. This is the case if writing a moov
atom without any samples described in it (e.g. as in ismv files).

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoals: prevent infinite loop in zero_remaining().
Ronald S. Bultje [Fri, 17 Feb 2012 20:28:26 +0000 (12:28 -0800)]
als: prevent infinite loop in zero_remaining().

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years agocook: prevent div-by-zero if channels is zero.
Ronald S. Bultje [Fri, 17 Feb 2012 20:10:33 +0000 (12:10 -0800)]
cook: prevent div-by-zero if channels is zero.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years agopamenc: switch to encode2().
Anton Khirnov [Mon, 13 Feb 2012 11:00:38 +0000 (12:00 +0100)]
pamenc: switch to encode2().

12 years agosvq1enc: switch to encode2().
Anton Khirnov [Mon, 13 Feb 2012 11:00:38 +0000 (12:00 +0100)]
svq1enc: switch to encode2().

12 years agodvenc: switch to encode2().
Anton Khirnov [Mon, 13 Feb 2012 11:00:38 +0000 (12:00 +0100)]
dvenc: switch to encode2().

12 years agodpxenc: switch to encode2().
Anton Khirnov [Mon, 13 Feb 2012 11:00:38 +0000 (12:00 +0100)]
dpxenc: switch to encode2().

12 years agopngenc: switch to encode2().
Anton Khirnov [Sun, 12 Feb 2012 08:32:40 +0000 (09:32 +0100)]
pngenc: switch to encode2().

12 years agov210enc: switch to encode2().
Anton Khirnov [Sun, 12 Feb 2012 08:32:40 +0000 (09:32 +0100)]
v210enc: switch to encode2().

12 years agoxwdenc: switch to encode2().
Anton Khirnov [Sun, 12 Feb 2012 08:32:40 +0000 (09:32 +0100)]
xwdenc: switch to encode2().

12 years agottadec: use branchless unsigned-to-signed unfolding
Justin Ruggles [Fri, 17 Feb 2012 02:51:03 +0000 (21:51 -0500)]
ttadec: use branchless unsigned-to-signed unfolding

12 years agoavcodec: add a Sun Rasterfile encoder
Aneesh Dogra [Thu, 16 Feb 2012 21:08:51 +0000 (02:38 +0530)]
avcodec: add a Sun Rasterfile encoder

Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years agosunrast: Move common defines to a new header file.
Aneesh Dogra [Thu, 16 Feb 2012 20:17:34 +0000 (01:47 +0530)]
sunrast: Move common defines to a new header file.

Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years agocdxl: fix video decoding for some files
Paul B Mahol [Fri, 17 Feb 2012 17:42:36 +0000 (17:42 +0000)]
cdxl: fix video decoding for some files

Width is padded for ham encodings too.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years agocdxl: fix audio for some samples
Paul B Mahol [Thu, 16 Feb 2012 21:48:57 +0000 (21:48 +0000)]
cdxl: fix audio for some samples

There may be extra padding at and of chunk.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years agoapetag: add proper support for binary tags
Paul B Mahol [Mon, 13 Feb 2012 15:01:54 +0000 (15:01 +0000)]
apetag: add proper support for binary tags

export as attachment streams

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years agottadec: remove dead code
Paul B Mahol [Fri, 17 Feb 2012 17:01:22 +0000 (17:01 +0000)]
ttadec: remove dead code

The unused code being removed is for encoding only and therefore is not needed
by the decoder.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years agoswscale: make access to filter data conditional on filter type.
Ronald S. Bultje [Fri, 17 Feb 2012 18:30:48 +0000 (10:30 -0800)]
swscale: make access to filter data conditional on filter type.

Prevents crashes on 1-tap filter (unscaled). Also rename "bguf" argument
to "vbuf", seems that was a typo.

12 years agoswscale: update context offsets after removal of AlpMmxFilter.
Ronald S. Bultje [Fri, 17 Feb 2012 18:16:02 +0000 (10:16 -0800)]
swscale: update context offsets after removal of AlpMmxFilter.

12 years agoprores: initialise encoder and decoder parts only when needed
Kostya Shishkov [Fri, 17 Feb 2012 08:46:53 +0000 (09:46 +0100)]
prores: initialise encoder and decoder parts only when needed

12 years agoswscale: make monowhite/black RGB-independent.
Ronald S. Bultje [Fri, 17 Feb 2012 04:28:14 +0000 (20:28 -0800)]
swscale: make monowhite/black RGB-independent.

Disadvantage is that it no longer allows modifying brightness through
adjustment of the RGB lookup table. Advantage is that now monowhite/black
no longer need to be identified as a RGB format.

12 years agoflac: fix infinite loops on all-zero input or end-of-stream.
Ronald S. Bultje [Wed, 15 Feb 2012 17:52:11 +0000 (09:52 -0800)]
flac: fix infinite loops on all-zero input or end-of-stream.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years agowmapro: change max. block size to 13 bits.
Ronald S. Bultje [Thu, 16 Feb 2012 21:51:17 +0000 (13:51 -0800)]
wmapro: change max. block size to 13 bits.

WMApro actually support 13-bits block sizes (potentially even up to 14),
and thus we should support that also. If we get block sizes beyond what
the decoder can handle (14 is possible depending on s->decode_flags),
error out instead of crashing.

12 years agoshorten: Use separate pointers for the allocated memory for decoded samples.
Michael Niedermayer [Sun, 25 Dec 2011 11:28:50 +0000 (12:28 +0100)]
shorten: Use separate pointers for the allocated memory for decoded samples.

Fixes invalid free() if any of the buffers are not allocated due to either
not decoding a header or an error prior to allocating all buffers.

Fixes CVE-2012-0858
CC: libav-stable@libav.org
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years agoatrac3: Fix crash in tonal component decoding.
Michael Niedermayer [Sat, 17 Dec 2011 02:18:58 +0000 (03:18 +0100)]
atrac3: Fix crash in tonal component decoding.

Add a check to avoid writing past the end of the channel_unit.components[]
array.

Bug Found by: cosminamironesei
Fixes CVE-2012-0853
CC: libav-stable@libav.org
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years agows_snd1: Fix wrong samples counts.
Michael Niedermayer [Sat, 24 Dec 2011 23:10:27 +0000 (00:10 +0100)]
ws_snd1: Fix wrong samples counts.

This makes the check that avoids overwrite of the samples array actually
work properly.

fixes CVE-2012-0848
CC: libav-stable@libav.org
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years agomovenc: Don't set a default sample duration when creating ismv
Martin Storsjö [Tue, 31 Jan 2012 13:23:26 +0000 (15:23 +0200)]
movenc: Don't set a default sample duration when creating ismv

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortp: Factorize the check for distinguishing RTCP packets from RTP
Martin Storsjö [Thu, 16 Feb 2012 16:31:03 +0000 (17:31 +0100)]
rtp: Factorize the check for distinguishing RTCP packets from RTP

The binary doesn't change after this patch.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agogolomb: avoid infinite loop on all-zero input (or end of buffer).
Ronald S. Bultje [Tue, 14 Feb 2012 19:50:57 +0000 (11:50 -0800)]
golomb: avoid infinite loop on all-zero input (or end of buffer).

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years agobethsoftvid: synchronize video timestamps with audio sample rate
Justin Ruggles [Thu, 19 Jan 2012 01:24:30 +0000 (20:24 -0500)]
bethsoftvid: synchronize video timestamps with audio sample rate

According to unofficial documentation, the video rate is locked to the audio
sample rate. This results in proper synchronization of audio and video
timestamps from the demuxer. This only works if the first audio packet occurs
before the first video packet or the audio sample rate is the default rate of
11111 Hz, both of which are true for all samples in our archive.

12 years agobethsoftvid: add audio stream only after getting the first audio packet
Justin Ruggles [Thu, 19 Jan 2012 00:50:37 +0000 (19:50 -0500)]
bethsoftvid: add audio stream only after getting the first audio packet

This avoids initializing a stream with dummy values or when the file does not
contain audio.
Also set duration for audio packets, using the sample rate as the time base.

12 years agobethsoftvid: Set video packet duration instead of accumulating pts.
Justin Ruggles [Wed, 18 Jan 2012 23:58:54 +0000 (18:58 -0500)]
bethsoftvid: Set video packet duration instead of accumulating pts.

12 years agobethsoftvid: set packet key frame flag for audio and I-frame video packets.
Justin Ruggles [Wed, 18 Jan 2012 23:48:32 +0000 (18:48 -0500)]
bethsoftvid: set packet key frame flag for audio and I-frame video packets.

Fixes avconv video stream copy of bethsoft video, which was skipping all
video frames unless the copyinkf option was used.

12 years agobethsoftvid: fix read_packet() return codes.
Justin Ruggles [Wed, 18 Jan 2012 23:46:38 +0000 (18:46 -0500)]
bethsoftvid: fix read_packet() return codes.

Use proper AVERROR codes, and return 0 for no error.

12 years agobethsoftvid: pass palette in side data instead of in a separate packet.
Justin Ruggles [Wed, 18 Jan 2012 20:45:47 +0000 (15:45 -0500)]
bethsoftvid: pass palette in side data instead of in a separate packet.

Update FATE reference to account for now non-existent palette packet.
This also fixes the FATE test if frame data is not initialized in
get_buffer(), so update comment in avconv accordingly.

12 years agosdp: Ignore RTCP packets when autodetecting RTP streams
Martin Storsjö [Mon, 13 Feb 2012 15:05:43 +0000 (17:05 +0200)]
sdp: Ignore RTCP packets when autodetecting RTP streams

The rtp demuxer which listens for RTP packets and detects the
RTP payload type will currently get confused if the first packet
received is an RTCP packet. Thus ignore such packets.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoproresenc: initialise 'sign' variable
Kostya Shishkov [Wed, 15 Feb 2012 19:52:11 +0000 (20:52 +0100)]
proresenc: initialise 'sign' variable

12 years agompegaudio: replace memcpy by SIMD code
Christophe GISQUET [Wed, 18 Jan 2012 21:34:29 +0000 (22:34 +0100)]
mpegaudio: replace memcpy by SIMD code

By replacing memcpy with an unrolled loop using the alignment knowledge
it has, some speedup can be obtained.

Before (gcc 4.6.1): ~400 cycles
After: ~370 cycles

Overall, around 2% speed increase when decoding a 2400s mp3 to f32le.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agovc1: prevent using last_frame as a reference for I/P first frame.
Ronald S. Bultje [Tue, 14 Feb 2012 20:40:19 +0000 (12:40 -0800)]
vc1: prevent using last_frame as a reference for I/P first frame.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
12 years agoppc: Add ff_ prefix to nonstatic symbols
Martin Storsjö [Wed, 15 Feb 2012 12:42:56 +0000 (14:42 +0200)]
ppc: Add ff_ prefix to nonstatic symbols

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agosh4: Add ff_ prefix to nonstatic symbols
Martin Storsjö [Wed, 15 Feb 2012 12:15:40 +0000 (14:15 +0200)]
sh4: Add ff_ prefix to nonstatic symbols

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agompegvideo: Add ff_ prefix to nonstatic functions
Martin Storsjö [Wed, 15 Feb 2012 12:10:33 +0000 (14:10 +0200)]
mpegvideo: Add ff_ prefix to nonstatic functions

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortjpeg: Add ff_ prefix to nonstatic symbols
Martin Storsjö [Wed, 15 Feb 2012 11:55:19 +0000 (13:55 +0200)]
rtjpeg: Add ff_ prefix to nonstatic symbols

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agorv: Add ff_ prefix to nonstatic symbols
Martin Storsjö [Wed, 15 Feb 2012 11:54:05 +0000 (13:54 +0200)]
rv: Add ff_ prefix to nonstatic symbols

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agovp56: Add ff_ prefix to nonstatic symbols
Martin Storsjö [Wed, 15 Feb 2012 11:51:57 +0000 (13:51 +0200)]
vp56: Add ff_ prefix to nonstatic symbols

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agovorbis: Add ff_ prefix to nonstatic symbols
Martin Storsjö [Wed, 15 Feb 2012 11:46:40 +0000 (13:46 +0200)]
vorbis: Add ff_ prefix to nonstatic symbols

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agomsmpeg4: Add ff_ prefix to nonstatic symbols
Martin Storsjö [Wed, 15 Feb 2012 11:05:06 +0000 (13:05 +0200)]
msmpeg4: Add ff_ prefix to nonstatic symbols

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agovc1: Add ff_ prefix to nonstatic symbols
Martin Storsjö [Wed, 15 Feb 2012 11:00:08 +0000 (13:00 +0200)]
vc1: Add ff_ prefix to nonstatic symbols

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agomsmpeg4: Add ff_ prefixes to nonstatic symbols
Martin Storsjö [Wed, 15 Feb 2012 10:56:41 +0000 (12:56 +0200)]
msmpeg4: Add ff_ prefixes to nonstatic symbols

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agosnow: Add ff_ prefix to nonstatic symbols
Martin Storsjö [Wed, 15 Feb 2012 10:43:58 +0000 (12:43 +0200)]
snow: Add ff_ prefix to nonstatic symbols

This allows getting rid of a hack for conflicting symbol/define
names.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agompeg12: Add ff_ prefix to nonstatic symbols
Martin Storsjö [Wed, 15 Feb 2012 10:38:52 +0000 (12:38 +0200)]
mpeg12: Add ff_ prefix to nonstatic symbols

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agompeg4: Add ff_ prefixes to nonstatic symbols
Martin Storsjö [Wed, 15 Feb 2012 10:36:50 +0000 (12:36 +0200)]
mpeg4: Add ff_ prefixes to nonstatic symbols

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agolagarith: Add ff_ prefix to lag_rac_init
Martin Storsjö [Wed, 15 Feb 2012 10:30:15 +0000 (12:30 +0200)]
lagarith: Add ff_ prefix to lag_rac_init

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agolibavcodec: Add ff_ prefix to j_rev_dct*
Martin Storsjö [Wed, 15 Feb 2012 10:29:24 +0000 (12:29 +0200)]
libavcodec: Add ff_ prefix to j_rev_dct*

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agodsputil: Add ff_ prefix to inv_zigzag_direct16
Martin Storsjö [Wed, 15 Feb 2012 10:26:15 +0000 (12:26 +0200)]
dsputil: Add ff_ prefix to inv_zigzag_direct16

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agolibavcodec: Prefix fdct_ifast, fdct_ifast248
Martin Storsjö [Wed, 15 Feb 2012 10:10:21 +0000 (12:10 +0200)]
libavcodec: Prefix fdct_ifast, fdct_ifast248

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agodsputil: Add ff_ prefix to the dsputil*_init* functions
Martin Storsjö [Wed, 15 Feb 2012 10:06:44 +0000 (12:06 +0200)]
dsputil: Add ff_ prefix to the dsputil*_init* functions

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agolibavcodec: Add ff_ prefix to some nonstatic symbols
Martin Storsjö [Wed, 15 Feb 2012 09:40:48 +0000 (11:40 +0200)]
libavcodec: Add ff_ prefix to some nonstatic symbols

Prefix the functions atrac_generate_tables, atrac_iqmf, dct_quantize_c.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agovlc/rl: Add ff_ prefix to the nonstatic symbols
Martin Storsjö [Thu, 9 Feb 2012 09:37:58 +0000 (11:37 +0200)]
vlc/rl: Add ff_ prefix to the nonstatic symbols

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoh263: Add ff_ prefix to nonstatic symbols
Martin Storsjö [Thu, 9 Feb 2012 09:28:46 +0000 (11:28 +0200)]
h263: Add ff_ prefix to nonstatic symbols

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agolibavformat: Add an ff_ prefix to some lavf internal symbols
Martin Storsjö [Wed, 15 Feb 2012 09:28:39 +0000 (11:28 +0200)]
libavformat: Add an ff_ prefix to some lavf internal symbols

Prefix the functions/tables brktimegm, pcm_read_seek,
dv_offset_reset, voc_get_packet, codec_movaudio_tags,
codec_movvideo_tags.

After this, lavf has no global symbols without the proper prefix.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agompegvideo: Remove a leftover function declaration
Martin Storsjö [Wed, 15 Feb 2012 09:44:31 +0000 (11:44 +0200)]
mpegvideo: Remove a leftover function declaration

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortsp: Make rtsp_demuxer_class static
Martin Storsjö [Wed, 15 Feb 2012 09:37:35 +0000 (11:37 +0200)]
rtsp: Make rtsp_demuxer_class static

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoprores encoder
Kostya Shishkov [Thu, 2 Feb 2012 19:54:53 +0000 (20:54 +0100)]
prores encoder

12 years agoprores: move data shared between decoder and encoder to common file
Kostya Shishkov [Sat, 10 Dec 2011 12:40:39 +0000 (13:40 +0100)]
prores: move data shared between decoder and encoder to common file

12 years agoprores: fix multithreaded decoding case when slice quantisers are not the same
Kostya Shishkov [Mon, 13 Feb 2012 18:27:48 +0000 (19:27 +0100)]
prores: fix multithreaded decoding case when slice quantisers are not the same

Since quantisation matrices are stored in context, decoding slices with
different quantisers in parallel leads to unpredictable content of
aforementioned matrices and wrong output picture thereof.

12 years agoCDXL demuxer and decoder
Paul B Mahol [Tue, 14 Feb 2012 17:36:20 +0000 (17:36 +0000)]
CDXL demuxer and decoder

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agohls: Re-add legacy applehttp name to preserve interface compatibility.
Alex Converse [Tue, 14 Feb 2012 19:17:00 +0000 (11:17 -0800)]
hls: Re-add legacy applehttp name to preserve interface compatibility.

12 years agohlsproto: Rename the functions and context
Martin Storsjö [Tue, 14 Feb 2012 10:16:31 +0000 (12:16 +0200)]
hlsproto: Rename the functions and context

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agohlsproto: Encourage users to try the hls demuxer instead of the proto
Martin Storsjö [Tue, 14 Feb 2012 10:09:09 +0000 (12:09 +0200)]
hlsproto: Encourage users to try the hls demuxer instead of the proto

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agodoc: Move the hls protocol section into the right place
Martin Storsjö [Tue, 14 Feb 2012 10:04:50 +0000 (12:04 +0200)]
doc: Move the hls protocol section into the right place

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agolibavformat: Rename the applehttp protocol to hls
Martin Storsjö [Tue, 14 Feb 2012 10:00:49 +0000 (12:00 +0200)]
libavformat: Rename the applehttp protocol to hls

Keep the old protocol name around for backwards compatibility
until the next bump.

Deprecate the method of implicitly assuming the nested protocol.
For applehttp://server/path, it might have felt logical, but
supporting hls://server/path isn't quite as intuitive. Therefore
only support hls+http://server/path from now on.

Using this protocol at all is discouraged, since the hls demuxer
is more complete and fits into the architecture better. There
have been cases where the protocol implementation worked better
than the demuxer, but this should no longer be the case.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agohls: Rename the functions and context
Martin Storsjö [Tue, 14 Feb 2012 09:50:51 +0000 (11:50 +0200)]
hls: Rename the functions and context

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agolibavformat: Rename the applehttp demuxer to hls
Martin Storsjö [Tue, 14 Feb 2012 09:47:31 +0000 (11:47 +0200)]
libavformat: Rename the applehttp demuxer to hls

When this demuxer was created, there didn't seem to be any
consensus of a common short name for this protocol. Now
the consensus seems to be to call it hls.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortpdec: Support H263 in RFC 2190 format
Martin Storsjö [Tue, 7 Feb 2012 14:15:26 +0000 (16:15 +0200)]
rtpdec: Support H263 in RFC 2190 format

This is different from the "modern" RTP payload formats for H263
as defined by RFC 4629, 2429 and 3555. According to the newer RFCs,
this old one is to be considered deprecated and only be used for
interoperating with legacy systems.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agorv30: check block type validity
Janne Grunau [Tue, 14 Feb 2012 14:02:30 +0000 (15:02 +0100)]
rv30: check block type validity

Prevents crashes with the fuzzed samples from bugs 88, 89 and 125 after
"golomb: avoid infinite loop on all-zero input".

12 years agottadec: CRC checking
Paul B Mahol [Sat, 11 Feb 2012 21:30:30 +0000 (21:30 +0000)]
ttadec: CRC checking

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years agomovenc: Support muxing VC1
Martin Storsjö [Sat, 21 Jan 2012 00:16:34 +0000 (02:16 +0200)]
movenc: Support muxing VC1

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoavconv: Don't split out inline sequence headers when stream copying VC1
Martin Storsjö [Mon, 23 Jan 2012 11:06:07 +0000 (13:06 +0200)]
avconv: Don't split out inline sequence headers when stream copying VC1

This is required when stream copying VC1 in ismv - there's one
global header in the moov atom, but keyframes have a separate
sequence header prepended.

Signed-off-by: Martin Storsjö <martin@martin.st>