]> git.sesse.net Git - ffmpeg/log
ffmpeg
12 years agoMerge remote-tracking branch 'richardpl/sws'
Michael Niedermayer [Tue, 10 Jan 2012 22:12:21 +0000 (23:12 +0100)]
Merge remote-tracking branch 'richardpl/sws'

* richardpl/sws:
  rgb2rgb: remove unused bgr8torgb8()
  rgb2rgb: rgb12tobgr12()
  rgb2rgb: allow conversion for <15 bpp
  bmpenc: support for PIX_FMT_RGB444
  bmpdec: support for rgb444 with bitfields compression

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agox86inc: remove duplicate movlhps
Michael Niedermayer [Tue, 10 Jan 2012 21:59:34 +0000 (22:59 +0100)]
x86inc: remove duplicate movlhps

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoljpegdec: Fix the left column of rgb24 decoding
Michael Niedermayer [Mon, 9 Jan 2012 19:12:33 +0000 (20:12 +0100)]
ljpegdec: Fix the left column of rgb24 decoding

Fixes Ticket894

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffprobe: use av_toupper() in upcase_string()
Stefano Sabatini [Tue, 10 Jan 2012 21:11:02 +0000 (22:11 +0100)]
ffprobe: use av_toupper() in upcase_string()

12 years agoMerge remote-tracking branch 'hexene/stagefright'
Michael Niedermayer [Tue, 10 Jan 2012 19:59:36 +0000 (20:59 +0100)]
Merge remote-tracking branch 'hexene/stagefright'

* hexene/stagefright:
  libstagefright: fix build

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoRevert "swscale: fix integer overflows in RGB pixel writing."
Michael Niedermayer [Tue, 10 Jan 2012 16:24:14 +0000 (17:24 +0100)]
Revert "swscale: fix integer overflows in RGB pixel writing."

This reverts commit 77d88b872d8cbb42738ede2d4fc098c16f204236.

The revert fixes actual overflows and a segfault as the variables
are signed and can be negative.

Conflicts:

libswscale/swscale.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agorgb2rgb: remove unused bgr8torgb8()
Paul B Mahol [Tue, 10 Jan 2012 18:15:16 +0000 (18:15 +0000)]
rgb2rgb: remove unused bgr8torgb8()

RGB8 and BGR8 are paletted formats now.

12 years agoRELEASE: We're now at 0.9.1.git
Dominique Leuenberger [Tue, 10 Jan 2012 18:19:53 +0000 (19:19 +0100)]
RELEASE: We're now at 0.9.1.git

12 years agorgb2rgb: rgb12tobgr12()
Paul B Mahol [Tue, 10 Jan 2012 17:29:16 +0000 (17:29 +0000)]
rgb2rgb: rgb12tobgr12()

12 years agorgb2rgb: allow conversion for <15 bpp
Paul B Mahol [Tue, 10 Jan 2012 02:17:33 +0000 (02:17 +0000)]
rgb2rgb: allow conversion for <15 bpp

12 years agobmpenc: support for PIX_FMT_RGB444
Paul B Mahol [Tue, 10 Jan 2012 00:42:20 +0000 (00:42 +0000)]
bmpenc: support for PIX_FMT_RGB444

12 years agobmpdec: support for rgb444 with bitfields compression
Paul B Mahol [Mon, 9 Jan 2012 23:12:40 +0000 (23:12 +0000)]
bmpdec: support for rgb444 with bitfields compression

Do not display garbage for invalid/unsupported bitfields values.

12 years agoffprobe: add compact option to JSON writer
Stefano Sabatini [Mon, 9 Jan 2012 13:36:52 +0000 (14:36 +0100)]
ffprobe: add compact option to JSON writer

12 years agoffprobe: add -show_program_version and -show_library_versions options
Stefano Sabatini [Sun, 1 Jan 2012 16:19:58 +0000 (17:19 +0100)]
ffprobe: add -show_program_version and -show_library_versions options

