]> git.sesse.net Git - ffmpeg/log
ffmpeg
10 years agoMerge commit '80fefbed623491b92fe59ead99225f99c0d0ca08'
Michael Niedermayer [Fri, 4 Oct 2013 09:28:15 +0000 (11:28 +0200)]
Merge commit '80fefbed623491b92fe59ead99225f99c0d0ca08'

* commit '80fefbed623491b92fe59ead99225f99c0d0ca08':
  x86: cpu: Restore some explanatory comments removed in 7160bb7

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '6a5bfd4d49e7433f6de869ccfe682940dbca8740'
Michael Niedermayer [Fri, 4 Oct 2013 09:21:50 +0000 (11:21 +0200)]
Merge commit '6a5bfd4d49e7433f6de869ccfe682940dbca8740'

* commit '6a5bfd4d49e7433f6de869ccfe682940dbca8740':
  atrac: Add missing av_cold

See: 852241561d040e0b147b5c866fd4f288324fbe48
Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/vf_frei0r: fix out of array read
Michael Niedermayer [Fri, 4 Oct 2013 09:16:35 +0000 (11:16 +0200)]
avfilter/vf_frei0r: fix out of array read

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavformat/vobsub: raise packet even if apparently incomplete.
Clément Bœsch [Fri, 4 Oct 2013 09:25:08 +0000 (09:25 +0000)]
avformat/vobsub: raise packet even if apparently incomplete.

This restore the latest packet which was dropped from the FATE test in
dbfe61100.

10 years agox86: fdct: Only build fdct code if encoders have been enabled
Diego Biurrun [Mon, 16 Sep 2013 11:55:07 +0000 (13:55 +0200)]
x86: fdct: Only build fdct code if encoders have been enabled

fdct is only initialized if encoders are enabled.

10 years agortmpproto: Validate the embedded flv packet size before copying
Martin Storsjö [Thu, 3 Oct 2013 11:49:50 +0000 (13:49 +0200)]
rtmpproto: Validate the embedded flv packet size before copying

This wasn't an issue prior to 58404738, when the whole RTMP packet
was copied at once and the length of the individual embedded flv
packets only were validated by the flv demuxer.

Prior to this patch, this could lead to reads and writes out of bound.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agortmpproto: Readjust the end of the flv buffer if handle_metadata exited early
Martin Storsjö [Thu, 3 Oct 2013 11:44:38 +0000 (13:44 +0200)]
rtmpproto: Readjust the end of the flv buffer if handle_metadata exited early

If the embedded flv packets were incomplete and we aborted the
copying loop early, make sure the flv buffer is trimmed to
only contain full packets.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agortmpproto: Move the flv header/trailer addition to append_flv_data
Martin Storsjö [Thu, 3 Oct 2013 10:29:37 +0000 (12:29 +0200)]
rtmpproto: Move the flv header/trailer addition to append_flv_data

update_offset is also called from handle_metadata, where the
packet header sizes is already included in the size.

Previously this lead to flv_data/flv_size including 15 uninitialized
bytes at the end after each call to handle_metadata, making the
flv demuxer lose sync with the stream.

Also remove leftover copying in handle_metadata. This is a leftover
from the refactoring in 5840473. (Previously this final mempcy was
the one that copied all the packets at once, while this is done
within the loop right now.) After making sure flv_size is set to
the right size, this write was out of bounds.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agortmpproto: Clear the flv allocation size on reallocp failures
Martin Storsjö [Thu, 3 Oct 2013 10:27:10 +0000 (12:27 +0200)]
rtmpproto: Clear the flv allocation size on reallocp failures

This was overlooked in d872fb0f7 since I assumed all the realloc
issues in the rtmp code was fixed already.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agortmpproto: Pass the 'live' parameter in the right unit
Martin Storsjö [Thu, 3 Oct 2013 07:09:56 +0000 (09:09 +0200)]
rtmpproto: Pass the 'live' parameter in the right unit

The current magic numbers passed are values in seconds, while the
parameter itself should be passed over the wire in milliseconds.

