ffmpeg.git
6 years agoSupport decoding AC-3 in wav.
Carl Eugen Hoyos [Sun, 6 Jan 2013 17:48:51 +0000 (18:48 +0100)]
Support decoding AC-3 in wav.

All known samples are actually ac3-in-spdif-in-wav, so use
the spdif demuxer to get the ac3 frames.

6 years ago012v decoder.
Carl Eugen Hoyos [Sun, 6 Jan 2013 16:55:14 +0000 (17:55 +0100)]
012v decoder.

The decoder also supports a12v, but removes the transparency layer
since no samples with actual transparency are available for testing.

6 years agoadd note on windows pipe
rogerdpack [Wed, 26 Dec 2012 19:21:15 +0000 (12:21 -0700)]
add note on windows pipe

Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodoc/ffmpeg-resampler: Try to document async
Michael Niedermayer [Sun, 6 Jan 2013 16:05:45 +0000 (17:05 +0100)]
doc/ffmpeg-resampler: Try to document async

Improvements welcome!

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoSupport stereo as experimental feature in mmf / Yamaha SMAF.
Carl Eugen Hoyos [Sun, 6 Jan 2013 15:38:24 +0000 (16:38 +0100)]
Support stereo as experimental feature in mmf / Yamaha SMAF.

Fixes ticket #1085.

6 years agofate: disable kerndeint test
Michael Niedermayer [Sun, 6 Jan 2013 14:07:19 +0000 (15:07 +0100)]
fate: disable kerndeint test

The filter has been added recently and does not yet pass tests on all platforms.
It should not be included in the tests in the release until it works.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomxfenc: avoid depending on private codec structures and functions
Michael Niedermayer [Fri, 4 Jan 2013 20:18:57 +0000 (21:18 +0100)]
mxfenc: avoid depending on private codec structures and functions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodnxhd: Add avpriv_dnxhd_get_frame_size()
Michael Niedermayer [Fri, 4 Jan 2013 20:18:21 +0000 (21:18 +0100)]
dnxhd: Add avpriv_dnxhd_get_frame_size()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agocos_tablegen: fix the lack on M_PI
Michael Niedermayer [Sat, 5 Jan 2013 13:09:33 +0000 (14:09 +0100)]
cos_tablegen: fix the lack on M_PI

We dont include mathematics.h as the headers get configured by config.h
for the target not the host.

Reviewed-by: Clément Bœsch <ubitux@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoalsdec: Introduce failsafe switch to keep ALSSpecificConfig consistent to the input.
Thilo Borgmann [Sat, 5 Jan 2013 14:29:13 +0000 (15:29 +0100)]
alsdec: Introduce failsafe switch to keep ALSSpecificConfig consistent to the input.

