ffmpeg.git
8 years agoljpegdec: fix point transform injection.
Michael Niedermayer [Fri, 30 Dec 2011 04:12:38 +0000 (05:12 +0100)]
ljpegdec: fix point transform injection.
Fix Ticket842

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoflvdec: Print a warning in all failure cases of parse_keyframes_index()
Michael Niedermayer [Thu, 29 Dec 2011 22:24:10 +0000 (23:24 +0100)]
flvdec: Print a warning in all failure cases of parse_keyframes_index()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoflvdec: Disable metadatacreator "MEGA" hack
Michael Niedermayer [Thu, 29 Dec 2011 22:23:34 +0000 (23:23 +0100)]
flvdec: Disable metadatacreator "MEGA" hack

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoflvdec: Check index for being valid
Michael Niedermayer [Thu, 29 Dec 2011 22:22:41 +0000 (23:22 +0100)]
flvdec: Check index for being valid
Fixes seeking in Enigma_Principles_of_Lust.flv

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 30 Dec 2011 02:46:24 +0000 (03:46 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  fate: split off DPCM codec FATE tests into their own file
  fate: split off PCM codec FATE tests into their own file
  libvorbis: K&R reformatting cosmetics
  libmp3lame: K&R formatting cosmetics
  fate: Add a video test for xxan decoder
  mpegvideo_enc: K&R cosmetics (line 1000-2000).
  avconv: K&R cosmetics
  qt-faststart: Fix up indentation
  indeo4: remove two unused variables
  doxygen: cleanup style to support older doxy
  fate: add more tests for VC-1 decoder
  applehttpproto: Apply the same reload interval changes as for the demuxer
  applehttp: Use half the target duration as interval if the playlist didn't update
  applehttp: Use the last segment duration as reload interval
  lagarith: add decode support for arith rgb24 mode

Conflicts:
avconv.c
libavcodec/libmp3lame.c
libavcodec/mpegvideo_enc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoDo not fail when decoding invalid v410 files with odd width.
Carl Eugen Hoyos [Fri, 30 Dec 2011 01:34:29 +0000 (02:34 +0100)]
Do not fail when decoding invalid v410 files with odd width.

Reviewed-by; Derek Buitenhuis

8 years agonsvdec: Check av_malloc(string_size)
Michael Niedermayer [Thu, 29 Dec 2011 20:31:22 +0000 (21:31 +0100)]
nsvdec: Check av_malloc(string_size)

This can easily be NULL as string_size can be 2g in a damaged file.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agofate: split off DPCM codec FATE tests into their own file
Diego Biurrun [Thu, 29 Dec 2011 13:03:03 +0000 (14:03 +0100)]
fate: split off DPCM codec FATE tests into their own file

8 years agofate: split off PCM codec FATE tests into their own file
Diego Biurrun [Wed, 14 Dec 2011 21:10:36 +0000 (22:10 +0100)]
fate: split off PCM codec FATE tests into their own file

8 years agoAlways assume the bmp palette as being opaque.
Carl Eugen Hoyos [Thu, 29 Dec 2011 23:48:32 +0000 (00:48 +0100)]
Always assume the bmp palette as being opaque.

8 years agolibvorbis: K&R reformatting cosmetics
Diego Biurrun [Thu, 29 Dec 2011 20:37:05 +0000 (21:37 +0100)]
libvorbis: K&R reformatting cosmetics

8 years agolibmp3lame: K&R formatting cosmetics
Aneesh Dogra [Thu, 29 Dec 2011 21:19:55 +0000 (02:49 +0530)]
libmp3lame: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years agofate: Add a video test for xxan decoder
Aneesh Dogra [Thu, 29 Dec 2011 18:58:12 +0000 (00:28 +0530)]
fate: Add a video test for xxan decoder

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agompegvideo_enc: K&R cosmetics (line 1000-2000).
Aneesh Dogra [Thu, 29 Dec 2011 18:53:54 +0000 (00:23 +0530)]
mpegvideo_enc: K&R cosmetics (line 1000-2000).

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoavconv: K&R cosmetics
Aneesh Dogra [Thu, 29 Dec 2011 20:28:29 +0000 (01:58 +0530)]
avconv: K&R cosmetics

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoindeo5: Fix null pointer dereferences of ref_mb
Michael Niedermayer [Thu, 29 Dec 2011 01:34:43 +0000 (02:34 +0100)]
indeo5: Fix null pointer dereferences of ref_mb

Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoh264_mp4toannexb_filter: pass error code through.
Michael Niedermayer [Thu, 29 Dec 2011 02:42:15 +0000 (03:42 +0100)]
h264_mp4toannexb_filter: pass error code through.

Bug-Found-by and Suggested bugfix: Tanami, Ohad
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoqt-faststart: Fix up indentation
Martin Storsjö [Thu, 29 Dec 2011 16:43:30 +0000 (18:43 +0200)]
qt-faststart: Fix up indentation

This restores indentation after 65b875d8fcc.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoindeo4: remove two unused variables
Kostya Shishkov [Thu, 29 Dec 2011 16:25:26 +0000 (17:25 +0100)]
indeo4: remove two unused variables

8 years agodoxygen: cleanup style to support older doxy
Luca Barbato [Tue, 27 Dec 2011 03:51:39 +0000 (04:51 +0100)]
doxygen: cleanup style to support older doxy

Doxygen 1.7.5.1 had been used as reference while certain distributions
provide older and not fully compatible versions.

8 years agoRevert "build: error on mixed declarations and code"
Nicolas George [Thu, 29 Dec 2011 15:30:19 +0000 (16:30 +0100)]
Revert "build: error on mixed declarations and code"

This reverts commit 9d6b2077b27980936efdc616e2f9c92a56b443fc.

This error is annoying while debugging, and if someone disables it for
convenience, it raises the odds of leaving ffmpeg unbuildable by default.

8 years agofate: add more tests for VC-1 decoder
Aneesh Dogra [Thu, 29 Dec 2011 14:29:15 +0000 (15:29 +0100)]
fate: add more tests for VC-1 decoder

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
8 years agoissdemux: Check packet_size for validity
Michael Niedermayer [Thu, 29 Dec 2011 04:05:52 +0000 (05:05 +0100)]
issdemux: Check packet_size for validity

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoqpeg: Check for overread in qpeg_decode_intra.
Michael Niedermayer [Thu, 29 Dec 2011 04:16:34 +0000 (05:16 +0100)]
qpeg: Check for overread in qpeg_decode_intra.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoapplehttpproto: Apply the same reload interval changes as for the demuxer
Andrey Utkin [Wed, 28 Dec 2011 14:55:46 +0000 (16:55 +0200)]
applehttpproto: Apply the same reload interval changes as for the demuxer

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoapplehttp: Use half the target duration as interval if the playlist didn't update
Martin Storsjö [Tue, 27 Dec 2011 11:30:55 +0000 (13:30 +0200)]
applehttp: Use half the target duration as interval if the playlist didn't update

This is mandated in draft-pantos-http-live-streaming-07, section
6.3.4.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoapplehttp: Use the last segment duration as reload interval
Andrey Utkin [Mon, 26 Dec 2011 19:25:52 +0000 (21:25 +0200)]
applehttp: Use the last segment duration as reload interval

According to draft-pantos-http-live-streaming-07, 6.3.4,
the duration of the last media segment in the playlist
should be used as initial minimum reload delay.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agolagarith: add decode support for arith rgb24 mode
Thad Ward [Wed, 28 Dec 2011 05:45:55 +0000 (23:45 -0600)]
lagarith: add decode support for arith rgb24 mode

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 29 Dec 2011 00:40:34 +0000 (01:40 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  v410dec: Check for sufficient input data. Fixes crash
  fate: Add v210 codec regression tests
  mpegts: adjustable minimum PES payload
  mpegts: properly output large audio packets
  avformat: Add SMJPEG demuxer.
  Indeo 4 decoder

Conflicts:
doc/general.texi
libavcodec/v410dec.c
libavcodec/version.h
libavformat/mpegtsenc.c
libavformat/smjpeg.c
libavformat/version.h
tests/codec-regression.sh

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agocljrdec: improve scaling somewhat
Michael Niedermayer [Wed, 28 Dec 2011 20:46:57 +0000 (21:46 +0100)]
cljrdec: improve scaling somewhat

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agov410dec: Check for sufficient input data. Fixes crash
Michael Niedermayer [Wed, 28 Dec 2011 20:04:44 +0000 (15:04 -0500)]
v410dec: Check for sufficient input data. Fixes crash

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoindeo5: fix division by 0 in ff_ivi_init_tiles()
Michael Niedermayer [Wed, 28 Dec 2011 20:31:00 +0000 (21:31 +0100)]
indeo5: fix division by 0 in ff_ivi_init_tiles()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agocljrenc: fix scaling
Michael Niedermayer [Wed, 28 Dec 2011 20:29:03 +0000 (21:29 +0100)]
cljrenc: fix scaling

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agofate: Add v210 codec regression tests
Reimar Döffinger [Wed, 28 Dec 2011 01:43:16 +0000 (20:43 -0500)]
fate: Add v210 codec regression tests

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agompegts: adjustable minimum PES payload
Jindřich Makovička [Mon, 19 Dec 2011 19:15:21 +0000 (20:15 +0100)]
mpegts: adjustable minimum PES payload

With the current default PES packet size, and very small audio bitrates,
audio packet duration gets too long. For players, which wait for a whole
audio packet (or more) it takes a very long time to start playing sound.

For 24kbps audio, one PES packet is about 1 second long. On Motorola STBs,
we observe about 3 second delay before the playback starts with the
default setting.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agompegts: properly output large audio packets
Jindřich Makovička [Mon, 19 Dec 2011 19:03:24 +0000 (20:03 +0100)]
mpegts: properly output large audio packets

Do not assume the audio packets being always smaller than
DEFAULT_PES_PAYLOAD_SIZE.

Signed-off-by: Jindřich Makovička <makovick@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoavformat: Add SMJPEG demuxer.
Paul B Mahol [Sat, 24 Dec 2011 01:57:34 +0000 (01:57 +0000)]
avformat: Add SMJPEG demuxer.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoindeo5: Fix crash due to partially initialized gop vars.
Michael Niedermayer [Wed, 28 Dec 2011 19:13:00 +0000 (20:13 +0100)]
indeo5: Fix crash due to partially initialized gop vars.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoindeo5: fix null pointer crash with ref_mb
Michael Niedermayer [Wed, 28 Dec 2011 18:50:29 +0000 (19:50 +0100)]
indeo5: fix null pointer crash with ref_mb

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agovcr1dec: Check that there is sufficient input data.
Michael Niedermayer [Wed, 28 Dec 2011 18:05:16 +0000 (19:05 +0100)]
vcr1dec: Check that there is sufficient input data.
Fixes crash.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agov410dec: Check for sufficient input data.
Michael Niedermayer [Wed, 28 Dec 2011 17:33:29 +0000 (18:33 +0100)]
v410dec: Check for sufficient input data.
Fixes crash

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoIndeo 4 decoder
Kostya Shishkov [Tue, 6 Dec 2011 13:50:32 +0000 (14:50 +0100)]
Indeo 4 decoder

Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
8 years agoFix a crash when reading gray pam files.
Carl Eugen Hoyos [Wed, 28 Dec 2011 04:59:39 +0000 (05:59 +0100)]
Fix a crash when reading gray pam files.

Fixes ticket #837.

8 years agoFix a typo that broke writing (and reading) PAM files.
Carl Eugen Hoyos [Wed, 28 Dec 2011 04:54:59 +0000 (05:54 +0100)]
Fix a typo that broke writing (and reading) PAM files.

Reported and reviewed by Derek Buitenhuis.

8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 27 Dec 2011 23:48:53 +0000 (00:48 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  mpegvideo_enc: K&R cosmetics
  doxygen: remove unreplaced variables from custom header and footer
  threads: test for sys/param.h and include it for sysctl on OpenBSD
  v4l2: remove unneded linux specific asm/types.h include
  x86: Fix constraints for decode_significance*_x86

Conflicts:
libavcodec/mpegvideo_enc.c
libavdevice/v4l2.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFixed crash in palette handling when converting certain .png images to .pcx or .bmp.
Frank Vernaillen [Tue, 27 Dec 2011 19:47:49 +0000 (20:47 +0100)]
Fixed crash in palette handling when converting certain .png images to .pcx or .bmp.

The existing code expected a palette buffer holding 256 uint32_t's allocated in the data[1] field of the AVFrame structure, but data[1] was NULL. The bug is fixed by using a fixed local array (palette256) to hold the palette instead.

This solves http://ffmpeg.org/trac/ffmpeg/ticket/833

Signed-off-by: Frank Vernaillen <fr_ve@hotmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMakefile: fix path to ffprobe.xsd
Michael Niedermayer [Tue, 27 Dec 2011 21:29:40 +0000 (22:29 +0100)]
Makefile: fix path to ffprobe.xsd

Idea-by: beastd
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agompegvideo_enc: K&R cosmetics
Aneesh Dogra [Tue, 27 Dec 2011 06:08:07 +0000 (11:38 +0530)]
mpegvideo_enc: K&R cosmetics

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoMake Interplay palette opaque and increase its dynamics.
Carl Eugen Hoyos [Tue, 27 Dec 2011 17:26:31 +0000 (18:26 +0100)]
Make Interplay palette opaque and increase its dynamics.

8 years agoSupport decoding yuv442 and yuv421 jpeg images.
Carl Eugen Hoyos [Tue, 27 Dec 2011 17:21:38 +0000 (18:21 +0100)]
Support decoding yuv442 and yuv421 jpeg images.

Fixes ticket #787.

8 years agoFix some 1bit png samples, they can be palettised.
Carl Eugen Hoyos [Tue, 27 Dec 2011 17:17:57 +0000 (18:17 +0100)]
Fix some 1bit png samples, they can be palettised.

Fixes ticket #767.

8 years agodoxygen: remove unreplaced variables from custom header and footer
Janne Grunau [Tue, 27 Dec 2011 13:33:58 +0000 (14:33 +0100)]
doxygen: remove unreplaced variables from custom header and footer

8 years agothreads: test for sys/param.h and include it for sysctl on OpenBSD
Janne Grunau [Fri, 23 Dec 2011 23:23:55 +0000 (00:23 +0100)]
threads: test for sys/param.h and include it for sysctl on OpenBSD

8 years agov4l2: remove unneded linux specific asm/types.h include
Janne Grunau [Mon, 26 Dec 2011 23:14:41 +0000 (00:14 +0100)]
v4l2: remove unneded linux specific asm/types.h include

8 years agolavfi: add asplit filter
Stefano Sabatini [Sun, 25 Dec 2011 22:04:44 +0000 (23:04 +0100)]
lavfi: add asplit filter

8 years agolavfi: add missing check in avfilter_filter_samples()
Stefano Sabatini [Tue, 27 Dec 2011 14:15:02 +0000 (15:15 +0100)]
lavfi: add missing check in avfilter_filter_samples()

Avoid out-of-buffer data access when nb_channels is 8.

8 years agolavfi: fix avfilter_default_get_audio_buffer() after changes in av_samples_alloc()
Stefano Sabatini [Sun, 25 Dec 2011 22:35:06 +0000 (23:35 +0100)]
lavfi: fix avfilter_default_get_audio_buffer() after changes in av_samples_alloc()

av_samples_alloc() behavior changed in bbb46f3ec, resulting in random
data filling the data[] and linesize[] arrays of the returned
AVFilterBufferRef, which was resulting in wrong behavior in case of code
checking on data[i] nullity.

In particular fixes crash in avfilter_filter_samples():
        for (i = 0; samplesref->data[i]; i++)
            memcpy(link->cur_buf->data[i], samplesref->data[i], samplesref->linesize[0]);

and correctly fills the linesize[] array for planar data.

8 years agolavfi: don't try to indent words in trace messages
Stefano Sabatini [Sun, 25 Dec 2011 12:23:02 +0000 (13:23 +0100)]
lavfi: don't try to indent words in trace messages

The traces end up not indented and ugly anyway, but with the additional
spaces are much more painful to grep/parse.

8 years agoffprobe: add XML writer
Stefano Sabatini [Sat, 8 Oct 2011 22:24:31 +0000 (00:24 +0200)]
ffprobe: add XML writer

8 years agoffprobe: add show_private_data option
Stefano Sabatini [Thu, 22 Dec 2011 09:34:31 +0000 (10:34 +0100)]
ffprobe: add show_private_data option

8 years agoff* tools: move descriptions from copyright header to @file doxy
Stefano Sabatini [Thu, 22 Dec 2011 09:23:22 +0000 (10:23 +0100)]
ff* tools: move descriptions from copyright header to @file doxy

8 years agoChangelog: move thunbnail filter entry from 0.9 to "next" section
Stefano Sabatini [Tue, 27 Dec 2011 11:56:45 +0000 (12:56 +0100)]
Changelog: move thunbnail filter entry from 0.9 to "next" section

8 years agothumbnail: fix error code in case of invalid args.
Clément Bœsch [Tue, 27 Dec 2011 10:15:21 +0000 (11:15 +0100)]
thumbnail: fix error code in case of invalid args.

8 years agolavfi: add thumbnail video filter.
Clément Bœsch [Mon, 24 Oct 2011 15:11:10 +0000 (17:11 +0200)]
lavfi: add thumbnail video filter.

8 years agox86: Fix constraints for decode_significance*_x86
Martin Storsjö [Mon, 26 Dec 2011 19:47:20 +0000 (21:47 +0200)]
x86: Fix constraints for decode_significance*_x86

Originally, prior to 8742a4ff8, the caller code was compiled
within this condition:

ARCH_X86 && HAVE_7REGS && HAVE_EBX_AVAILABLE && !defined(BROKEN_RELOCATIONS)

Since HAVE_7REGS is defined as
(ARCH_X86_64 || (HAVE_EBX_AVAILABLE && HAVE_EBP_AVAILABLE))
the subcondition HAVE_7REGS && HAVE_EBX_AVAILABLE is equal
to HAVE_7REGS (for 32 bit at least). The correct simplification
of the original condition thus is HAVE_7REGS, not
HAVE_EBX_AVAILABLE.

This fixes compilation in some cases where HAVE_EBP_AVAILABLE = 0
and HAVE_EBX_AVAILABLE = 1.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agompegvideo: fix visualization buffer size.
Michael Niedermayer [Tue, 27 Dec 2011 04:53:58 +0000 (05:53 +0100)]
mpegvideo: fix visualization buffer size.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: Check that frames are user type before treating them as such
Michael Niedermayer [Tue, 27 Dec 2011 04:34:50 +0000 (05:34 +0100)]
ffmpeg: Check that frames are user type before treating them as such

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: disable dr1 in case of resolution changes, as this does not work currently.
Michael Niedermayer [Tue, 27 Dec 2011 04:22:44 +0000 (05:22 +0100)]
ffmpeg: disable dr1 in case of resolution changes, as this does not work currently.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: add remaining hunks to enable dr1 support
Michael Niedermayer [Mon, 26 Dec 2011 04:50:25 +0000 (05:50 +0100)]
ffmpeg: add remaining hunks to enable dr1 support

Author: Anton Khirnov
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 27 Dec 2011 00:19:04 +0000 (01:19 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  fate: split off vqf/twinvq FATE tests into their own file
  fate: split off mpc FATE tests into their own file
  fate: split off libavcodec FATE tests into their own file
  fate: split off Microsoft codec FATE tests into their own file
  fate: group all VP* codec FATE tests together in one file
  swscale: prevent invalid writes in packed_16bpc_bswap

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agofate: warn if SAMPLES is not specified.
Clément Bœsch [Thu, 22 Dec 2011 15:22:48 +0000 (16:22 +0100)]
fate: warn if SAMPLES is not specified.

8 years agofate: give stderr hint when a test fails.
Clément Bœsch [Thu, 22 Dec 2011 17:17:13 +0000 (18:17 +0100)]
fate: give stderr hint when a test fails.

8 years agofate: add generic rules for most of the tests/fate/*.mak files.
Clément Bœsch [Thu, 22 Dec 2011 15:13:03 +0000 (16:13 +0100)]
fate: add generic rules for most of the tests/fate/*.mak files.

8 years agodv: fix avpriv_dv_codec_profile with lowres > 0
Marton Balint [Sun, 25 Dec 2011 18:31:23 +0000 (19:31 +0100)]
dv: fix avpriv_dv_codec_profile with lowres > 0

Fixes ticket #44.

Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoid3v2: fix variable type for uncompress()
Michael Niedermayer [Mon, 26 Dec 2011 20:35:21 +0000 (21:35 +0100)]
id3v2: fix variable type for uncompress()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoProcess compressed id3v2 tags.
Adrian Drzewiecki [Sat, 24 Dec 2011 19:06:22 +0000 (11:06 -0800)]
Process compressed id3v2 tags.

ID3v2.4 allows for zlib compressed tags, but libavformat skips them.
Implement code to inflate compressed tags.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agofate: split off vqf/twinvq FATE tests into their own file
Diego Biurrun [Wed, 14 Dec 2011 22:19:03 +0000 (23:19 +0100)]
fate: split off vqf/twinvq FATE tests into their own file

8 years agofate: split off mpc FATE tests into their own file
Diego Biurrun [Wed, 14 Dec 2011 22:08:05 +0000 (23:08 +0100)]
fate: split off mpc FATE tests into their own file

8 years agofate: split off libavcodec FATE tests into their own file
Diego Biurrun [Wed, 14 Dec 2011 22:03:37 +0000 (23:03 +0100)]
fate: split off libavcodec FATE tests into their own file

8 years agofate: split off Microsoft codec FATE tests into their own file
Diego Biurrun [Wed, 14 Dec 2011 21:41:26 +0000 (22:41 +0100)]
fate: split off Microsoft codec FATE tests into their own file

8 years agofate: group all VP* codec FATE tests together in one file
Diego Biurrun [Wed, 14 Dec 2011 21:22:33 +0000 (22:22 +0100)]
fate: group all VP* codec FATE tests together in one file

8 years agoswscale: prevent invalid writes in packed_16bpc_bswap
Janne Grunau [Mon, 26 Dec 2011 12:38:39 +0000 (13:38 +0100)]
swscale: prevent invalid writes in packed_16bpc_bswap

Writes past the end of the destination buffer were occuring when its
stride was smaller than the stride of the source. Fixes Bug #183.

8 years agogxf: remove gxf_ prefix to timecode metadata keys.
Clément Bœsch [Thu, 15 Dec 2011 15:34:09 +0000 (16:34 +0100)]
gxf: remove gxf_ prefix to timecode metadata keys.

This will allow a shared "timecode" key metadata between formats to ease
third-party extraction.

8 years agotimecode: fix drop frame in avpriv_timecode_to_string().
Clément Bœsch [Mon, 26 Dec 2011 10:06:00 +0000 (11:06 +0100)]
timecode: fix drop frame in avpriv_timecode_to_string().

8 years agodv: add timecode to metadata
Matthieu Bouron [Thu, 22 Dec 2011 21:57:02 +0000 (22:57 +0100)]
dv: add timecode to metadata

Reviewed-by: Reimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: fix non ANSI C for(int
Michael Niedermayer [Mon, 26 Dec 2011 03:14:50 +0000 (04:14 +0100)]
ffmpeg: fix non ANSI C for(int

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 26 Dec 2011 02:35:54 +0000 (03:35 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  avs: call release_buffer() at the end.
  Add minor bumps and APIchanges entries for lavc/lavfi changes.
  mpegvideo.c: K&R formatting and cosmetics.
  avconv: avoid memcpy in vsrc_buffer when possible.
  avconv: implement get_buffer()/release_buffer().
  lavfi: add a new function av_buffersrc_buffer().
  lavfi: add avfilter_copy_frame_props()
  lavc: add format field to AVFrame
  lavc: add width and height fields to AVFrame
  lavc: add a sample_aspect_ratio field to AVFrame
  doxy: add website-alike style to the html output
  FAQ: add an entry for common error when using -profile

Conflicts:
avconv.c
cmdutils.c
doc/APIchanges
libavcodec/avcodec.h
libavcodec/mpegvideo.c
libavcodec/utils.c
libavcodec/version.h
libavfilter/Makefile
libavfilter/avfilter.c
libavfilter/avfilter.h
libavfilter/src_movie.c
libavfilter/vsrc_buffer.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavs: call release_buffer() at the end.
Anton Khirnov [Sun, 25 Dec 2011 18:35:19 +0000 (19:35 +0100)]
avs: call release_buffer() at the end.

Fixes a memleak.

8 years agoAdd minor bumps and APIchanges entries for lavc/lavfi changes.
Anton Khirnov [Sun, 25 Dec 2011 17:24:14 +0000 (18:24 +0100)]
Add minor bumps and APIchanges entries for lavc/lavfi changes.

8 years agompegvideo.c: K&R formatting and cosmetics.
Konstantin Todorov [Sun, 25 Dec 2011 17:58:01 +0000 (09:58 -0800)]
mpegvideo.c: K&R formatting and cosmetics.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
8 years agoff*: add -max_alloc command line option
Michael Niedermayer [Sun, 25 Dec 2011 17:44:36 +0000 (18:44 +0100)]
ff*: add -max_alloc command line option

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomem: add av_max_alloc() to limit the maximum amount that may be allocated in one...
Michael Niedermayer [Sun, 25 Dec 2011 17:43:58 +0000 (18:43 +0100)]
mem: add av_max_alloc() to limit the maximum amount that may be allocated in one piece

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoshorten: validate values in fmt chunk search
Michael Niedermayer [Sun, 25 Dec 2011 11:31:23 +0000 (12:31 +0100)]
shorten: validate values in fmt chunk search

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoshorten: Fix invalid free()
Michael Niedermayer [Sun, 25 Dec 2011 11:28:50 +0000 (12:28 +0100)]
shorten: Fix invalid free()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavconv: avoid memcpy in vsrc_buffer when possible.
Anton Khirnov [Wed, 21 Dec 2011 20:04:05 +0000 (21:04 +0100)]
avconv: avoid memcpy in vsrc_buffer when possible.

Decoding Sintel.2010.1080p.mkv with 4 threads on an i7 2600K goes from
260s to 244s.

8 years agoavconv: implement get_buffer()/release_buffer().
Anton Khirnov [Mon, 19 Dec 2011 14:44:58 +0000 (15:44 +0100)]
avconv: implement get_buffer()/release_buffer().

This will allow memcpy-free passing frames to lavfi.

8 years agolavfi: add a new function av_buffersrc_buffer().
Anton Khirnov [Wed, 21 Dec 2011 19:39:18 +0000 (20:39 +0100)]
lavfi: add a new function av_buffersrc_buffer().

It can be used to directly pass a AVFilterBufferRef to lavfi, avoiding a
memcpy.

8 years agolavfi: add avfilter_copy_frame_props()
Stefano Sabatini [Sun, 1 May 2011 12:47:05 +0000 (14:47 +0200)]
lavfi: add avfilter_copy_frame_props()

avfilter_copy_frame_props() avoids code duplication and increases
robustness.

8 years agolavc: add format field to AVFrame
Stefano Sabatini [Sun, 1 May 2011 12:10:20 +0000 (14:10 +0200)]
lavc: add format field to AVFrame

The format is a per-frame property, having it in AVFrame simplify the
operation of extraction of that information, since avoids the need to
access the codec/stream context.

8 years agolavc: add width and height fields to AVFrame
Stefano Sabatini [Sun, 1 May 2011 12:02:08 +0000 (14:02 +0200)]
lavc: add width and height fields to AVFrame

width and height are per-frame properties, setting these values in
AVFrame simplify the operation of extraction of that information,
since avoids the need to check the codec/stream context.