This makes (some/all?) live streams from Red5 work correctly, that
previously returned StreamNotFound even with "-rtmp_live live". After
this commit, the default 'any' also works on these streams.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agortmpproto: Print the error code string if there's no description
Martin Storsjö [Thu, 3 Oct 2013 05:44:51 +0000 (07:44 +0200)]
rtmpproto: Print the error code string if there's no description

On (certain streams/setups at least on) Red5, the description string
actually is present, but empty. Therefore, first try loading the
description, but if not found or empty, load the code string instead.
The code string is quite understandable in most cases anyway (like
"NetStream.Play.StreamNotFound").

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agoavformat/vobsub: fix several issues.
Clément Bœsch [Sun, 29 Sep 2013 20:05:14 +0000 (22:05 +0200)]
avformat/vobsub: fix several issues.

Here is an extract of fate-samples/sub/vobsub.idx, with an additional
text at the end of each line to better identify each bitmap:

    timestamp: 00:04:55:445, filepos: 00001b000 Ace!
    timestamp: 00:05:00:049, filepos: 00001b800 Wake up, honey!
    timestamp: 00:05:02:018, filepos: 00001c800 I gotta go to work.
    timestamp: 00:05:02:035, filepos: 00001d000 <???>
    timestamp: 00:05:04:203, filepos: 00001d800 Look after Clayton, okay?
    timestamp: 00:05:05:947, filepos: 00001e800 I'll be back tonight.
    timestamp: 00:05:07:957, filepos: 00001f800 Bye! Love you.
    timestamp: 00:05:21:295, filepos: 000020800 Hey, Ace! What's up?
    timestamp: 00:05:23:356, filepos: 000021800 Hey, how's it going?
    timestamp: 00:05:24:640, filepos: 000022800 Remember what today is? The 3rd!
    timestamp: 00:05:27:193, filepos: 000023800 Look over there!
    timestamp: 00:05:28:369, filepos: 000024800 Where are they going?
    timestamp: 00:05:28:361, filepos: 000025000 <???>
    timestamp: 00:05:29:946, filepos: 000025800 Let's go see.
    timestamp: 00:05:31:230, filepos: 000026000 I can't, man. I got Clayton.

Note the two "<???>": they are basically split subtitles (with the
previous one), which the dvdsub decoder is now supposed to reconstruct
with a previous commit. But also note that while the first chunk has
increasing timestamps,

    timestamp: 00:05:02:018, filepos: 00001c800
    timestamp: 00:05:02:035, filepos: 00001d000

...it's not the case of the second one (and this is not an exception in the
original file):

    timestamp: 00:05:28:369, filepos: 000024800
    timestamp: 00:05:28:361, filepos: 000025000

For the dvdsub decoder, they need to be "filepos'ed" ordered, but the
FFDemuxSubtitlesQueue is timestamps ordered, which is the reason of the
introduction of a sub sort method in the context, to allow giving
priority to the position, and then the timestamps. With that change, the
dvdsub decoder get fed with ordered packets.

Now the packet size estimation was also broken: the filepos differences
in the vobsub index defines the full data read between two subtitles
chunks, and it is necessary to take into account what is read by the
mpegps_read_pes_header() function since the length returned by that
function doesn't count the size of the data it reads. This is fixed with
the introduction of total_read, and {old,new}_pos. By doing this change,
we can drop the unreliable len16 heuristic and simplify the whole loop.
Note that mpegps_read_pes_header() often read more than one PES packet
(typically in one call it can read 0x1ba and 0x1be chunk along with the
relevant 0x1bd packet), which triggers the "total_read + pkt_size >
psize" check. This is an expected behaviour, which could be avoided by
having a more chunked version of mpegps_read_pes_header().

The latest change is the extraction of each stream into its own
subtitles queue. If we don't do this, the maximum size for a subtitle
chunk is broken, and the previous changes can not work. Having each
stream in a different queue requires some little adjustments in the
seek code of the demuxer.

This commit is only meaningful as a whole change and can not be easily
split. The FATE test changes because it uses the vobsub demuxer.

10 years agoavcodec/dvdsubdec: reconstruct incomplete SPU packets.
Clément Bœsch [Sun, 29 Sep 2013 20:11:51 +0000 (22:11 +0200)]
avcodec/dvdsubdec: reconstruct incomplete SPU packets.

