]> git.sesse.net Git - ffmpeg/log
ffmpeg
12 years agompegts: make sure the "standard" code doesnt override the probing with NONE/DATA.
Michael Niedermayer [Thu, 15 Sep 2011 21:01:04 +0000 (23:01 +0200)]
mpegts: make sure the "standard" code doesnt override the probing with NONE/DATA.
Fixes video stream detection in vid_0x80.ts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoCorrect determination of file size and frames in VBRI headers
Ingo Brückl [Thu, 15 Sep 2011 14:19:05 +0000 (16:19 +0200)]
Correct determination of file size and frames in VBRI headers

The fields "Number of Bytes" and "Number of Frames" are mixed up. "Bytes"
come first, "Frames" behind.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoconfigure: require gplv2 for prores
Elvis Presley [Thu, 15 Sep 2011 15:07:00 +0000 (17:07 +0200)]
configure: require gplv2 for prores

Signed-off-by: Elvis Presley <elvis@e.p>
12 years agoconfigure: add GPLv2 support (needed for ProRes)
Elvis Presley [Thu, 15 Sep 2011 15:06:21 +0000 (17:06 +0200)]
configure: add GPLv2 support (needed for ProRes)

Signed-off-by: Elvis Presley <elvis@e.p>
12 years agoRevert "get_bits: remove x86 inline asm in A32 bitstream reader"
Elvis Presley [Thu, 15 Sep 2011 04:01:15 +0000 (06:01 +0200)]
Revert "get_bits: remove x86 inline asm in A32 bitstream reader"

This reverts commit 23ce6e72123a40895baaeefeb27c7c18748bd67e.

12 years agoProRes Decoder
Elvis Presley [Thu, 15 Sep 2011 03:50:44 +0000 (05:50 +0200)]
ProRes Decoder

Signed-off-by: Elvis Presley <elvis@e.p>
12 years agomjpeg: interlaced buggy avid fix
Michael Niedermayer [Thu, 15 Sep 2011 02:12:32 +0000 (04:12 +0200)]
mjpeg: interlaced buggy avid fix
Fix Ticket362

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomjpegdec: fix len for AVI1 reader
Michael Niedermayer [Thu, 15 Sep 2011 01:04:28 +0000 (03:04 +0200)]
mjpegdec: fix len for AVI1 reader

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoRevert "MJPEG: emulate EOI also on two consecutive SOI."
Michael Niedermayer [Thu, 15 Sep 2011 01:03:33 +0000 (03:03 +0200)]
Revert "MJPEG: emulate EOI also on two consecutive SOI."
This causes Ticket463, fix will be in the next commits

This reverts commit 5e2ea138b7c4c7f3910837611338bb3b8b761045.

12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 14 Sep 2011 19:57:24 +0000 (21:57 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavf utils: Remove write-only variable
  lavf utils: Rename shadowing variable
  smacker: fix a few off by 1 errors
  Check for invalid VLC value in smacker decoder.
  Check and propagate errors when VLC trees cannot be built in smacker decoder.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264: allow disabling bitstream overread protection by using the fast flag.
Michael Niedermayer [Wed, 14 Sep 2011 18:48:00 +0000 (20:48 +0200)]
h264: allow disabling bitstream overread protection by using the fast flag.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoDon't override duration from file header with bitrate duration
Joakim Plate [Mon, 12 Sep 2011 23:02:48 +0000 (01:02 +0200)]
Don't override duration from file header with bitrate duration

This is most noticable on matroska files which has duration
as part of it's header.

12 years ago[yop] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:43:38 +0000 (19:43 +0200)]
[yop] Check return value of avio_seek and avoid modifying state if it fails

12 years ago[wtv] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:42:33 +0000 (19:42 +0200)]
[wtv] Check return value of avio_seek and avoid modifying state if it fails

12 years ago[tta] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:33:20 +0000 (19:33 +0200)]
[tta] Check return value of avio_seek and avoid modifying state if it fails

12 years ago[tmv] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:33:05 +0000 (19:33 +0200)]
[tmv] Check return value of avio_seek and avoid modifying state if it fails

12 years ago[r3d] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:32:29 +0000 (19:32 +0200)]
[r3d] Check return value of avio_seek and avoid modifying state if it fails

12 years ago[nsv] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:26:57 +0000 (19:26 +0200)]
[nsv] Check return value of avio_seek and avoid modifying state if it fails