12 years agoffprobe: make upcase_string() ignore non-ASCII characters
Stefano Sabatini [Sun, 8 Jan 2012 10:10:06 +0000 (11:10 +0100)]
ffprobe: make upcase_string() ignore non-ASCII characters

This is required as some section names may contain non-ASCII characters
(e.g. '_').

12 years agolibstagefright: fix build
Dmitry Monakhov [Sat, 7 Jan 2012 15:05:51 +0000 (15:05 +0000)]
libstagefright: fix build

- Use headers from gingerbread-release branch instead of the current default ice cream sandwich
- Fix path mistype

12 years agofate: Disable fate-wmv8-x8intra
Michael Niedermayer [Tue, 10 Jan 2012 06:15:18 +0000 (07:15 +0100)]
fate: Disable fate-wmv8-x8intra

This test does not work on all platforms and until it does
it just hides new failures, which is really bad.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomjpeg: update whitespaces to qatar
anonymous [Tue, 10 Jan 2012 05:36:19 +0000 (06:36 +0100)]
mjpeg: update whitespaces to qatar

12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 10 Jan 2012 01:50:54 +0000 (02:50 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  fate: Add tests for more AAC features.
  aacps: Add missing newline in error message.
  fate: Add tests for vc1/wmapro in ism.
  aacdec: Add a fate test for 5.1 channel SBR.
  aacdec: Turn off PS for multichannel files that use PCE based configs.
  cabac: remove put_cabac_u/ueg from cabac-test.
  swscale: RGB4444 and BGR444 input
  FATE: add test for xWMA demuxer.
  FATE: add test for SMJPEG demuxer and associated IMA ADPCM audio decoder.
  mpegaudiodec: optimized iMDCT transform
  mpegaudiodec: change imdct window arrangment for better pointer alignment
  mpegaudiodec: move imdct and windowing function to mpegaudiodsp
  mpegaudiodec: interleave iMDCT buffer to simplify future SIMD implementations
  swscale: convert yuy2/uyvy/nv12/nv21ToY/UV from inline asm to yasm.
  FATE: test to exercise WTV demuxer.
  mjpegdec: K&R formatting cosmetics
  swscale: K&R formatting cosmetics for code examples
  swscale: K&R reformatting cosmetics for header files
  FATE test: cvid-grayscale; ensures that the grayscale Cinepak variant is exercised.

Conflicts:
libavcodec/cabac.c
libavcodec/mjpegdec.c
libavcodec/mpegaudiodec.c
libavcodec/mpegaudiodsp.c
libavcodec/mpegaudiodsp.h
libavcodec/mpegaudiodsp_template.c
libavcodec/x86/Makefile
libavcodec/x86/imdct36_sse.asm
libavcodec/x86/mpegaudiodec_mmx.c
libswscale/swscale-test.c
libswscale/swscale.c
libswscale/swscale_internal.h
libswscale/x86/swscale_template.c
tests/fate/demux.mak
tests/fate/microsoft.mak
tests/fate/video.mak
tests/fate/wma.mak
tests/ref/lavfi/pixfmts_scale

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Mon, 9 Jan 2012 23:27:56 +0000 (00:27 +0100)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: Exit on ctrl-c.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffplay: Exit on ctrl-c.
Michael Niedermayer [Mon, 9 Jan 2012 06:03:55 +0000 (07:03 +0100)]
ffplay: Exit on ctrl-c.

This allows to get out of ffplay if it or SDL got stuck.
This for example happens when the audio driver is playing something
else and doesnt support mixing multiple sources.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
12 years agoSupport decoding 1bpp and 4bpp palettized sunrast images.
Carl Eugen Hoyos [Mon, 9 Jan 2012 21:38:09 +0000 (22:38 +0100)]
Support decoding 1bpp and 4bpp palettized sunrast images.

Fixes ticket #864 and ticket #897.

12 years agolog: use a different color for debug (green).
Clément Bœsch [Thu, 5 Jan 2012 22:07:18 +0000 (23:07 +0100)]
log: use a different color for debug (green).

12 years agopngdec: show verbose message for unsupported files
Paul B Mahol [Mon, 9 Jan 2012 21:35:19 +0000 (22:35 +0100)]
pngdec: show verbose message for unsupported files

12 years agofate: Add tests for more AAC features.
Gaurav Narula [Thu, 29 Dec 2011 21:20:22 +0000 (02:50 +0530)]
fate: Add tests for more AAC features.

al15_44 uses independent coupling.
al18_44 uses PNS (perceptual noise substitution).
am05_44 uses main prediction and independent coupling.

Signed-off-by: Alex Converse <alex.converse@gmail.com>
12 years agoaacps: Add missing newline in error message.
Alex Converse [Fri, 6 Jan 2012 22:49:11 +0000 (14:49 -0800)]
aacps: Add missing newline in error message.

12 years agofate: Add tests for vc1/wmapro in ism.
Alex Converse [Fri, 6 Jan 2012 02:39:20 +0000 (18:39 -0800)]
fate: Add tests for vc1/wmapro in ism.

12 years agoaacdec: Add a fate test for 5.1 channel SBR.
Alex Converse [Sat, 7 Jan 2012 01:23:49 +0000 (17:23 -0800)]
aacdec: Add a fate test for 5.1 channel SBR.

12 years agoaacdec: Turn off PS for multichannel files that use PCE based configs.
Alex Converse [Sat, 7 Jan 2012 01:22:45 +0000 (17:22 -0800)]
aacdec: Turn off PS for multichannel files that use PCE based configs.

Fixes al_sbr_cm_48_5.1.mp4.

12 years agocabac: 3rd try at working around a compiler bug in clang.
Michael Niedermayer [Mon, 9 Jan 2012 15:02:11 +0000 (16:02 +0100)]
cabac: 3rd try at working around a compiler bug in clang.

Switch to a broader detection of versions.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agocabac: remove put_cabac_u/ueg from cabac-test.
Diego Biurrun [Sat, 7 Jan 2012 19:27:31 +0000 (20:27 +0100)]
cabac: remove put_cabac_u/ueg from cabac-test.

The functions are not used in any part of Libav, therefore testing them in the
cabac-test is unnecessary. Since this makes them unused, remove the functions.

12 years agoffprobe: change formatting logic in the JSON writer
Stefano Sabatini [Sun, 8 Jan 2012 00:44:02 +0000 (01:44 +0100)]
ffprobe: change formatting logic in the JSON writer

Print a "\n" at the end of each section, also print the section name in
the section print function, print the chapter name only in case the
chapter contains multiple entries.

Increase textual output readability - different sections can be
distinguished more easily.

12 years agoffprobe: implement generic reindent logic in the JSON writer
Stefano Sabatini [Sun, 8 Jan 2012 00:20:03 +0000 (01:20 +0100)]
ffprobe: implement generic reindent logic in the JSON writer

Clarify/generalize indent logic.

12 years agosgidec: make compiler optimize away memcpy call in inner loop.
Reimar Döffinger [Sun, 8 Jan 2012 11:19:48 +0000 (12:19 +0100)]
sgidec: make compiler optimize away memcpy call in inner loop.

Using an always_inline function makes the memcpy length a constant,
any reasonable compiler will replace it by a single mov instruction
without us having to duplicate the actual code.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agorawdec: use av_shrink_packet.
Reimar Döffinger [Sun, 8 Jan 2012 15:56:46 +0000 (16:56 +0100)]
rawdec: use av_shrink_packet.

This fixes reads of uninitialized data by the parser when running
FATE sample h264-conformance/SL1_SVA_B.264.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agoswscale: RGB4444 and BGR444 input
Paul B Mahol [Mon, 9 Jan 2012 01:24:33 +0000 (01:24 +0000)]
swscale: RGB4444 and BGR444 input

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agolibswresample: introduce int swr_set_compensation() instead of void swr_compensate()
Marton Balint [Mon, 9 Jan 2012 00:42:38 +0000 (01:42 +0100)]
libswresample: introduce int swr_set_compensation() instead of void swr_compensate()

The new version returns AVERROR(EINVAL) is the specified paramters are invalid,
and also creates the resampler if none was used so far.

Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agofate: add bitexact and idct to x8intra
Michael Niedermayer [Mon, 9 Jan 2012 01:59:10 +0000 (02:59 +0100)]
fate: add bitexact and idct to x8intra

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agocabac: Disable get_cabac_inline_x86() for clang 2.9 on x86_32
Michael Niedermayer [Mon, 9 Jan 2012 02:42:46 +0000 (03:42 +0100)]
cabac: Disable get_cabac_inline_x86() for clang 2.9 on x86_32

This should finally fix the compilation issue on darwin

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoFATE: add test for xWMA demuxer.
Mike Melanson [Sun, 8 Jan 2012 03:59:07 +0000 (19:59 -0800)]
FATE: add test for xWMA demuxer.

(Does not attempt to decode percetual audio data inside.)
Code coverage: libavformat/xwma.c: 3% -> 75%

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoRevert "Revert commit 599b4c6efddaed33b1667c386b34b07729ba732b"
Michael Niedermayer [Mon, 9 Jan 2012 02:32:06 +0000 (03:32 +0100)]
Revert "Revert commit 599b4c6efddaed33b1667c386b34b07729ba732b"

This reverts commit c4f237a98175438e76da64c51cc6fe613f8d767e.
This didnt fix compilation on darwin with current clang.

12 years agoFATE: add test for SMJPEG demuxer and associated IMA ADPCM audio decoder.
Mike Melanson [Sun, 8 Jan 2012 03:59:08 +0000 (19:59 -0800)]
FATE: add test for SMJPEG demuxer and associated IMA ADPCM audio decoder.

(Don't attempt to decode JPEG data.)
Code coverage: libavformat/smjpeg.c: 0% -> 69%
libavcodec/adpcm.c: 0% -> 10% (fresh run); 92.4% -> 93% following a FATE run

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agompegaudiodec: optimized iMDCT transform
Vitor Sessak [Thu, 5 Jan 2012 19:26:33 +0000 (20:26 +0100)]
mpegaudiodec: optimized iMDCT transform

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agompegaudiodec: change imdct window arrangment for better pointer alignment
Vitor Sessak [Wed, 4 Jan 2012 20:43:47 +0000 (21:43 +0100)]
mpegaudiodec: change imdct window arrangment for better pointer alignment

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agompegaudiodec: move imdct and windowing function to mpegaudiodsp
Vitor Sessak [Wed, 4 Jan 2012 20:32:47 +0000 (21:32 +0100)]
mpegaudiodec: move imdct and windowing function to mpegaudiodsp

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agompegaudiodec: interleave iMDCT buffer to simplify future SIMD implementations
Vitor Sessak [Tue, 3 Jan 2012 20:40:57 +0000 (21:40 +0100)]
mpegaudiodec: interleave iMDCT buffer to simplify future SIMD implementations

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoswscale: convert yuy2/uyvy/nv12/nv21ToY/UV from inline asm to yasm.
Ronald S. Bultje [Mon, 9 Jan 2012 00:37:43 +0000 (16:37 -0800)]
swscale: convert yuy2/uyvy/nv12/nv21ToY/UV from inline asm to yasm.

Also implement SSE2/AVX variants.

12 years agolavf: Add forgotten line from 212fd3a1f1121a9db20c478f1fccf15e8bb53c94
Michael Niedermayer [Mon, 9 Jan 2012 00:12:48 +0000 (01:12 +0100)]
lavf: Add forgotten line from 212fd3a1f1121a9db20c478f1fccf15e8bb53c94

This fixes a tiny memleak.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 8 Jan 2012 23:32:38 +0000 (00:32 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  bfi: Use bytestream2 functions to prevent buffer overreads.
  dpcm: Fix invalid writes
  utvideo: frame multithreading.
  vorbis: An additional defense in the Vorbis codec.
  vorbisdec: Fix decoding bug with channel handling

Conflicts:
libavcodec/dpcm.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoljpegdec: Support MCU in ljpeg_decode_yuv_scan()
Michael Niedermayer [Sat, 7 Jan 2012 19:17:50 +0000 (20:17 +0100)]
ljpegdec: Support MCU in ljpeg_decode_yuv_scan()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoFATE: test to exercise WTV demuxer.
Mike Melanson [Sun, 8 Jan 2012 03:59:09 +0000 (19:59 -0800)]
FATE: test to exercise WTV demuxer.

Does not attempt to decode perceptual codecs inside.
Code coverage: libavformat/wtv.c: 0% -> 71%

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agomjpegdec: K&R formatting cosmetics
Daniel Huang [Sun, 8 Jan 2012 19:14:37 +0000 (13:14 -0600)]
mjpegdec: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agoswscale: K&R formatting cosmetics for code examples
Diego Biurrun [Tue, 3 Jan 2012 11:20:59 +0000 (12:20 +0100)]
swscale: K&R formatting cosmetics for code examples

12 years agoswscale: K&R reformatting cosmetics for header files
Diego Biurrun [Fri, 30 Dec 2011 17:37:16 +0000 (18:37 +0100)]
swscale: K&R reformatting cosmetics for header files

12 years agoFATE test: cvid-grayscale; ensures that the grayscale Cinepak variant is exercised.
Mike Melanson [Sun, 8 Jan 2012 03:59:06 +0000 (19:59 -0800)]
FATE test: cvid-grayscale; ensures that the grayscale Cinepak variant is exercised.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agobfi: Use bytestream2 functions to prevent buffer overreads.
Aneesh Dogra [Sun, 8 Jan 2012 19:57:58 +0000 (01:27 +0530)]
bfi: Use bytestream2 functions to prevent buffer overreads.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agodpcm: Fix invalid writes
Laurentiu Ion [Sun, 8 Jan 2012 21:05:37 +0000 (23:05 +0200)]
dpcm: Fix invalid writes

Fixes bug: #152

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoutvideo: frame multithreading.
Aneesh Dogra [Sun, 8 Jan 2012 19:19:46 +0000 (00:49 +0530)]
utvideo: frame multithreading.

>> time ./avconv -i file.avi -f null -
Before : real 0m7.784s
After  : real   0m3.662s

Tested on a Intel Core i3 Processor (2 cores, 4 threads).

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoMerge remote-tracking branch 'dilaroga/master'
Michael Niedermayer [Sun, 8 Jan 2012 19:26:49 +0000 (20:26 +0100)]
Merge remote-tracking branch 'dilaroga/master'

* dilaroga/master:
  vda: cosmetic.
  vda: removes useless doxygen command.
  vda: uses pthreads directly.
  vda: convert 3 byte NAL sizes to 4 byte.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoipmovie: Fix passing resolution changes on.
Michael Niedermayer [Sun, 8 Jan 2012 17:37:19 +0000 (18:37 +0100)]
ipmovie: Fix passing resolution changes on.

Fixes Ticket676

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agotta: remove obsolete and useless error message
Paul B Mahol [Sun, 8 Jan 2012 16:52:54 +0000 (16:52 +0000)]
tta: remove obsolete and useless error message

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoSupport 48bit rgb pam encoding.
Carl Eugen Hoyos [Sun, 8 Jan 2012 19:22:17 +0000 (20:22 +0100)]
Support 48bit rgb pam encoding.

12 years agovda: cosmetic.
Sebastien Zwickert [Sun, 8 Jan 2012 19:22:12 +0000 (20:22 +0100)]
vda: cosmetic.

12 years agovda: removes useless doxygen command.
Sebastien Zwickert [Sun, 8 Jan 2012 19:22:12 +0000 (20:22 +0100)]
vda: removes useless doxygen command.

12 years agovda: uses pthreads directly.
Sebastien Zwickert [Sun, 8 Jan 2012 19:22:12 +0000 (20:22 +0100)]
vda: uses pthreads directly.

12 years agovda: convert 3 byte NAL sizes to 4 byte.
Sebastien Zwickert [Sun, 8 Jan 2012 19:22:12 +0000 (20:22 +0100)]
vda: convert 3 byte NAL sizes to 4 byte.

12 years agoSupport 16bit gray pam encoding.
Carl Eugen Hoyos [Sun, 8 Jan 2012 19:20:29 +0000 (20:20 +0100)]
Support 16bit gray pam encoding.

12 years agoSupport decoding 32bit sunrast images.
Carl Eugen Hoyos [Sun, 8 Jan 2012 19:16:57 +0000 (20:16 +0100)]
Support decoding 32bit sunrast images.

Fixes ticket #895.

12 years agofate: add generic rules for most of the remaining tests/fate/*.mak files.
Clément Bœsch [Sun, 8 Jan 2012 17:14:38 +0000 (18:14 +0100)]
fate: add generic rules for most of the remaining tests/fate/*.mak files.

12 years agoindeo4, swresample: add some missing static/const to tables.
Reimar Döffinger [Sun, 8 Jan 2012 17:17:07 +0000 (18:17 +0100)]
indeo4, swresample: add some missing static/const to tables.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agoAdd wmv8-x8intra fate test.
Reimar Döffinger [Sun, 8 Jan 2012 11:47:27 +0000 (12:47 +0100)]
Add wmv8-x8intra fate test.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agoFix incorrect increment in sgidec.c
Reimar Döffinger [Sun, 8 Jan 2012 11:01:59 +0000 (12:01 +0100)]
Fix incorrect increment in sgidec.c

Fixes trac issue #899.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agolavfi: add audio silencedetect filter.
Clément Bœsch [Tue, 3 Jan 2012 22:47:09 +0000 (23:47 +0100)]
lavfi: add audio silencedetect filter.

12 years agoffprobe: use more meaningful names for writer chapter/section header/footer function
Stefano Sabatini [Sat, 7 Jan 2012 19:41:35 +0000 (20:41 +0100)]
ffprobe: use more meaningful names for writer chapter/section header/footer function

The passed argument is supposed to be the chapter/section name, rather
than the header/footer. Less confusing.

12 years agoffprobe: use "%*" printf syntax in XML_INDENT() in place of a loop
Stefano Sabatini [Sun, 8 Jan 2012 09:40:11 +0000 (10:40 +0100)]
ffprobe: use "%*" printf syntax in XML_INDENT() in place of a loop

Possibly faster/cleaner.

Suggested-By: Clément Bœsch <ubitux@gmail.com>
12 years agovorbis: An additional defense in the Vorbis codec.
Chris Evans [Thu, 5 Jan 2012 20:25:41 +0000 (21:25 +0100)]
vorbis: An additional defense in the Vorbis codec.

Fixes Bug: #190
Chromium Bug: #100543
Related to CVE-2011-3893

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
12 years agofate: enable wc4-xan test, the sample is now on our rsync server.
Michael Niedermayer [Sun, 8 Jan 2012 03:35:18 +0000 (04:35 +0100)]
fate: enable wc4-xan test, the sample is now on our rsync server.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 8 Jan 2012 00:29:15 +0000 (01:29 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (29 commits)
  cabac: Move code only used within the CABAC test program into the test program.
  vp56: Drop unnecessary cabac.h #include.
  h264-test: Initialize AVCodecContext.av_class.
  build: Skip compiling network.h and rtsp.h if networking is not enabled.
  cosmetics: drop some pointless parentheses
  Disable annoying warning without changing behavior
  faq: Solutions for common problems with sample paths when running FATE.
  avcodec: attempt to clarify the CODEC_CAP_DELAY documentation
  avcodec: fix avcodec_encode_audio() documentation.
  FATE: xmv-demux test; exercise the XMV demuxer without decoding the perceptual codecs inside.
  vqf: recognize more metadata chunks
  FATE test: BMV demuxer and associated video and audio decoders.
  FATE: indeo4 video decoder test.
  FATE: update xxan-wc4 test to a sample with more code coverage.
  Change the recent h264_mp4toannexb bitstream filter test to output to an elementary stream rather than a program stream.
  g722enc: validate AVCodecContext.trellis
  g722enc: set frame_size, and also handle an odd number of input samples
  g722enc: split encoding into separate functions for trellis vs. no trellis
  mpegaudiodec: Use clearer pointer math
  tta: Fix returned error code at EOF
  ...

Conflicts:
libavcodec/h264.c
libavcodec/indeo3.c
libavcodec/interplayvideo.c
libavcodec/ivi_common.c
libavcodec/libxvidff.c
libavcodec/mpegvideo.c
libavcodec/ppc/mpegvideo_altivec.c
libavcodec/tta.c
libavcodec/utils.c
libavfilter/vsrc_buffer.c
libavformat/Makefile
tests/fate/indeo.mak
tests/ref/acodec/g722

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agog723_1: Fix "libavcodec/g723_1.c:988:8: warning: assignment from incompatible pointer...
Michael Niedermayer [Sat, 7 Jan 2012 23:08:52 +0000 (00:08 +0100)]
g723_1: Fix "libavcodec/g723_1.c:988:8: warning: assignment from incompatible pointer type [enabled by default]"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodca: Fix uninitialized variable warnings.
Michael Niedermayer [Sat, 7 Jan 2012 22:59:14 +0000 (23:59 +0100)]
dca: Fix uninitialized variable warnings.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffserver: check chdir() return
Michael Niedermayer [Sat, 7 Jan 2012 22:05:20 +0000 (23:05 +0100)]
ffserver: check chdir() return

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agojpegdec: support ilv=1 grayscale jpeg-ls.
Michael Niedermayer [Fri, 6 Jan 2012 16:45:21 +0000 (17:45 +0100)]
jpegdec: support ilv=1 grayscale jpeg-ls.

Fixes Ticket851

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoljpegdec: support non zero MCU for RGB. 2nd try
Michael Niedermayer [Fri, 6 Jan 2012 18:03:21 +0000 (19:03 +0100)]
ljpegdec: support non zero MCU for RGB. 2nd try

Fixes Ticket875
Compared to patch 1 this fixes a bright line at the right side.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovorbisdec: Fix decoding bug with channel handling
Reinhard Tartler [Thu, 5 Jan 2012 20:40:18 +0000 (21:40 +0100)]
vorbisdec: Fix decoding bug with channel handling

Fixes Bug: #191
Chromium Bug: #101458
CVE-2011-3895

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
12 years agoffprobe: add support to video frame information printing
Stefano Sabatini [Thu, 5 Jan 2012 00:04:14 +0000 (01:04 +0100)]
ffprobe: add support to video frame information printing

Add -show_frames option to ffprobe.

Partially based on the work of Thomas Kuehnel <kuehnelth@googlemail.com>
for SOCIS 2011.

The wicked idea of creating a special "packets_and_frames" container for
structured formats (JSON and XML) comes from Clément.

12 years agodoc/filters.texi: fix typo in volume description
Stefano Sabatini [Sat, 7 Jan 2012 20:39:15 +0000 (21:39 +0100)]
doc/filters.texi: fix typo in volume description

12 years agocabac: Move code only used within the CABAC test program into the test program.
Diego Biurrun [Sat, 7 Jan 2012 19:46:09 +0000 (20:46 +0100)]
cabac: Move code only used within the CABAC test program into the test program.

12 years agovp56: Drop unnecessary cabac.h #include.
Diego Biurrun [Sat, 7 Jan 2012 17:37:28 +0000 (18:37 +0100)]
vp56: Drop unnecessary cabac.h #include.

12 years agoh264-test: Initialize AVCodecContext.av_class.
Diego Biurrun [Sat, 7 Jan 2012 20:36:31 +0000 (21:36 +0100)]
h264-test: Initialize AVCodecContext.av_class.

This fixes a segfault on startup.

Also remove a commented-out and completely unused variable.

12 years agobuild: Skip compiling network.h and rtsp.h if networking is not enabled.
Diego Biurrun [Sat, 7 Jan 2012 18:17:15 +0000 (19:17 +0100)]
build: Skip compiling network.h and rtsp.h if networking is not enabled.

rtsp.h relies on network.h and the latter conditionally defines fallback OS
structures that rely on configure tests, which are only run if networking
is enabled.

12 years agocosmetics: drop some pointless parentheses
Diego Biurrun [Sat, 7 Jan 2012 18:07:42 +0000 (19:07 +0100)]
cosmetics: drop some pointless parentheses

12 years agoDisable annoying warning without changing behavior
Andrey Utkin [Sat, 7 Jan 2012 20:38:00 +0000 (22:38 +0200)]
Disable annoying warning without changing behavior

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agofaq: Solutions for common problems with sample paths when running FATE.
Diego Biurrun [Fri, 30 Dec 2011 22:14:14 +0000 (23:14 +0100)]
faq: Solutions for common problems with sample paths when running FATE.

12 years agolavf: Do not attempt to use frame multi threading when probing.
Michael Niedermayer [Sat, 7 Jan 2012 14:36:44 +0000 (15:36 +0100)]
lavf: Do not attempt to use frame multi threading when probing.

This fixes various problems with getting stream info. For example playback of the
file of Ticket88. Multithreaded find_stream_info should be reenabled
once it works correctly
This partly reverts 212fd3a1f1121a9db20c478f1fccf15e8bb53c94

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavcodec: attempt to clarify the CODEC_CAP_DELAY documentation
Justin Ruggles [Sat, 7 Jan 2012 16:25:04 +0000 (11:25 -0500)]
avcodec: attempt to clarify the CODEC_CAP_DELAY documentation

12 years agoavcodec: fix avcodec_encode_audio() documentation.
Justin Ruggles [Sat, 31 Dec 2011 00:35:45 +0000 (19:35 -0500)]
avcodec: fix avcodec_encode_audio() documentation.

the previous documentation indicated how many bytes are read from the input,
not how many samples are read.

12 years agoFATE: xmv-demux test; exercise the XMV demuxer without decoding the perceptual codecs...
Mike Melanson [Sat, 7 Jan 2012 17:29:35 +0000 (09:29 -0800)]
FATE: xmv-demux test; exercise the XMV demuxer without decoding the perceptual codecs inside.

Code coverage:
libavformat/xmv.c: 3% -> 91%

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agovqf: recognize more metadata chunks
Paul B Mahol [Sat, 7 Jan 2012 17:31:31 +0000 (17:31 +0000)]
vqf: recognize more metadata chunks

Do not create tags for non-char chunks.
Create readable tag for DSIZ chunk.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoFATE test: BMV demuxer and associated video and audio decoders.
Mike Melanson [Sat, 7 Jan 2012 17:29:32 +0000 (09:29 -0800)]
FATE test: BMV demuxer and associated video and audio decoders.

Code coverage:
libavcodec/bmv.c: 0% -> 75%
libavformat/bmv.c: 0% -> 85%

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years agoFATE: indeo4 video decoder test.
Mike Melanson [Sat, 7 Jan 2012 17:29:34 +0000 (09:29 -0800)]
FATE: indeo4 video decoder test.

Code coverage:
libavcodec/indeo4.c: 0% -> 78%

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>