10 years agoavcodec/dvdsubdec: extract every subtitle in a different file (debug).
Clément Bœsch [Sun, 29 Sep 2013 20:11:13 +0000 (22:11 +0200)]
avcodec/dvdsubdec: extract every subtitle in a different file (debug).

Even thought a generic solution would be more relevant, this is
currently helpful while debugging.

10 years agoavcodec/dvdsubdec: factor out rectangles reset.
Clément Bœsch [Sun, 29 Sep 2013 20:10:35 +0000 (22:10 +0200)]
avcodec/dvdsubdec: factor out rectangles reset.

10 years agocosmetics: Group .name and .long_name together in codec/format declarations
Diego Biurrun [Thu, 3 Oct 2013 20:57:53 +0000 (22:57 +0200)]
cosmetics: Group .name and .long_name together in codec/format declarations

10 years agooggparsevorbis: K&R formatting cosmetics
Vittorio Giovara [Wed, 2 Oct 2013 14:26:38 +0000 (16:26 +0200)]
oggparsevorbis: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agoavformat/output-example: Declare link dependency on libswscale in the Makefile
Diego Biurrun [Tue, 1 Oct 2013 11:34:02 +0000 (13:34 +0200)]
avformat/output-example: Declare link dependency on libswscale in the Makefile

10 years agox86: cpu: Restore some explanatory comments removed in 7160bb7
Diego Biurrun [Fri, 27 Sep 2013 13:24:55 +0000 (15:24 +0200)]
x86: cpu: Restore some explanatory comments removed in 7160bb7

10 years agoatrac: Add missing av_cold
Maxim Poliakovski [Thu, 3 Oct 2013 18:49:50 +0000 (20:49 +0200)]
atrac: Add missing av_cold

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agoffplay: avoid direct access to lowres use av_codec_g/set_lowres()
Michael Niedermayer [Thu, 3 Oct 2013 14:59:11 +0000 (16:59 +0200)]
ffplay: avoid direct access to lowres use av_codec_g/set_lowres()

Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoffplay: avoid direct access to max_lowres use av_codec_get_max_lowres()
Michael Niedermayer [Thu, 3 Oct 2013 14:59:11 +0000 (16:59 +0200)]
ffplay: avoid direct access to max_lowres use av_codec_get_max_lowres()

This avoids future ABI issues when the field is moved to the end of the
struct.

Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoatrac3: Generalize gain compensation code
Maxim Poliakovski [Mon, 30 Sep 2013 21:14:51 +0000 (23:14 +0200)]
atrac3: Generalize gain compensation code

Move it to the ATRAC common code, to reuse in the upcoming ATRAC3+ decoder.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agoUse correct Doxygen syntax
Diego Biurrun [Thu, 3 Oct 2013 15:46:36 +0000 (17:46 +0200)]
Use correct Doxygen syntax

10 years agoatrac: Move doxygen comments to the header
Maxim Poliakovski [Mon, 30 Sep 2013 21:14:51 +0000 (23:14 +0200)]
atrac: Move doxygen comments to the header

Also update copyright info and file description.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years agoatrac3: Replace a silly counter variable name with plain 'j'
Diego Biurrun [Tue, 1 Oct 2013 18:39:23 +0000 (20:39 +0200)]
atrac3: Replace a silly counter variable name with plain 'j'