12 years ago[mxfdec] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:26:48 +0000 (19:26 +0200)]
[mxfdec] Check return value of avio_seek and avoid modifying state if it fails

12 years ago[mpc8] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:26:32 +0000 (19:26 +0200)]
[mpc8] Check return value of avio_seek and avoid modifying state if it fails

12 years ago[jvd] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:25:43 +0000 (19:25 +0200)]
[jvd] Check return value of avio_seek and avoid modifying state if it fails

12 years ago[filmstrip] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:25:18 +0000 (19:25 +0200)]
[filmstrip] Check return value of avio_seek and avoid modifying state if it fails

12 years ago[ffmdec] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:24:55 +0000 (19:24 +0200)]
[ffmdec] Check return value of avio_seek and avoid modifying state if it fails

12 years ago[dv] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:24:25 +0000 (19:24 +0200)]
[dv] Check return value of avio_seek and avoid modifying state if it fails

12 years ago[cafdec] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:24:07 +0000 (19:24 +0200)]
[cafdec] Check return value of avio_seek and avoid modifying state if it fails

12 years ago[bink] Check return value of avio_seek and avoid modifying state if it fails
Joakim Plate [Wed, 14 Sep 2011 17:23:39 +0000 (19:23 +0200)]
[bink] Check return value of avio_seek and avoid modifying state if it fails

12 years agolavf utils: Remove write-only variable
Alex Converse [Tue, 13 Sep 2011 22:27:01 +0000 (15:27 -0700)]
lavf utils: Remove write-only variable

12 years agolavf utils: Rename shadowing variable
Alex Converse [Tue, 13 Sep 2011 22:26:25 +0000 (15:26 -0700)]
lavf utils: Rename shadowing variable

12 years agoMerge remote-tracking branch 'hexene/scratchpad'
Michael Niedermayer [Wed, 14 Sep 2011 15:46:49 +0000 (17:46 +0200)]
Merge remote-tracking branch 'hexene/scratchpad'

* hexene/scratchpad:
  libstagefright: Explicitly free smart pointer objects
  Changelog: Explain why C++ support is added, and that its optional
  tools/build_libstagefright: rename build/libav to something neutral

Conflicts:
Changelog

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibstagefright: Explicitly free smart pointer objects
Mohamed Naufal [Wed, 14 Sep 2011 15:31:07 +0000 (21:01 +0530)]
libstagefright: Explicitly free smart pointer objects

12 years agoChangelog: Explain why C++ support is added, and that its optional
Michael Niedermayer [Wed, 14 Sep 2011 00:35:28 +0000 (02:35 +0200)]
Changelog: Explain why C++ support is added, and that its optional

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomake mpegts_get_pcr resync if it's not on a valid mpegts packet
elupus [Wed, 27 Aug 2008 18:44:16 +0000 (20:44 +0200)]
make mpegts_get_pcr resync if it's not on a valid mpegts packet

12 years agocosmetic reindent of mpegts_get_pcr
elupus [Wed, 27 Aug 2008 18:08:20 +0000 (20:08 +0200)]
cosmetic reindent of mpegts_get_pcr

12 years agocheck return value of url_fseek in mpegts_get_pcr
elupus [Wed, 27 Aug 2008 18:07:51 +0000 (20:07 +0200)]
check return value of url_fseek in mpegts_get_pcr

12 years agorespect the maximum position mpegts_get_pcr is allowed to seek to
elupus [Wed, 27 Aug 2008 18:07:11 +0000 (20:07 +0200)]
respect the maximum position mpegts_get_pcr is allowed to seek to

12 years agoremove unused code in mpegts_get_pcr
elupus [Wed, 27 Aug 2008 17:57:45 +0000 (19:57 +0200)]
remove unused code in mpegts_get_pcr

12 years agotools/build_libstagefright: rename build/libav to something neutral
Michael Niedermayer [Wed, 14 Sep 2011 00:33:50 +0000 (02:33 +0200)]
tools/build_libstagefright: rename build/libav to something neutral

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffplay: dont drop all frames if realtime decoding is impossible
Michael Niedermayer [Wed, 14 Sep 2011 12:56:59 +0000 (14:56 +0200)]
ffplay: dont drop all frames if realtime decoding is impossible

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agosmacker: fix a few off by 1 errors
Michael Niedermayer [Tue, 13 Sep 2011 21:24:56 +0000 (23:24 +0200)]
smacker: fix a few off by 1 errors