Reveiwed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoalsdec: Consistently use a period at the end of error messages.
Thilo Borgmann [Sun, 6 Jan 2013 11:14:53 +0000 (12:14 +0100)]
alsdec: Consistently use a period at the end of error messages.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 6 Jan 2013 12:20:14 +0000 (13:20 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  x86: lavr: use the x86inc.asm automatic stack alignment in mixing functions

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agofrmdec: reduce probe score to reflect test accuracy (and pass probetest)
Peter Ross [Sun, 6 Jan 2013 05:51:22 +0000 (16:51 +1100)]
frmdec: reduce probe score to reflect test accuracy (and pass probetest)

6 years agovf_tinterlace: fix logical/bit op mixup
Michael Niedermayer [Sun, 6 Jan 2013 03:12:20 +0000 (04:12 +0100)]
vf_tinterlace: fix logical/bit op mixup

Fixes CID966642

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi/kerndeint: get pix format description only once.
Clément Bœsch [Sun, 6 Jan 2013 03:36:42 +0000 (04:36 +0100)]
lavfi/kerndeint: get pix format description only once.

This makes the code faster.

6 years agofate: kerndeint requires gpl
Peter Ross [Sun, 6 Jan 2013 02:01:35 +0000 (13:01 +1100)]
fate: kerndeint requires gpl

6 years agolavfi/avfilter: remove now unused {src,cur,out}_buf.
Clément Bœsch [Sun, 6 Jan 2013 03:14:53 +0000 (04:14 +0100)]
lavfi/avfilter: remove now unused {src,cur,out}_buf.

This was supposed to be removed in 565e4993, but it was delayed due to
the port of the remaining filters. These buffer ref pointers are not
used anymore, thus dropped.

6 years agolavc/subviewerdec: fix potential NULL deref.
Clément Bœsch [Sun, 6 Jan 2013 03:01:11 +0000 (04:01 +0100)]
lavc/subviewerdec: fix potential NULL deref.

Fixes CID966647

6 years agoMegalux Frame demuxer
Peter Ross [Sun, 6 Jan 2013 02:58:15 +0000 (13:58 +1100)]
Megalux Frame demuxer

6 years agofate: disable lavfi-histeq
Michael Niedermayer [Sun, 6 Jan 2013 01:29:51 +0000 (02:29 +0100)]
fate: disable lavfi-histeq

The filter has been added recently and does not yet pass tests on all platforms.
It should not be included in the tests in the release until it works.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agovf_kerndeint: memset buffer to avoid use of uninitialized memory.
Michael Niedermayer [Sun, 6 Jan 2013 01:27:22 +0000 (02:27 +0100)]
vf_kerndeint: memset buffer to avoid use of uninitialized memory.

This might fix fate failures.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agotiffdec: Use the correct height field.
Piotr Bandurski [Sun, 6 Jan 2013 00:56:23 +0000 (01:56 +0100)]
tiffdec: Use the correct height field.

Fixes Ticket913

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years ago10l: Update fate seeking reference after last commit.
Carl Eugen Hoyos [Sat, 5 Jan 2013 22:42:00 +0000 (23:42 +0100)]
10l: Update fate seeking reference after last commit.

6 years agommf.c: Use LIBAVFORMAT_IDENT when writing Yamaha SMAF version information.
Carl Eugen Hoyos [Sat, 5 Jan 2013 22:39:46 +0000 (23:39 +0100)]
mmf.c: Use LIBAVFORMAT_IDENT when writing Yamaha SMAF version information.

6 years agolibavfilter/video.h: remove unused things related to the start/slice/end API
Michael Niedermayer [Sat, 5 Jan 2013 22:32:25 +0000 (23:32 +0100)]
libavfilter/video.h: remove unused things related to the start/slice/end API

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agointernal.h: remove start/end_frame from AVFilterPad
Michael Niedermayer [Sat, 5 Jan 2013 22:25:18 +0000 (23:25 +0100)]
internal.h: remove start/end_frame from AVFilterPad

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agommf.c: Do not write metadata into the SMAF Contents Info chunk.
内田佳久 [Sat, 5 Jan 2013 22:11:09 +0000 (23:11 +0100)]
mmf.c: Do not write metadata into the SMAF Contents Info chunk.

6 years agox86: lavr: use the x86inc.asm automatic stack alignment in mixing functions
Justin Ruggles [Wed, 2 Jan 2013 18:34:48 +0000 (13:34 -0500)]
x86: lavr: use the x86inc.asm automatic stack alignment in mixing functions

CC:libav-stable@libav.org

6 years agolibspeexdec: fix terminator check
Michael Niedermayer [Thu, 3 Jan 2013 16:13:16 +0000 (17:13 +0100)]
libspeexdec: fix terminator check

Fixes Ticket2096

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMAINTAINERS: add myself as maintainer of lavf/astenc.c
James Almer [Sat, 5 Jan 2013 15:43:52 +0000 (12:43 -0300)]
MAINTAINERS: add myself as maintainer of lavf/astenc.c

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoastenc: Enable the loop flag only when needed
James Almer [Sat, 5 Jan 2013 15:39:42 +0000 (12:39 -0300)]
astenc: Enable the loop flag only when needed

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavu: test for broken binutils on ARM
Michael Niedermayer [Sat, 15 Dec 2012 19:46:33 +0000 (20:46 +0100)]
lavu: test for broken binutils on ARM

Some old gnu assemblers fail to assemble qdadd correctly
Ideally we should check this at build time, but better to
check at run time than mysteriously failing.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavu/base64: return meaningful error code.
Nicolas George [Tue, 1 Jan 2013 15:04:15 +0000 (16:04 +0100)]
lavu/base64: return meaningful error code.

6 years agoAllow remaining 32bit RGB packed pix_fmts in kerndeint filter.
Carl Eugen Hoyos [Sat, 5 Jan 2013 13:40:06 +0000 (14:40 +0100)]
Allow remaining 32bit RGB packed pix_fmts in kerndeint filter.

Reviewed-by: Stefano Sabatini
6 years agolavfi/kerndeint: fix mismatch between declared pixel format and test
Stefano Sabatini [Sat, 5 Jan 2013 13:03:40 +0000 (14:03 +0100)]
lavfi/kerndeint: fix mismatch between declared pixel format and test

+10l.

6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 5 Jan 2013 12:37:30 +0000 (13:37 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  swscale: fix NULL checking in sws_alloc_context()
  mxfdec: fix NULL checking in mxf_get_sorted_table_segments()
  finalize changelog for version 9

Conflicts:
Changelog
libavformat/mxfdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit 'b14e89b3c5e6d7f6401a2ff1e3d198fa902e988a'
Michael Niedermayer [Sat, 5 Jan 2013 12:27:59 +0000 (13:27 +0100)]
Merge commit 'b14e89b3c5e6d7f6401a2ff1e3d198fa902e988a'

* commit 'b14e89b3c5e6d7f6401a2ff1e3d198fa902e988a':
  Prepare for 9 Release.
  Update release notes for the 9 release.
  avprobe: also output dar/par if only defined in stream

Conflicts:
RELEASE
avprobe.c
doc/RELEASE_NOTES

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi/drawutils: fix blending computation in blend_line function
Matthieu Bouron [Fri, 4 Jan 2013 21:08:11 +0000 (22:08 +0100)]
lavfi/drawutils: fix blending computation in blend_line function

If width is not alligned with hsub, background component should only be
multiplied once by sub alpha component.

6 years agolavu: check that assert level is defined
Michael Niedermayer [Sat, 5 Jan 2013 10:19:54 +0000 (11:19 +0100)]
lavu: check that assert level is defined

fix warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agow64dec: support metadata (summarylist guid)
Paul B Mahol [Sat, 29 Dec 2012 15:00:50 +0000 (15:00 +0000)]
w64dec: support metadata (summarylist guid)

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoalsdec: change channel sorting so it match reference implementation
Paul B Mahol [Thu, 3 Jan 2013 18:37:32 +0000 (18:37 +0000)]
alsdec: change channel sorting so it match reference implementation

Read channel source instead of channel target for channel sorting.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavfi: add histeq filter
Stefano Sabatini [Sat, 20 Oct 2012 05:45:51 +0000 (07:45 +0200)]
lavfi: add histeq filter

This is a port of virtual dub's histogram equalization filter by Donald
A. Graft. Based on the work by Jérémy Tran <tran.jeremy.av@gmail.com>,
done for SOCIS 2012.

6 years agolavfi: add kerndeint filter
Stefano Sabatini [Thu, 18 Oct 2012 07:50:53 +0000 (09:50 +0200)]
lavfi: add kerndeint filter

This is a port of the kerndeint filter (libmpcodecs/vf_kerndeint) by
Donal A. Graft (original avisynth plugin author), and is based on the
work by Jérémy Tran <tran.jeremy.av@gmail.com> done for SOCIS 2012.

6 years agotests/lavfi-regression: always require three parameters in do_lavfi_pixfmts()
Stefano Sabatini [Thu, 3 Jan 2013 18:48:01 +0000 (19:48 +0100)]
tests/lavfi-regression: always require three parameters in do_lavfi_pixfmts()

Force commands to specify the name of the test to run. This simplifies
extending the function with a new parameter, which will be done in a
following patch.

6 years agoFix AVCI50 SPS to specify a SAR of 4:3 instead of 3:4.
Carl Eugen Hoyos [Sat, 5 Jan 2013 08:20:03 +0000 (09:20 +0100)]
Fix AVCI50 SPS to specify a SAR of 4:3 instead of 3:4.

6 years agolavfi/drawutils: fix typo
Matthieu Bouron [Fri, 4 Jan 2013 21:08:12 +0000 (22:08 +0100)]
lavfi/drawutils: fix typo

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoswscale: fix NULL checking in sws_alloc_context()
Xi Wang [Fri, 4 Jan 2013 21:15:33 +0000 (21:15 +0000)]
swscale: fix NULL checking in sws_alloc_context()

sws_getCachedContext() and sws_getContext() expect sws_alloc_context()
to return NULL when out of memory, as follows.

    if (!(context = sws_alloc_context()))
        return NULL;

This patch fixes sws_alloc_context() to return NULL in that case.

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
6 years agomxfdec: fix NULL checking in mxf_get_sorted_table_segments()
Xi Wang [Fri, 4 Jan 2013 21:09:47 +0000 (21:09 +0000)]
mxfdec: fix NULL checking in mxf_get_sorted_table_segments()

The following out-of-memory check is broken.

    *sorted_segments  = av_mallocz(...);
    if (!sorted_segments) { ... }

The correct NULL check should use *sorted_segments.

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
6 years agofinalize changelog for version 9
Reinhard Tartler [Fri, 4 Jan 2013 23:20:33 +0000 (00:20 +0100)]
finalize changelog for version 9

6 years agolavu: check av_clip*() limits
Michael Niedermayer [Wed, 21 Nov 2012 21:53:06 +0000 (22:53 +0100)]
lavu: check av_clip*() limits

This code cannot use av_assert* due to circular header dependancies

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavc: remove img_get_alpha_info as it not available any more
Paul B Mahol [Fri, 4 Jan 2013 20:11:19 +0000 (20:11 +0000)]
lavc: remove img_get_alpha_info as it not available any more

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agompegpsenc: avoid shifting dts/pts
Michael Niedermayer [Fri, 4 Jan 2013 19:28:45 +0000 (20:28 +0100)]
mpegpsenc: avoid shifting dts/pts

Only shift if needed to avoid negative scr when requested
or for dvd.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompegpsenc: show first SCR/DTS at debug level
Michael Niedermayer [Fri, 4 Jan 2013 19:15:56 +0000 (20:15 +0100)]
mpegpsenc: show first SCR/DTS at debug level

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompegpsenc: move preload recalculation to where its needed
Michael Niedermayer [Fri, 4 Jan 2013 19:15:11 +0000 (20:15 +0100)]
mpegpsenc: move preload recalculation to where its needed

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompegpsenc: Fix SCR handling for DVD
Michael Niedermayer [Fri, 4 Jan 2013 18:50:48 +0000 (19:50 +0100)]
mpegpsenc: Fix SCR handling for DVD

This makes the initial SCR equal 0

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompegpsenc: restructure SCR handling
Michael Niedermayer [Fri, 4 Jan 2013 18:44:27 +0000 (19:44 +0100)]
mpegpsenc: restructure SCR handling

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoau: use ff_raw_write_packet()
Justin Ruggles [Fri, 4 Jan 2013 19:52:57 +0000 (19:52 +0000)]
au: use ff_raw_write_packet()

6 years agoFix "knwon" typo and add a check in tools/patcheck
Paul B Mahol [Fri, 4 Jan 2013 19:12:08 +0000 (19:12 +0000)]
Fix "knwon" typo and add a check in tools/patcheck

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agofixed granularity of video quality when encoding with theora codec
Maximilian Seesslen [Fri, 4 Jan 2013 15:56:00 +0000 (16:56 +0100)]
fixed granularity of video quality when encoding with theora codec

The floating point version of av_clip has to be used when converting the quality level.

Signed-off-by: Maximilian Seesslen <mes@seesslen.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoPrepare for 9 Release.
Anton Khirnov [Fri, 4 Jan 2013 16:53:47 +0000 (17:53 +0100)]
Prepare for 9 Release.

6 years agoUpdate release notes for the 9 release.
Anton Khirnov [Thu, 3 Jan 2013 17:02:59 +0000 (18:02 +0100)]
Update release notes for the 9 release.

Add a paragraph about MSVC and mention 24-bit FLAC encoding.

6 years agomsrle: fix small palette handling
Michael Niedermayer [Fri, 4 Jan 2013 15:37:20 +0000 (16:37 +0100)]
msrle: fix small palette handling

Fixes second file in Ticket1273

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolswr: Improve default resampler's default parameters
Alexander Strasser [Tue, 25 Dec 2012 22:14:09 +0000 (23:14 +0100)]
lswr: Improve default resampler's default parameters

After making some blind tests on a small collection of music
samples for home usage. It turned out that the default cutoff
was too low.

The impact of filter_size was not clearly distinguishable (the
results were on the edge) with the music samples but turned out
to be clearly audible in some synthetic samples.

Thanks to Daniel for helping out with the listening tests.

Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 4 Jan 2013 12:29:09 +0000 (13:29 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavr: fix missing " in header documentation
  aviobuf: Discard old buffered, previously read data in ffio_read_partial

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit 'e96406eda4f143f101bd44372f7b2d542183000a'
Michael Niedermayer [Fri, 4 Jan 2013 12:23:19 +0000 (13:23 +0100)]
Merge commit 'e96406eda4f143f101bd44372f7b2d542183000a'

* commit 'e96406eda4f143f101bd44372f7b2d542183000a':
  rtsp: Add support for depacketizing RTP data via custom IO

Conflicts:
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '3f95f0dda55fca74b646937095a02a8fa9776622'
Michael Niedermayer [Fri, 4 Jan 2013 12:13:01 +0000 (13:13 +0100)]
Merge commit '3f95f0dda55fca74b646937095a02a8fa9776622'

* commit '3f95f0dda55fca74b646937095a02a8fa9776622':
  rtpdec: Move the URLContext used for RTCP RR out from the context, to a parameter

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit 'a0b7e289075dccf223b7f407790d8a86fc5d77e8'
Michael Niedermayer [Fri, 4 Jan 2013 12:01:54 +0000 (13:01 +0100)]
Merge commit 'a0b7e289075dccf223b7f407790d8a86fc5d77e8'

* commit 'a0b7e289075dccf223b7f407790d8a86fc5d77e8':
  aviobuf: Partial support for reading in read/write contexts
  build: Avoid detecting bogus components named 'x'

Conflicts:
libavcodec/allcodecs.c
libavdevice/alldevices.c
libavformat/allformats.c
libavformat/aviobuf.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomatroskadec: fix ffio_init_context() usage
Michael Niedermayer [Fri, 4 Jan 2013 12:00:14 +0000 (13:00 +0100)]
matroskadec: fix ffio_init_context() usage

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavprobe: also output dar/par if only defined in stream
Anton Khirnov [Thu, 3 Jan 2013 11:01:15 +0000 (12:01 +0100)]
avprobe: also output dar/par if only defined in stream

Based on a patch by Jan Gerber <j@v2v.cc>

6 years agolavfi/yadif: add support to named constants
Stefano Sabatini [Thu, 3 Jan 2013 00:58:15 +0000 (01:58 +0100)]
lavfi/yadif: add support to named constants

6 years agolavfi/yadif: add support to named options and options introspection
Stefano Sabatini [Wed, 2 Jan 2013 10:40:02 +0000 (11:40 +0100)]
lavfi/yadif: add support to named options and options introspection

Also rename the "enable_auto" field to "deint", to match the name of the
option.

6 years agolavfi/yadif: remove redundant NULL checks in uninit
Stefano Sabatini [Wed, 2 Jan 2013 10:19:21 +0000 (11:19 +0100)]
lavfi/yadif: remove redundant NULL checks in uninit

6 years agolavfi/yadif: fail during the configuration stage in case of invalid video size
Stefano Sabatini [Wed, 2 Jan 2013 10:17:07 +0000 (11:17 +0100)]
lavfi/yadif: fail during the configuration stage in case of invalid video size

This is better than repeatedly failing during the filtering stage.

6 years agolavfi/yadif: remove unused poll_frame callback
Stefano Sabatini [Wed, 2 Jan 2013 10:13:25 +0000 (11:13 +0100)]
lavfi/yadif: remove unused poll_frame callback

6 years agoAdd a comment about an intentional misspelling to the id3v1 tags.
Carl Eugen Hoyos [Fri, 4 Jan 2013 09:32:39 +0000 (10:32 +0100)]
Add a comment about an intentional misspelling to the id3v1 tags.

6 years agoRevert "Fix id3v1 tag spelling."
Carl Eugen Hoyos [Fri, 4 Jan 2013 09:29:31 +0000 (10:29 +0100)]
Revert "Fix id3v1 tag spelling."

The misspelling is used in the specification.

This reverts commit 95016fd1c8e1df5550d55eac1e3641970f7b38a0.

6 years agoFix id3v1 tag spelling.
Benjamin Kerensa [Fri, 4 Jan 2013 09:11:29 +0000 (10:11 +0100)]
Fix id3v1 tag spelling.

6 years agolavr: fix missing " in header documentation
Peter Meerwald [Thu, 3 Jan 2013 13:17:29 +0000 (14:17 +0100)]
lavr: fix missing " in header documentation

Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agoac3dec: split out pointer update loop for saftey
Michael Niedermayer [Fri, 4 Jan 2013 05:09:43 +0000 (06:09 +0100)]
ac3dec: split out pointer update loop for saftey

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompegaudiodec/mp3on4: fix buffer size.
Michael Niedermayer [Fri, 4 Jan 2013 04:29:57 +0000 (05:29 +0100)]
mpegaudiodec/mp3on4: fix buffer size.

The larger (and really ugly) size is not needed anymore.

Found-by: Justin Ruggles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolocodec: flip RGBA
Michael Niedermayer [Fri, 4 Jan 2013 03:49:16 +0000 (04:49 +0100)]
locodec: flip RGBA

Fixes Ticket1222

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agopngdec: fix decoding of right column for 2/4bpp
Michael Niedermayer [Thu, 3 Jan 2013 22:40:22 +0000 (23:40 +0100)]
pngdec: fix decoding of right column for 2/4bpp

Fixes Ticket1146

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoSupport more AVC-Intra files
Reimar Döffinger [Wed, 26 Sep 2012 10:13:53 +0000 (12:13 +0200)]
Support more AVC-Intra files

Followup to http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/151321
patch by Reimar and Thomas Mundt fixes some AVC-Intra files from
different tickets.
It does not fix http://samples.ffmpeg.org/ffmpeg-
bugs/trac/ticket524/AVCI50.mov

Authors of this commit are: Reimar and Thomas Mundt
Patch and commit message mostly taken from ffmpeg-devel, mail by Carl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomxfdec: Set AV_FIELD_PROGRESSIVE, needed for AVC-intra
Reimar Döffinger [Thu, 3 Jan 2013 20:42:35 +0000 (21:42 +0100)]
mxfdec: Set AV_FIELD_PROGRESSIVE, needed for AVC-intra

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agofate: update seek-lavf-aiff after previous commit
Paul B Mahol [Thu, 3 Jan 2013 20:03:43 +0000 (20:03 +0000)]
fate: update seek-lavf-aiff after previous commit

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoaiffenc: metadata support
Paul B Mahol [Sun, 30 Dec 2012 17:13:28 +0000 (17:13 +0000)]
aiffenc: metadata support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agogifdec: use log level that have more common sense
Paul B Mahol [Thu, 3 Jan 2013 19:14:40 +0000 (19:14 +0000)]
gifdec: use log level that have more common sense

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agolavf: add return to silence compiler warning
Michael Niedermayer [Thu, 3 Jan 2013 15:02:47 +0000 (16:02 +0100)]
lavf: add return to silence compiler warning

The added statement is not reachable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agofate: disable globbing when calling shell functions.
Nicolas George [Wed, 2 Jan 2013 22:22:46 +0000 (23:22 +0100)]
fate: disable globbing when calling shell functions.

Some of the filters tests use globbing characters, especially
brackets for filter pad labels. While most of these strings
are way too complicated to ever match an existing file name
and are therefore kept unchanged in the command line (an old
misfeature of the shell language that happens to be convenient
here), at least one use is simple enough to match random files
lying in the current directory. If that happens, the string,
that was meant to be kept verbatim, is replaced by the file
name, and that causes the test to fail (or worse).

6 years agoaviobuf: Discard old buffered, previously read data in ffio_read_partial
Martin Storsjö [Tue, 1 Jan 2013 22:25:37 +0000 (00:25 +0200)]
aviobuf: Discard old buffered, previously read data in ffio_read_partial

This makes RTP custom IO work properly with pure read-only
AVIOContexts as well.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agortsp: Add support for depacketizing RTP data via custom IO
Martin Storsjö [Tue, 1 Jan 2013 21:41:29 +0000 (23:41 +0200)]
rtsp: Add support for depacketizing RTP data via custom IO

To use this, set sdpflags=custom_io to the sdp demuxer. During
the avformat_open_input call, the SDP is read from the AVFormatContext
AVIOContext (ctx->pb) - after the avformat_open_input call,
during the av_read_frame() calls, the same ctx->pb is used for reading
packets (and sending back RTCP RR packets).

Normally, one would use this with a read-only AVIOContext for the
SDP during the avformat_open_input call, then close that one and
replace it with a read-write one for the packets after the
avformat_open_input call has returned.

This allows using the RTP depacketizers as "pure" demuxers, without
having them tied to the libavformat network IO.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agortpdec: Move the URLContext used for RTCP RR out from the context, to a parameter
Martin Storsjö [Wed, 17 Oct 2012 13:05:24 +0000 (16:05 +0300)]
rtpdec: Move the URLContext used for RTCP RR out from the context, to a parameter

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agoaviobuf: Partial support for reading in read/write contexts
Martin Storsjö [Tue, 1 Jan 2013 20:57:36 +0000 (22:57 +0200)]
aviobuf: Partial support for reading in read/write contexts

So far, aviocontexts are used either in pure-read or pure-write
mode - full read/write mode doesn't work well (and implementing it
is a much larger, not totally trivial change).

This patch allows using avio_read and ffio_read_partial on
read/write aviocontexts, where the read operations are passed
through directly unbuffered, while writes are buffered as usual.

This is enough to support the operations needed by packet based
data transfer like in udp/rtp, where aviocontext is the only
public API for hooking up custom IO.

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agobuild: Avoid detecting bogus components named 'x'
Clément Bœsch [Wed, 2 Jan 2013 05:05:55 +0000 (06:05 +0100)]
build: Avoid detecting bogus components named 'x'

The function find_things() in configure is confused by component
registration calls as part of multiline macros defining combined
component registration.  Coalesce those macros into one line to
work around the issue.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 3 Jan 2013 12:22:45 +0000 (13:22 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  cmdutils: update copyright year to 2013
  h264: check SPS entries directly to detect pixel format changes
  forgotten changelogs for 9_beta2

Conflicts:
Changelog
cmdutils.c
libavcodec/h264.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agocmdutils: update copyright year to 2013
Johan Andersson [Tue, 1 Jan 2013 17:56:55 +0000 (18:56 +0100)]
cmdutils: update copyright year to 2013

Signed-off-by: Martin Storsjö <martin@martin.st>
6 years agoh264: check SPS entries directly to detect pixel format changes
Janne Grunau [Sat, 29 Dec 2012 18:30:12 +0000 (19:30 +0100)]
h264: check SPS entries directly to detect pixel format changes

Comparing AVCodecContext.pix_fmt against the get_pixel_format() return
value has the side effect of calling the get_format() callback on each
slice. Users of the callback will probably handle hardware accelerator
initialization in the callback.

6 years agolavf/webvtt: use ff_subtitles_read_chunk().
Clément Bœsch [Thu, 3 Jan 2013 06:45:29 +0000 (07:45 +0100)]
lavf/webvtt: use ff_subtitles_read_chunk().

The FATE test is updated because the line breaks in the dialogue
rectangles are now proper CRLF.

6 years agosubviewer: sanitize packets.
Clément Bœsch [Thu, 3 Jan 2013 06:25:45 +0000 (07:25 +0100)]
subviewer: sanitize packets.

The data does not contain timing or trailing line breaks anymore. In
addition to being less idiotic, it is consistent with other codecs and
thus allows more switches between formats and codecs. It also fixes the
issue of the trailing line returns being simple \n instead of CRLF in
the ASS rectangle dialogue (this is the reason of the FATE update).

6 years agoforgotten changelogs for 9_beta2
Reinhard Tartler [Wed, 2 Jan 2013 19:16:39 +0000 (20:16 +0100)]
forgotten changelogs for 9_beta2