10 years agoavfilter/vf_pullup: do not ignore frame field order
Paul B Mahol [Wed, 2 Oct 2013 21:13:54 +0000 (21:13 +0000)]
avfilter/vf_pullup: do not ignore frame field order

Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 3 Oct 2013 19:46:42 +0000 (21:46 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  atrac3: Generalize gain compensation code

Conflicts:
libavcodec/atrac.c
libavcodec/atrac.h
libavcodec/atrac3.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '5ce04c14dd3dd3670cbdba82275a3a72c716ec6f'
Michael Niedermayer [Thu, 3 Oct 2013 19:29:38 +0000 (21:29 +0200)]
Merge commit '5ce04c14dd3dd3670cbdba82275a3a72c716ec6f'

* commit '5ce04c14dd3dd3670cbdba82275a3a72c716ec6f':
  Use correct Doxygen syntax

Conflicts:
libavcodec/atrac3.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '4be292dac7e7f0586053fcced8d530ccf4ebef29'
Michael Niedermayer [Thu, 3 Oct 2013 19:22:55 +0000 (21:22 +0200)]
Merge commit '4be292dac7e7f0586053fcced8d530ccf4ebef29'

* commit '4be292dac7e7f0586053fcced8d530ccf4ebef29':
  atrac: Move doxygen comments to the header

Conflicts:
libavcodec/atrac.c
libavcodec/atrac.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'be0b4c70ec40d7f9ac8e416a4379d4a387421184'
Michael Niedermayer [Thu, 3 Oct 2013 19:14:54 +0000 (21:14 +0200)]
Merge commit 'be0b4c70ec40d7f9ac8e416a4379d4a387421184'

* commit 'be0b4c70ec40d7f9ac8e416a4379d4a387421184':
  atrac3: Replace a silly counter variable name with plain 'j'

Conflicts:
libavcodec/atrac3.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/h264_sei: make SEI type truncated message more informative
Michael Niedermayer [Thu, 3 Oct 2013 18:13:55 +0000 (20:13 +0200)]
avcodec/h264_sei: make SEI type truncated message more informative

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/jpeg2000dec: Zero code and quant style
Michael Niedermayer [Sat, 31 Aug 2013 01:35:49 +0000 (03:35 +0200)]
avcodec/jpeg2000dec: Zero code and quant style

This prevents future frames from using half initialized/inconsistent
structures
Fixes assertion failure
Fixes Ticket2897

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/tiff_common: Improve formating of long arrays
Michael Niedermayer [Sun, 29 Sep 2013 20:08:08 +0000 (22:08 +0200)]
avcodec/tiff_common: Improve formating of long arrays

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoffmpeg: avoid direct access to lowres use av_codec_g/set_lowres()
Michael Niedermayer [Thu, 3 Oct 2013 14:59:11 +0000 (16:59 +0200)]
ffmpeg: avoid direct access to lowres use av_codec_g/set_lowres()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec: add av_codec_get_max_lowres()
Michael Niedermayer [Thu, 3 Oct 2013 10:27:07 +0000 (12:27 +0200)]
avcodec: add av_codec_get_max_lowres()

Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/vf_histogram: add mirrored waveform mode
Marton Balint [Wed, 2 Oct 2013 20:23:55 +0000 (22:23 +0200)]
avfilter/vf_histogram: add mirrored waveform mode

Added parameter to mirror the waveform (high values are shown on top in column mode)

Signed-off-by: Marton Balint <cus@passwd.hu>
10 years agoavfilter/vf_histogram: fix segfault in parade waveform mode for subsampled formats
Marton Balint [Wed, 2 Oct 2013 20:23:54 +0000 (22:23 +0200)]
avfilter/vf_histogram: fix segfault in parade waveform mode for subsampled formats

Signed-off-by: Marton Balint <cus@passwd.hu>
10 years agoMerge remote-tracking branch 'rbultje/master'
Michael Niedermayer [Thu, 3 Oct 2013 10:44:17 +0000 (12:44 +0200)]
Merge remote-tracking branch 'rbultje/master'

* rbultje/master:
  Full-pixel MC functions.
  VP9 MC (ssse3) optimizations.
  Native VP9 decoder.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 3 Oct 2013 10:04:37 +0000 (12:04 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavc: mark deprecated AVCodec.max_lowres for removal on next bump

Conflicts:
libavcodec/avcodec.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '06e7301a2efa8dededecbe6836ee5b59bf7e5e76'
Michael Niedermayer [Thu, 3 Oct 2013 09:13:37 +0000 (11:13 +0200)]
Merge commit '06e7301a2efa8dededecbe6836ee5b59bf7e5e76'

* commit '06e7301a2efa8dededecbe6836ee5b59bf7e5e76':
  vf_interlace: do not process an already interlaced frame

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoffprobe: print stream channel_layout when available
Stefano Sabatini [Tue, 1 Oct 2013 21:42:07 +0000 (23:42 +0200)]
ffprobe: print stream channel_layout when available

Fix trac ticket #3006.

10 years agoFull-pixel MC functions.
Ronald S. Bultje [Sun, 22 Sep 2013 02:03:00 +0000 (22:03 -0400)]
Full-pixel MC functions.

Decoding time of ped1080p.webm goes from 11.3sec to 11.1sec.

10 years agoVP9 MC (ssse3) optimizations.
Ronald S. Bultje [Sun, 22 Sep 2013 01:24:03 +0000 (21:24 -0400)]
VP9 MC (ssse3) optimizations.

Decoding time of ped1080p.webm goes from 20.7sec to 11.3sec.

10 years agoNative VP9 decoder.
Ronald S. Bultje [Tue, 1 Oct 2013 03:03:30 +0000 (23:03 -0400)]
Native VP9 decoder.

Authors: Ronald S. Bultje <rsbultje gmail com>,
         Clement Boesch <u pkh me>

10 years agoPrint pix_fmt name on h264 context reinitialisation.
Carl Eugen Hoyos [Wed, 2 Oct 2013 23:42:23 +0000 (01:42 +0200)]
Print pix_fmt name on h264 context reinitialisation.

10 years agoffmpeg: add support to force specific AVCodecs
Michael Niedermayer [Sat, 28 Sep 2013 15:52:45 +0000 (17:52 +0200)]
ffmpeg: add support to force specific AVCodecs

previously only codec_ids could be forced, which did not allow
forcing a specific implementation like libopenjpeg vs jpeg2000.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavformat: add support to force specific AVCodecs
Michael Niedermayer [Sat, 28 Sep 2013 15:52:45 +0000 (17:52 +0200)]
avformat: add support to force specific AVCodecs

previously only codec_ids could be forced, which did not allow
forcing a specific implementation like libopenjpeg vs jpeg2000.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavformat/utils: pass AVFormatContext to find_decoder()
Michael Niedermayer [Sat, 28 Sep 2013 15:31:46 +0000 (17:31 +0200)]
avformat/utils: pass AVFormatContext to find_decoder()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoVC1 VDPAU: Mark missing reference frames as such.
Reimar Döffinger [Sat, 28 Sep 2013 09:13:35 +0000 (11:13 +0200)]
VC1 VDPAU: Mark missing reference frames as such.

Currently the code passes some nonsense values as
references instead, causing corruption with NVidia's
and assertion failures with Mesa's implementation.
For non-corrupted input this mostly happens in
interlaced bitstreams, e.g.
http://samples.mplayerhq.hu/V-codecs/WMV9/interlaced/480i30__codec_WVC1__mode_2__framerate_29.970__type_2__preproc_17.wmv.
The != VDP_INVALID handle assert does not trigger
(and probably is quite nonsense) because the frames
are initialized to 0.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
10 years agomov: fix trun / pseudo_stream_id handling
Michael Niedermayer [Wed, 2 Oct 2013 16:45:59 +0000 (18:45 +0200)]
mov: fix trun / pseudo_stream_id handling

This fixes simple concatenated h264

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/imgconvert/get_color_type: fix type for PAL8
Michael Niedermayer [Wed, 2 Oct 2013 16:11:28 +0000 (18:11 +0200)]
avcodec/imgconvert/get_color_type: fix type for PAL8

Fixes Ticket3008

Fate changes as PAL8 gets used instead of BGR8

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec: use designated initializers for bitstream filters
Paul B Mahol [Wed, 2 Oct 2013 17:20:29 +0000 (17:20 +0000)]
avcodec: use designated initializers for bitstream filters

Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years agolavc: mark deprecated AVCodec.max_lowres for removal on next bump
Anton Khirnov [Mon, 30 Sep 2013 12:44:24 +0000 (14:44 +0200)]
lavc: mark deprecated AVCodec.max_lowres for removal on next bump

10 years agovf_interlace: do not process an already interlaced frame
Vittorio Giovara [Tue, 1 Oct 2013 17:08:03 +0000 (19:08 +0200)]
vf_interlace: do not process an already interlaced frame

Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 2 Oct 2013 12:59:38 +0000 (14:59 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  rtmp: alias rtmp_listen to listen

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'ad0560fe7491a85c3e71d5a3d6a0443f10b33ab1'
Michael Niedermayer [Wed, 2 Oct 2013 12:55:18 +0000 (14:55 +0200)]
Merge commit 'ad0560fe7491a85c3e71d5a3d6a0443f10b33ab1'

* commit 'ad0560fe7491a85c3e71d5a3d6a0443f10b33ab1':
  mxf: Remove a typo

Conflicts:
libavformat/mxfdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit 'cc41167aede4c101ad17eeffa8f39bb6c23d3dad'
Michael Niedermayer [Wed, 2 Oct 2013 12:47:17 +0000 (14:47 +0200)]
Merge commit 'cc41167aede4c101ad17eeffa8f39bb6c23d3dad'

* commit 'cc41167aede4c101ad17eeffa8f39bb6c23d3dad':
  asfdec: Check the return value of asf_read_stream_properties

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/avf_showspectrum: use the name 's' for the pointer to the private context
Clément Bœsch [Thu, 16 May 2013 16:28:25 +0000 (18:28 +0200)]
avfilter/avf_showspectrum: use the name 's' for the pointer to the private context

10 years agoavfilter/af_afade: use the name 's' for the pointer to the private context
Paul B Mahol [Wed, 2 Oct 2013 11:09:06 +0000 (11:09 +0000)]
avfilter/af_afade: use the name 's' for the pointer to the private context

Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years agoffmpeg: dont return reserved values
Michael Niedermayer [Tue, 1 Oct 2013 16:28:11 +0000 (18:28 +0200)]
ffmpeg: dont return reserved values

Found-by: Daemon404
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/vf_removelogo: use the name 's' for the pointer to the private context
Clément Bœsch [Thu, 16 May 2013 15:53:39 +0000 (17:53 +0200)]
avfilter/vf_removelogo: use the name 's' for the pointer to the private context

10 years agoavfilter/af_silencedetect: use the name 's' for the pointer to the private context
Paul B Mahol [Wed, 2 Oct 2013 10:28:04 +0000 (10:28 +0000)]
avfilter/af_silencedetect: use the name 's' for the pointer to the private context

Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years agoatrac3: Generalize gain compensation code
Maxim Poliakovski [Wed, 2 Oct 2013 00:23:16 +0000 (02:23 +0200)]
atrac3: Generalize gain compensation code

Move it to the ATRAC common code, so it can be reused
in the umpcoming ATRAC3+ decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoatrac3/decode_gain_control: cosmetics
Maxim Poliakovski [Wed, 2 Oct 2013 00:23:16 +0000 (02:23 +0200)]
atrac3/decode_gain_control: cosmetics

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoatrac3: rename num_gain_data to num_points
Maxim Poliakovski [Wed, 2 Oct 2013 00:23:16 +0000 (02:23 +0200)]
atrac3: rename num_gain_data to num_points

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoatrac3: Rename GainInfo to AtracGainInfo
Maxim Poliakovski [Wed, 2 Oct 2013 00:23:16 +0000 (02:23 +0200)]
atrac3: Rename GainInfo to AtracGainInfo

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoatrac: limit line length to 80 chars
Maxim Poliakovski [Tue, 1 Oct 2013 23:55:13 +0000 (01:55 +0200)]
atrac: limit line length to 80 chars

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoatrac: Move doxygen comments to the header
Maxim Poliakovski [Tue, 1 Oct 2013 23:55:13 +0000 (01:55 +0200)]
atrac: Move doxygen comments to the header

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoatrac: Update copyright info and file description.
Maxim Poliakovski [Tue, 1 Oct 2013 23:55:13 +0000 (01:55 +0200)]
atrac: Update copyright info and file description.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoatrac: Add missing av_cold.
Maxim Poliakovski [Tue, 1 Oct 2013 23:55:13 +0000 (01:55 +0200)]
atrac: Add missing av_cold.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavcodec/wmalosslessdec: check block_align
Michael Niedermayer [Tue, 1 Oct 2013 23:16:11 +0000 (01:16 +0200)]
avcodec/wmalosslessdec: check block_align

Code copied from wmaprodec

Fixes null pointer dereference
Fixes Ticket3002

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoRevert "Merge commit '61c31e4ee7ea79a9e74c0476b81244febf17e6d7'" (configure: Properly...
Michael Niedermayer [Tue, 1 Oct 2013 21:40:19 +0000 (23:40 +0200)]
Revert "Merge commit '61c31e4ee7ea79a9e74c0476b81244febf17e6d7'" (configure: Properly set zlib dependencies for all components)

The reverted commit introduced undefined behavior.
undefined in the sense that the evaluation order of the dependencies affects the results

Fixes Ticket2920

This reverts commit c32db6adab9942781cc5a23f62abb839a5595a83, reversing
changes made to 05f1b4e2ecc4683467669a190e3a53df413de805.

Alternative solutions would be to change the dependency solver to handle non trivial
dependencies or to enable zlib by default before the dependency solver, this would
leave a zlib dependency in the libs though then even when no zlib is needed or used.

10 years agoavfilter/vf_histogram: change order of histograms for planar rgb
Paul B Mahol [Tue, 1 Oct 2013 21:22:22 +0000 (21:22 +0000)]
avfilter/vf_histogram: change order of histograms for planar rgb

Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years agoavfilter/vf_histogram: add support for subsampled planar yuv modes in waveform mode
Marton Balint [Tue, 1 Oct 2013 20:39:03 +0000 (20:39 +0000)]
avfilter/vf_histogram: add support for subsampled planar yuv modes in waveform mode

Signed-off-by: Marton Balint <cus@passwd.hu>
10 years agoavfilter/vf_histogram: improve waveform speed
Marton Balint [Tue, 1 Oct 2013 19:53:57 +0000 (21:53 +0200)]
avfilter/vf_histogram: improve waveform speed

Signed-off-by: Marton Balint <cus@passwd.hu>
10 years agoavcodec/fraps: increase vlc nb_bits
Michael Niedermayer [Sat, 28 Sep 2013 18:45:51 +0000 (20:45 +0200)]
avcodec/fraps: increase vlc nb_bits

This should fix decoding the file in:
http://ffmpeg.gusari.org/viewtopic.php?f=16&t=1078
No i dont have the file so i cant test

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoconfigure: fix logic for threads in case of OpenCL is enabled. Fixes ticket 3004.
Thilo Borgmann [Tue, 1 Oct 2013 14:49:39 +0000 (16:49 +0200)]
configure: fix logic for threads in case of OpenCL is enabled. Fixes ticket 3004.

Signed-off-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agortmp: alias rtmp_listen to listen
Luca Barbato [Tue, 1 Oct 2013 13:42:06 +0000 (15:42 +0200)]
rtmp: alias rtmp_listen to listen

Make it uniform with the other protocols.

10 years agomxf: Remove a typo
Luca Barbato [Tue, 1 Oct 2013 11:43:48 +0000 (13:43 +0200)]
mxf: Remove a typo

Introduced in 93370d1216

10 years agoswscale/utils: dont divide by zero with zero vectors
Michael Niedermayer [Mon, 30 Sep 2013 22:27:28 +0000 (00:27 +0200)]
swscale/utils: dont divide by zero with zero vectors

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoswscale: make bilinear scaling the default
wm4 [Sun, 29 Sep 2013 17:52:37 +0000 (19:52 +0200)]
swscale: make bilinear scaling the default

Before this commit, sws_init_context() failed with an error if no scaler
was explicitly set.

Defaulting to something reasonable is better behavior.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agofate: add fieldorder test
Paul B Mahol [Mon, 30 Sep 2013 14:06:02 +0000 (14:06 +0000)]
fate: add fieldorder test

Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years agodoc: move sws_dither option description to scaler.texi
Stefano Sabatini [Mon, 30 Sep 2013 14:54:46 +0000 (16:54 +0200)]
doc: move sws_dither option description to scaler.texi

That's the more proper place where the scaler options should be
documented.

10 years agodoc/filters/scale: mention and link scaler options
Stefano Sabatini [Mon, 30 Sep 2013 14:50:44 +0000 (16:50 +0200)]
doc/filters/scale: mention and link scaler options

10 years agodoc/filters/scale: fix MAN rendering of @ref arguments
Stefano Sabatini [Mon, 30 Sep 2013 14:43:33 +0000 (16:43 +0200)]
doc/filters/scale: fix MAN rendering of @ref arguments

10 years agodoc: try to add a link from the vf_scale sws_flags to the scaler docs
Michael Niedermayer [Mon, 30 Sep 2013 14:03:44 +0000 (16:03 +0200)]
doc: try to add a link from the vf_scale sws_flags to the scaler docs

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/vf_hflip: support slice threading
Paul B Mahol [Mon, 30 Sep 2013 09:26:11 +0000 (09:26 +0000)]
avfilter/vf_hflip: support slice threading

Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years agoavfilter/vf_hflip: refactor plane dimensions calculation
Paul B Mahol [Mon, 30 Sep 2013 09:15:15 +0000 (09:15 +0000)]
avfilter/vf_hflip: refactor plane dimensions calculation

Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years agoavfilter/vf_rotate: support slice threading
Paul B Mahol [Sun, 29 Sep 2013 19:04:01 +0000 (19:04 +0000)]
avfilter/vf_rotate: support slice threading

Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years agoskip_bits: dont call UPDATE_CACHE
Michael Niedermayer [Mon, 30 Sep 2013 12:02:53 +0000 (14:02 +0200)]
skip_bits: dont call UPDATE_CACHE

UPDATE_CACHE isnt needed and can cause segfaults

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agocmdutils: print command support in -filters.
Paul B Mahol [Mon, 30 Sep 2013 10:15:22 +0000 (10:15 +0000)]
cmdutils: print command support in -filters.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years agoconfigure: fix build with enable-xmm-clobber-test
Michael Niedermayer [Mon, 30 Sep 2013 09:42:52 +0000 (11:42 +0200)]
configure: fix build with enable-xmm-clobber-test

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years agodoc/t2h.init: remove resource-type and distribution meta elements
Timothy Gu [Tue, 24 Sep 2013 03:40:46 +0000 (20:40 -0700)]
doc/t2h.init: remove resource-type and distribution meta elements

The W3C validator complains about these.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
10 years agoMerge remote-tracking branch 'cehoyos/master'
Michael Niedermayer [Mon, 30 Sep 2013 09:09:21 +0000 (11:09 +0200)]
Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  Avoid img_segment_size == 0 in mtv demuxer.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoavfilter/dualinput: simplify
Paul B Mahol [Sat, 28 Sep 2013 16:06:08 +0000 (16:06 +0000)]
avfilter/dualinput: simplify

Signed-off-by: Paul B Mahol <onemda@gmail.com>
10 years agoasfdec: Check the return value of asf_read_stream_properties
Martin Storsjö [Sat, 28 Sep 2013 20:32:57 +0000 (23:32 +0300)]
asfdec: Check the return value of asf_read_stream_properties

This makes sure errors in setting stream parameters are passed
on to the caller. This avoids successfully opening files while
some parameters aren't filled in properly.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agoAvoid img_segment_size == 0 in mtv demuxer.
Carl Eugen Hoyos [Sun, 29 Sep 2013 18:09:56 +0000 (20:09 +0200)]
Avoid img_segment_size == 0 in mtv demuxer.

Fixes ticket #3011.

10 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 30 Sep 2013 00:20:49 +0000 (02:20 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  omadec: fix bitrate for ATRAC3+ streams

Merged-by: Michael Niedermayer <michaelni@gmx.at>
10 years agoMerge commit '23d0fdcf6f30843fc3f14084d80581f1ca10f1f3'
Michael Niedermayer [Mon, 30 Sep 2013 00:15:36 +0000 (02:15 +0200)]
Merge commit '23d0fdcf6f30843fc3f14084d80581f1ca10f1f3'

* commit '23d0fdcf6f30843fc3f14084d80581f1ca10f1f3':
  Add support for multichannel ATRAC3+ streams.

Conflicts:
libavformat/oma.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>