stereo & 16bit is untested due to lack of samples

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoCheck for invalid VLC value in smacker decoder.
Laurent Aimar [Mon, 12 Sep 2011 21:49:36 +0000 (23:49 +0200)]
Check for invalid VLC value in smacker decoder.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoCheck and propagate errors when VLC trees cannot be built in smacker decoder.
Laurent Aimar [Mon, 12 Sep 2011 21:46:49 +0000 (23:46 +0200)]
Check and propagate errors when VLC trees cannot be built in smacker decoder.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agodvdsubdec: fix bad free in dvdsub_init
Kelly Anderson [Wed, 14 Sep 2011 05:14:37 +0000 (07:14 +0200)]
dvdsubdec: fix bad free in dvdsub_init

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'hexene/scratchpad'
Michael Niedermayer [Tue, 13 Sep 2011 23:23:16 +0000 (01:23 +0200)]
Merge remote-tracking branch 'hexene/scratchpad'

* hexene/scratchpad:
  Move & Rename buildscript, remove tabs
  Fix regular build
  Support (H/W accelerated) H.264 decoding on Android via Stagefright
  Add build-script for Android
  C++ Support ;)

Conflicts:
Changelog
Makefile
configure
libavcodec/Makefile
libavcodec/allcodecs.c
libavcodec/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMuxing WTV is supported.
Carl Eugen Hoyos [Tue, 13 Sep 2011 23:21:15 +0000 (01:21 +0200)]
Muxing WTV is supported.

12 years agowtvenc: add some asserts because iam paranoid
Michael Niedermayer [Tue, 13 Sep 2011 23:08:01 +0000 (01:08 +0200)]
wtvenc: add some asserts because iam paranoid

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoWTV muxer (2_wtvenc.patch, 3_add_wtv_muxer.patch)
zhentan feng [Tue, 13 Sep 2011 09:54:44 +0000 (17:54 +0800)]
WTV muxer (2_wtvenc.patch, 3_add_wtv_muxer.patch)

12 years agoswscale: drop redundant code.
Michael Niedermayer [Tue, 13 Sep 2011 22:32:18 +0000 (00:32 +0200)]
swscale: drop redundant code.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoswscale: add 14bit support to the "MMX/SSE2/SSSE3/SSE4 versions for horizontal scaling"
Michael Niedermayer [Tue, 13 Sep 2011 22:18:16 +0000 (00:18 +0200)]
swscale: add 14bit support to the "MMX/SSE2/SSSE3/SSE4 versions for horizontal scaling"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoswscale: remove unused and forgotten file.
Michael Niedermayer [Tue, 13 Sep 2011 22:05:19 +0000 (00:05 +0200)]
swscale: remove unused and forgotten file.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoRevert "Check if dxva2api.h is recent enough to compile vc1_dxva2_hwaccel."
Michael Niedermayer [Tue, 13 Sep 2011 21:56:13 +0000 (23:56 +0200)]
Revert "Check if dxva2api.h is recent enough to compile vc1_dxva2_hwaccel."

This reverts commit 9104cd5161ec7cb31361f3dabd73a8a813d4f7d0.
Revert requested by ramiro

Conflicts:

configure

12 years agodoc/ffmpeg: s/avserver/ffserver/
Michael Niedermayer [Tue, 13 Sep 2011 21:52:43 +0000 (23:52 +0200)]
doc/ffmpeg: s/avserver/ffserver/
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 13 Sep 2011 21:31:17 +0000 (23:31 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  sws: implement MMX/SSE2/SSSE3/SSE4 versions for horizontal scaling.
  include stdint.h in adpcm_data.h
  mpeg12: reorder functions to avoid ugly forward declarations
  Fixed off by one packet size allocation in the smacker demuxer.
  Check for invalid packet size in the smacker demuxer.
  ape demuxer: fix segfault on memory allocation failure.
  xan: Add some buffer checks
  xan: Remove extra trailing newline
  Fixed size given to init_get_bits() in xan decoder.

Conflicts:
libavcodec/mpeg12.c
libswscale/x86/swscale_template.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffprobe: rename print_{int,str}_f callbacks to print_{integer,string}.
Clément Bœsch [Tue, 13 Sep 2011 20:47:30 +0000 (22:47 +0200)]
ffprobe: rename print_{int,str}_f callbacks to print_{integer,string}.

Renamed for consistency. Also, since print_int() and print_str() are
already defined as macros, the long name version is preferred.

12 years agoffprobe: add JSON output printing format.
Clément Bœsch [Tue, 13 Sep 2011 20:37:54 +0000 (22:37 +0200)]
ffprobe: add JSON output printing format.

12 years agoffprobe: replace fmt callback with str callback.
Clément Bœsch [Mon, 12 Sep 2011 17:22:53 +0000 (19:22 +0200)]
ffprobe: replace fmt callback with str callback.

Having a string callback is much more simpler than a variable args
one for writers to deal with, especially when dealing with escaping.

This patch also introduces a local fast_asprintf() function which is
similar to av_asprintf() but avoids reallocating at each print (leading
to a performance issue).

12 years agoMerge avconv.texi in ffmpeg.texi
Michael Niedermayer [Tue, 13 Sep 2011 18:34:19 +0000 (20:34 +0200)]
Merge avconv.texi in ffmpeg.texi

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agosws: implement MMX/SSE2/SSSE3/SSE4 versions for horizontal scaling.
Ronald S. Bultje [Tue, 13 Sep 2011 16:53:42 +0000 (09:53 -0700)]
sws: implement MMX/SSE2/SSSE3/SSE4 versions for horizontal scaling.

Speed: from 3.9x to 9.6x speed improvement over C, and some small
(up to 15%) speed improvements over existing MMX code (particularly
for bigger filters).

12 years agoconfigure: slightly more robust looking check for math functions.
Michael Niedermayer [Tue, 13 Sep 2011 15:29:49 +0000 (17:29 +0200)]
configure: slightly more robust looking check for math functions.
I dont know on which system the prior check failed but an advanced
linker on some platform might have optimized func() out as unreachable.

Patch taken from http://floss.freebox.fr
Author: unknown

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: fix video synchronization code to be exact on constant fps videos. Fixes...
Michael Niedermayer [Tue, 13 Sep 2011 03:13:34 +0000 (05:13 +0200)]
ffmpeg: fix video synchronization code to be exact on constant fps videos. Fixes Ticket137

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoinclude stdint.h in adpcm_data.h
Justin Ruggles [Tue, 13 Sep 2011 14:59:47 +0000 (10:59 -0400)]
include stdint.h in adpcm_data.h

fixes make checkheaders

12 years agompeg12: reorder functions to avoid ugly forward declarations
Diego Biurrun [Thu, 8 Sep 2011 17:19:18 +0000 (19:19 +0200)]
mpeg12: reorder functions to avoid ugly forward declarations

12 years agoffplay: remove thread command line option code, it is unneeded for -threads X to...
Michael Niedermayer [Tue, 13 Sep 2011 13:03:59 +0000 (15:03 +0200)]
ffplay: remove thread command line option code, it is unneeded for -threads X to work.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavcodec: move "thread emulation" warning to common code
Michael Niedermayer [Tue, 13 Sep 2011 12:40:13 +0000 (14:40 +0200)]
avcodec: move "thread emulation" warning  to common code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoFix false positive when detecting dxva2.
Carl Eugen Hoyos [Tue, 13 Sep 2011 08:11:16 +0000 (10:11 +0200)]
Fix false positive when detecting dxva2.

12 years agolibavformat/utils: print ts in the "invalid dts/pts combination" case.
Michael Niedermayer [Tue, 13 Sep 2011 02:27:41 +0000 (04:27 +0200)]
libavformat/utils: print ts in the "invalid dts/pts combination" case.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovf_remove_logo: domt access vf->next->query_format() directly but use the API.
Michael Niedermayer [Tue, 13 Sep 2011 01:52:30 +0000 (03:52 +0200)]
vf_remove_logo: domt access vf->next->query_format() directly but use the API.
This fixes a crash

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agosmacker: fix a few off by 1 errors
Michael Niedermayer [Mon, 12 Sep 2011 23:14:44 +0000 (01:14 +0200)]
smacker: fix a few off by 1 errors
stereo & 16bit is untested due to lack of samples

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodvdsubdec: Move colormap and alpha to context
Joakim Plate [Mon, 12 Sep 2011 19:11:15 +0000 (21:11 +0200)]
dvdsubdec: Move colormap and alpha to context

This makes it rememember old values should the stream not
contain new values for these for each subtitle.

12 years agosmacker: add forgotten *
Michael Niedermayer [Mon, 12 Sep 2011 21:45:21 +0000 (23:45 +0200)]
smacker: add forgotten *
found by fenrir

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoFixed off by one packet size allocation in the smacker demuxer.
Laurent Aimar [Mon, 12 Sep 2011 18:50:34 +0000 (20:50 +0200)]
Fixed off by one packet size allocation in the smacker demuxer.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoCheck for invalid packet size in the smacker demuxer.
Laurent Aimar [Mon, 12 Sep 2011 18:50:13 +0000 (20:50 +0200)]
Check for invalid packet size in the smacker demuxer.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agolibx264: fix overwriting presets with flags2
Andrew Wason [Mon, 12 Sep 2011 19:55:34 +0000 (15:55 -0400)]
libx264: fix overwriting presets with flags2

This fixes overwriting x264 preset settings for flags2 based options.
See https://ffmpeg.org/trac/ffmpeg/ticket/448

12 years agoasf: only try to read asf index once
Joakim Plate [Mon, 12 Sep 2011 19:35:32 +0000 (21:35 +0200)]
asf: only try to read asf index once

This avoid retrying to read ASF index in files for every
attempt to seek. This makes a big difference to protocols
with slow seeking (for example http)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavfi: bump minor and update APIchanges after recent updates
Stefano Sabatini [Mon, 12 Sep 2011 19:59:00 +0000 (21:59 +0200)]
lavfi: bump minor and update APIchanges after recent updates

These changes were forgotten in commits:
  lavfi: simplify signature for avfilter_get_audio_buffer() and friends
  (commit 2c0317419bc8c7f28496d5181d951bbe8837071f)
and
  lavfi: consistently use int for sample_rate in AVFilterLink and AVFilterBufferRefAudioProps
  (commit 4381bddc9f93da34a44e683bdc4c05c6f061244e)

12 years agosegafilm: Fix potential division by 0 on corrupted segafilm streams in the demuxer.
Laurent Aimar [Mon, 12 Sep 2011 19:09:57 +0000 (21:09 +0200)]
segafilm: Fix potential division by 0 on corrupted segafilm streams in the demuxer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agosegafilm: Check for memory allocation failures in segafilm demuxer.
Laurent Aimar [Mon, 12 Sep 2011 18:58:35 +0000 (20:58 +0200)]
segafilm: Check for memory allocation failures in segafilm demuxer.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibx264: fix overwriting preset rc_lookahead
Andrew Wason [Mon, 12 Sep 2011 19:08:45 +0000 (15:08 -0400)]
libx264: fix overwriting preset rc_lookahead

This fixes https://ffmpeg.org/trac/ffmpeg/ticket/448 - at least for
rc_lookahead. A similar problem still exists for the flags2 based
options.

12 years agodvdsubdec: Support palette information for vobsub's stored as text in extradata
Joakim Plate [Sun, 11 Sep 2011 17:02:09 +0000 (19:02 +0200)]
dvdsubdec: Support palette information for vobsub's stored as text in extradata

This is how mkv's store palette information for vobsubs

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoape demuxer: fix segfault on memory allocation failure.
Laurent Aimar [Sun, 11 Sep 2011 17:17:40 +0000 (19:17 +0200)]
ape demuxer: fix segfault on memory allocation failure.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 12 Sep 2011 18:49:20 +0000 (20:49 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  adpcm: split ADPCM encoders and decoders into separate files.
  doc/avconv: fix typo.
  rv34: check that subsequent slices have the same type as first one.
  smacker demuxer: handle possible av_realloc() failure.
  lavfi: add split filter from soc.
  lavfi: add showinfo filter
  libxavs: add private options corresponding to deprecated global options

Conflicts:
Changelog
libavcodec/adpcm.c
libavfilter/avfilter.h
libavfilter/vf_showinfo.c
libavfilter/vf_split.c
libavformat/smacker.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoxan: Add some buffer checks
Alex Converse [Fri, 9 Sep 2011 23:10:03 +0000 (16:10 -0700)]
xan: Add some buffer checks

12 years agoxan: Remove extra trailing newline
Alex Converse [Fri, 9 Sep 2011 23:13:52 +0000 (16:13 -0700)]
xan: Remove extra trailing newline

12 years agoFixed size given to init_get_bits() in xan decoder.
Laurent Aimar [Fri, 9 Sep 2011 22:32:12 +0000 (00:32 +0200)]
Fixed size given to init_get_bits() in xan decoder.

12 years agodshow: indent
Ramiro Polla [Fri, 9 Sep 2011 03:09:42 +0000 (00:09 -0300)]
dshow: indent

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
12 years agodshow: add option to list devices
Ramiro Polla [Fri, 9 Sep 2011 03:09:23 +0000 (00:09 -0300)]
dshow: add option to list devices

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
12 years agodshow: factorise cycling through devices
Ramiro Polla [Fri, 9 Sep 2011 03:08:43 +0000 (00:08 -0300)]
dshow: factorise cycling through devices

Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
12 years agolavfi: consistently use int for sample_rate in AVFilterLink and AVFilterBufferRefAudi...
Stefano Sabatini [Sun, 21 Aug 2011 17:17:24 +0000 (19:17 +0200)]
lavfi: consistently use int for sample_rate in AVFilterLink and AVFilterBufferRefAudioProps

Also consistent with AVCodecContext.sample_rate. Simplify/avoid
pointless type checks and conversions.

Breaks audio API/ABI.

12 years agolavfi: simplify signature for avfilter_get_audio_buffer() and friends
Stefano Sabatini [Tue, 30 Aug 2011 21:22:29 +0000 (23:22 +0200)]
lavfi: simplify signature for avfilter_get_audio_buffer() and friends

The additional parameters were never used and are complicating the
function interface. Also, they were inconsistent with the way the
video API works.

So this assumes that a requested samples buffer will have *always* the
format specified in the requested link.

This breaks audio filtering API and ABI.

12 years agomxfdec: skip to end of structural sets This fixes reading of partition packs. The...
Philip de Nier [Mon, 12 Sep 2011 10:13:44 +0000 (11:13 +0100)]
mxfdec: skip to end of structural sets This fixes reading of partition packs. The code stops reading after the operational pattern and should skip the array of essence container labels that follow

12 years agogitignore: ignore .exp files, as generated by the MS linker on win32
Hendrik Leppkes [Mon, 12 Sep 2011 15:45:25 +0000 (17:45 +0200)]
gitignore: ignore .exp files, as generated by the MS linker on win32

Ignore another filetype, as generated by Microsofts lib.exe when creating the import libraries.

12 years agoadpcm: split ADPCM encoders and decoders into separate files.
Justin Ruggles [Wed, 7 Sep 2011 22:34:09 +0000 (18:34 -0400)]
adpcm: split ADPCM encoders and decoders into separate files.

Move shared tables to a separate file as well.

12 years agodoc/avconv: fix typo.
Anton Khirnov [Mon, 12 Sep 2011 08:40:43 +0000 (10:40 +0200)]
doc/avconv: fix typo.

12 years agorv34: check that subsequent slices have the same type as first one.
Kostya Shishkov [Mon, 12 Sep 2011 09:39:53 +0000 (11:39 +0200)]
rv34: check that subsequent slices have the same type as first one.

This prevents some crashes when corrupted bitstream reports e.g. P-type
slice in I-frame. Official RealVideo decoder demands all slices to be
of the same type too.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agosmacker demuxer: handle possible av_realloc() failure.
Kostya Shishkov [Mon, 12 Sep 2011 07:40:42 +0000 (09:40 +0200)]
smacker demuxer: handle possible av_realloc() failure.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agoffmpeg: remove unused data_codec_name.
Clément Bœsch [Mon, 12 Sep 2011 10:05:15 +0000 (12:05 +0200)]
ffmpeg: remove unused data_codec_name.

12 years agoffmpeg: set {audio,video,subtitle}_codec_name const.
Clément Bœsch [Mon, 12 Sep 2011 10:02:41 +0000 (12:02 +0200)]
ffmpeg: set {audio,video,subtitle}_codec_name const.

This fixes "assignment discards ‘const’ qualifier from pointer target
type." warnings.

12 years agoffmpeg: a bit more consistent prototypes.
Clément Bœsch [Mon, 12 Sep 2011 09:44:14 +0000 (11:44 +0200)]
ffmpeg: a bit more consistent prototypes.

12 years agolavfi: add split filter from soc.
Bobby Bingham [Sat, 21 May 2011 14:46:11 +0000 (16:46 +0200)]
lavfi: add split filter from soc.

Some fixes by Stefano.
For detailed authorship see SOC repo

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agolavfi: add showinfo filter
Stefano Sabatini [Sat, 23 Apr 2011 18:55:34 +0000 (20:55 +0200)]
lavfi: add showinfo filter

Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years agolibxavs: add private options corresponding to deprecated global options
Anton Khirnov [Sun, 11 Sep 2011 06:14:43 +0000 (08:14 +0200)]
libxavs: add private options corresponding to deprecated global options

Code mostly copied from libx264 wrapper.