]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agoMerge commit 'bb461370e34b1fa1637f34ce7d37b934ddb472d5'
Michael Niedermayer [Fri, 20 Sep 2013 09:56:26 +0000 (11:56 +0200)]
Merge commit 'bb461370e34b1fa1637f34ce7d37b934ddb472d5'

* commit 'bb461370e34b1fa1637f34ce7d37b934ddb472d5':
  asfenc: mux chapters in ASF files using an ASF "marker" section

Conflicts:
Changelog
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '09f3c937ed6fd7c5bd64450d45f73b0f4975f4c9'
Michael Niedermayer [Fri, 20 Sep 2013 09:43:32 +0000 (11:43 +0200)]
Merge commit '09f3c937ed6fd7c5bd64450d45f73b0f4975f4c9'

* commit '09f3c937ed6fd7c5bd64450d45f73b0f4975f4c9':
  asfenc: remember send time and offset of the index entries

Conflicts:
libavformat/asfenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '1eb932803037a3c9f98f66aeb80024dfa3c5c743'
Michael Niedermayer [Fri, 20 Sep 2013 09:18:13 +0000 (11:18 +0200)]
Merge commit '1eb932803037a3c9f98f66aeb80024dfa3c5c743'

* commit '1eb932803037a3c9f98f66aeb80024dfa3c5c743':
  asfenc: add ASF_Reserved_4 as defined in section 10.10 of the ASF spec

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c53b5dda352452e79a9e962cd4c74c813186d9ed'
Michael Niedermayer [Fri, 20 Sep 2013 09:06:09 +0000 (11:06 +0200)]
Merge commit 'c53b5dda352452e79a9e962cd4c74c813186d9ed'

* commit 'c53b5dda352452e79a9e962cd4c74c813186d9ed':
  asfdec: replace magic constant with DATA_HEADER_SIZE

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '5f408333601a827054335f309defcb246a532b21'
Michael Niedermayer [Fri, 20 Sep 2013 08:56:54 +0000 (10:56 +0200)]
Merge commit '5f408333601a827054335f309defcb246a532b21'

* commit '5f408333601a827054335f309defcb246a532b21':
  asfdec: substract preroll time from marker presentation time

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/matroskadec: correct spurious keyframe warnings in webm
Monty Montgomery [Wed, 11 Sep 2013 06:00:31 +0000 (02:00 -0400)]
avformat/matroskadec: correct spurious keyframe warnings in webm

Minor change to fix for Trac #1003 to avoid squawking about files
with valid keyframes that aren't marked (as opposed to frames that are
marked as keyframes and aren't).

Change correctly surpresses the spurious warnings, while still complaining
about (and handling) the genuinely broken file attached to bug #1003.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/matroskadec: use av_malloc_array() and check for allocation error
Paul B Mahol [Mon, 16 Sep 2013 18:03:27 +0000 (18:03 +0000)]
avformat/matroskadec: use av_malloc_array() and check for allocation error

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoswscale/swscale_unscaled: fix alpha values for rgb/bgr -> RGB32_1 / BGR32_1
Michael Niedermayer [Thu, 19 Sep 2013 21:09:16 +0000 (23:09 +0200)]
swscale/swscale_unscaled: fix alpha values for rgb/bgr -> RGB32_1 / BGR32_1

Found-by: Justin Ruggles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavutil/frame: suppress "comparison of unsigned expression < 0 is always false" warning
Michael Niedermayer [Thu, 19 Sep 2013 20:46:52 +0000 (22:46 +0200)]
avutil/frame: suppress "comparison of unsigned expression < 0 is always false" warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavutil: add av_get_colorspace_name()
Michael Niedermayer [Sat, 31 Aug 2013 15:10:10 +0000 (17:10 +0200)]
avutil: add av_get_colorspace_name()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/bmv: remove unused variable
Michael Niedermayer [Thu, 19 Sep 2013 13:25:48 +0000 (15:25 +0200)]
avformat/bmv: remove unused variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfilter/vf_decimate: add gray16 and yuv440p
Paul B Mahol [Wed, 11 Sep 2013 13:46:33 +0000 (13:46 +0000)]
avfilter/vf_decimate: add gray16 and yuv440p

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoasfenc: mux chapters in ASF files using an ASF "marker" section
Vladimir Pantelic [Thu, 19 Sep 2013 15:50:38 +0000 (17:50 +0200)]
asfenc: mux chapters in ASF files using an ASF "marker" section

ASF markers only have a start time, so we lose the chapter end times,
but that is ASF for you

Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoavfilter/vf_decimate: fix crash with gray8
Paul B Mahol [Thu, 19 Sep 2013 17:50:18 +0000 (17:50 +0000)]
avfilter/vf_decimate: fix crash with gray8

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoasfenc: remember send time and offset of the index entries
Vladimir Pantelic [Thu, 19 Sep 2013 15:50:37 +0000 (17:50 +0200)]
asfenc: remember send time and offset of the index entries

Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoasfenc: add ASF_Reserved_4 as defined in section 10.10 of the ASF spec
Vladimir Pantelic [Thu, 19 Sep 2013 15:50:36 +0000 (17:50 +0200)]
asfenc: add ASF_Reserved_4 as defined in section 10.10 of the ASF spec

Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoasfdec: replace magic constant with DATA_HEADER_SIZE
Vladimir Pantelic [Thu, 19 Sep 2013 15:50:35 +0000 (17:50 +0200)]
asfdec: replace magic constant with DATA_HEADER_SIZE

Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoasfdec: substract preroll time from marker presentation time
Vladimir Pantelic [Thu, 19 Sep 2013 15:50:34 +0000 (17:50 +0200)]
asfdec: substract preroll time from marker presentation time

this was forgotten when we changed ASF to not output the preroll time

Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agodoc: Add missing hashes and dates to APIChanges
Paul B Mahol [Wed, 18 Sep 2013 21:52:49 +0000 (21:52 +0000)]
doc: Add missing hashes and dates to APIChanges

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavfi/mp: remove mp=qp
Paul B Mahol [Wed, 18 Sep 2013 22:47:47 +0000 (22:47 +0000)]
lavfi/mp: remove mp=qp

The filter does nothing.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoavformat/concat: revert one hunk of 20dfab33f5ab61fc51de65192ed239f8b62782a2
Michael Niedermayer [Thu, 19 Sep 2013 12:51:46 +0000 (14:51 +0200)]
avformat/concat: revert one hunk of 20dfab33f5ab61fc51de65192ed239f8b62782a2

The deallocated memory contains resources that need to be freed before it
can be deallocated. The original code was correct.
This also fixes a double free

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/smacker: Check if bufs has been allocated before use
Michael Niedermayer [Thu, 19 Sep 2013 12:20:21 +0000 (14:20 +0200)]
avformat/smacker: Check if bufs has been allocated before use

Fixes null pointer dereference

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 19 Sep 2013 11:39:03 +0000 (13:39 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  rv34: Fix a memory leak on errors

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'bcbe4f3ceb6ee0210d3a401963518906c8b9b230'
Michael Niedermayer [Thu, 19 Sep 2013 11:33:25 +0000 (13:33 +0200)]
Merge commit 'bcbe4f3ceb6ee0210d3a401963518906c8b9b230'

* commit 'bcbe4f3ceb6ee0210d3a401963518906c8b9b230':
  idroqdec: Make sure a video stream has been allocated before returning packets

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '5372cda67109848d22146289e401669266217e80'
Michael Niedermayer [Thu, 19 Sep 2013 11:07:54 +0000 (13:07 +0200)]
Merge commit '5372cda67109848d22146289e401669266217e80'

* commit '5372cda67109848d22146289e401669266217e80':
  rv10: Validate the dimensions set from the container

This check could be replaced by a width==0||height==0

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'ae0f316a4778e473d407cffa8392595ba0735153'
Michael Niedermayer [Thu, 19 Sep 2013 11:02:54 +0000 (13:02 +0200)]
Merge commit 'ae0f316a4778e473d407cffa8392595ba0735153'

* commit 'ae0f316a4778e473d407cffa8392595ba0735153':
  rtmp: Unbreak handle_notify

See: fbd54827b1be23c1a234210df5cc876665fbd941
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '1914e6f010b3320025c7b692aaea51d9b9a992a8'
Michael Niedermayer [Thu, 19 Sep 2013 10:55:26 +0000 (12:55 +0200)]
Merge commit '1914e6f010b3320025c7b692aaea51d9b9a992a8'

* commit '1914e6f010b3320025c7b692aaea51d9b9a992a8':
  aacdec: Add support for LD (Low Delay) AAC

Conflicts:
Changelog
libavcodec/aacdec.c
libavcodec/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '5cdefc02079a5b899bdec09e15e2bb099cb01734'
Michael Niedermayer [Thu, 19 Sep 2013 10:44:06 +0000 (12:44 +0200)]
Merge commit '5cdefc02079a5b899bdec09e15e2bb099cb01734'

* commit '5cdefc02079a5b899bdec09e15e2bb099cb01734':
  aacdec: Add support for Error Resilience syntax.

Conflicts:
Changelog
libavcodec/aacdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c4bfa098072ba338d83555d6e2199f7e1e64ffff'
Michael Niedermayer [Thu, 19 Sep 2013 10:06:39 +0000 (12:06 +0200)]
Merge commit 'c4bfa098072ba338d83555d6e2199f7e1e64ffff'

* commit 'c4bfa098072ba338d83555d6e2199f7e1e64ffff':
  Add a WebP decoder

Conflicts:
Changelog
doc/general.texi
libavcodec/Makefile
libavcodec/avcodec.h
libavcodec/version.h
libavformat/img2.c

The previously existing webp decoder is disabled as the new
one supports lossless mode and alpha while the previous does not.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '9ae53c5860e17d087642d27b00dade071970a2e7'
Michael Niedermayer [Thu, 19 Sep 2013 09:47:32 +0000 (11:47 +0200)]
Merge commit '9ae53c5860e17d087642d27b00dade071970a2e7'

* commit '9ae53c5860e17d087642d27b00dade071970a2e7':
  lavc: add ff_u8_to_s8() for safe type punning of uint8_t to int8_t

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agortmp: Unbreak handle_notify
Luca Barbato [Wed, 18 Sep 2013 23:49:41 +0000 (01:49 +0200)]
rtmp: Unbreak handle_notify

Commit 5626f994f273af80fb100d4743b963304de9e05c broke it.

11 years agoMerge commit '5626f994f273af80fb100d4743b963304de9e05c'
Michael Niedermayer [Thu, 19 Sep 2013 09:01:26 +0000 (11:01 +0200)]
Merge commit '5626f994f273af80fb100d4743b963304de9e05c'

* commit '5626f994f273af80fb100d4743b963304de9e05c':
  avformat: Use av_reallocp() where suitable

Conflicts:
libavformat/avidec.c
libavformat/avienc.c
libavformat/aviobuf.c
libavformat/oggparsevorbis.c
libavformat/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '0f310a6f333b016d336674d086045e8473fdf918'
Michael Niedermayer [Thu, 19 Sep 2013 08:38:40 +0000 (10:38 +0200)]
Merge commit '0f310a6f333b016d336674d086045e8473fdf918'

* commit '0f310a6f333b016d336674d086045e8473fdf918':
  rmdec: Validate the fps value

Conflicts:
libavformat/rmdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffprobe: add -read_intervals option
Stefano Sabatini [Mon, 22 Oct 2012 14:01:29 +0000 (16:01 +0200)]
ffprobe: add -read_intervals option

This is also useful to test seeking on an input file.

This also addresses trac ticket #1437.

11 years agorv34: Fix a memory leak on errors
Martin Storsjö [Mon, 16 Sep 2013 13:05:18 +0000 (16:05 +0300)]
rv34: Fix a memory leak on errors

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoidroqdec: Make sure a video stream has been allocated before returning packets
Martin Storsjö [Mon, 16 Sep 2013 11:53:15 +0000 (14:53 +0300)]
idroqdec: Make sure a video stream has been allocated before returning packets

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agorv10: Validate the dimensions set from the container
Martin Storsjö [Mon, 16 Sep 2013 12:40:57 +0000 (15:40 +0300)]
rv10: Validate the dimensions set from the container

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agodoc/muxers: itemize tee examples
Stefano Sabatini [Wed, 18 Sep 2013 22:46:53 +0000 (00:46 +0200)]
doc/muxers: itemize tee examples

Improve rendering.

11 years agortmp: Unbreak handle_notify
Luca Barbato [Wed, 18 Sep 2013 23:49:41 +0000 (01:49 +0200)]
rtmp: Unbreak handle_notify

Commit 5626f994f273af80fb100d4743b963304de9e05c broke it.

11 years agomatroskaenc: Write muxingapp and writingapp elements when using bitexact flag
James Almer [Wed, 18 Sep 2013 03:59:34 +0000 (00:59 -0300)]
matroskaenc: Write muxingapp and writingapp elements when using bitexact flag

Files won't validate with mkvalidtor if these two elements are missing.
Use a const "Lavf" string that wont change with library version bumps.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate: Fix exif tests ffprobe dependency
James Almer [Wed, 18 Sep 2013 03:55:58 +0000 (00:55 -0300)]
fate: Fix exif tests ffprobe dependency

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/APIchanges: Fix two hashes
James Almer [Wed, 18 Sep 2013 04:06:15 +0000 (01:06 -0300)]
doc/APIchanges: Fix two hashes

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfilter/vf_telecine: remove redudant av_frame_copy_props()
Paul B Mahol [Wed, 18 Sep 2013 19:17:34 +0000 (19:17 +0000)]
avfilter/vf_telecine: remove redudant av_frame_copy_props()

It is already called by av_frame_clone().

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoaacdec: Add support for LD (Low Delay) AAC
Alex Converse [Mon, 16 Sep 2013 20:03:15 +0000 (13:03 -0700)]
aacdec: Add support for LD (Low Delay) AAC

11 years agoaacdec: Add support for Error Resilience syntax.
Alex Converse [Mon, 16 Sep 2013 06:32:23 +0000 (23:32 -0700)]
aacdec: Add support for Error Resilience syntax.

This does not add support for any error resilience tools.

11 years agoAdd a WebP decoder
Justin Ruggles [Tue, 16 Apr 2013 17:12:26 +0000 (22:42 +0530)]
Add a WebP decoder

Container and lossy decoding by Aneesh Dogra <aneesh@sugarlabs.org>
Lossless decoding by Justin Ruggles <justin.ruggles@gmail.com>

11 years agolavc: add ff_u8_to_s8() for safe type punning of uint8_t to int8_t
Justin Ruggles [Mon, 16 Sep 2013 14:11:32 +0000 (10:11 -0400)]
lavc: add ff_u8_to_s8() for safe type punning of uint8_t to int8_t

11 years agoavformat: Use av_reallocp() where suitable
Alexandra Khirnova [Wed, 18 Sep 2013 16:12:36 +0000 (18:12 +0200)]
avformat: Use av_reallocp() where suitable

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agoavfilter/vf_pullup: remove junk_down nonsense
Paul B Mahol [Wed, 18 Sep 2013 12:46:44 +0000 (12:46 +0000)]
avfilter/vf_pullup: remove junk_down nonsense

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoavfilter/vf_pullup: change log level to error
Paul B Mahol [Wed, 18 Sep 2013 11:55:04 +0000 (11:55 +0000)]
avfilter/vf_pullup: change log level to error

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoavfilter/vf_pullup: fix memleak of metrics for last PullupField
Paul B Mahol [Wed, 18 Sep 2013 11:49:58 +0000 (11:49 +0000)]
avfilter/vf_pullup: fix memleak of metrics for last PullupField

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 18 Sep 2013 11:23:36 +0000 (13:23 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  movenc: Add an option for omitting the tfhd base offset

Conflicts:
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfilter/vf_pullup: make sure metric_plane is available
Paul B Mahol [Wed, 18 Sep 2013 11:27:41 +0000 (11:27 +0000)]
avfilter/vf_pullup: make sure metric_plane is available

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavfi/mp: remove mp=pullup
Paul B Mahol [Wed, 18 Sep 2013 11:04:11 +0000 (11:04 +0000)]
lavfi/mp: remove mp=pullup

The filter was ported to a native libavfilter filter.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoMerge commit 'a4adabb460ace39783d707a5b3bbe28b4b5b9dc4'
Michael Niedermayer [Wed, 18 Sep 2013 10:47:47 +0000 (12:47 +0200)]
Merge commit 'a4adabb460ace39783d707a5b3bbe28b4b5b9dc4'

* commit 'a4adabb460ace39783d707a5b3bbe28b4b5b9dc4':
  movenc: Write the moof atom in two passes

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c77d409bf95954aceb762dd800d1ee2868c4b0d4'
Michael Niedermayer [Wed, 18 Sep 2013 10:26:32 +0000 (12:26 +0200)]
Merge commit 'c77d409bf95954aceb762dd800d1ee2868c4b0d4'

* commit 'c77d409bf95954aceb762dd800d1ee2868c4b0d4':
  twinvqdec: Check the ibps parameter separately

See: b8dc5f8bb3b14bfd2289a0444c7b706299555d97
See: 98b377004d9c6fa1c1756c814efe9882b65f96b9
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '8583b14252deac71136f1dec231910abab0ba503'
Michael Niedermayer [Wed, 18 Sep 2013 10:08:37 +0000 (12:08 +0200)]
Merge commit '8583b14252deac71136f1dec231910abab0ba503'

* commit '8583b14252deac71136f1dec231910abab0ba503':
  rtmp: Support reading interleaved chunks.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'd4c2a3740fb95f952a87ba320d2bf31f126bdf68'
Michael Niedermayer [Wed, 18 Sep 2013 09:24:27 +0000 (11:24 +0200)]
Merge commit 'd4c2a3740fb95f952a87ba320d2bf31f126bdf68'

* commit 'd4c2a3740fb95f952a87ba320d2bf31f126bdf68':
  xmv: Add more sanity checks for parameters read from the bitstream

Conflicts:
libavformat/xmv.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'dc4acc820076b2149ef6c921bdabe05d07ca1bc6'
Michael Niedermayer [Wed, 18 Sep 2013 09:08:43 +0000 (11:08 +0200)]
Merge commit 'dc4acc820076b2149ef6c921bdabe05d07ca1bc6'

* commit 'dc4acc820076b2149ef6c921bdabe05d07ca1bc6':
  rtmpproto: Extend a comment to explain the prev_pkt arrays roles

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '647d655d19c38e9716328e4787199149097d6089'
Michael Niedermayer [Wed, 18 Sep 2013 09:00:47 +0000 (11:00 +0200)]
Merge commit '647d655d19c38e9716328e4787199149097d6089'

* commit '647d655d19c38e9716328e4787199149097d6089':
  rtmpproto: Consistently use the right prev_pkt array

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '0d3784396b736374a61fea26268febdabd803a59'
Michael Niedermayer [Wed, 18 Sep 2013 08:50:49 +0000 (10:50 +0200)]
Merge commit '0d3784396b736374a61fea26268febdabd803a59'

* commit '0d3784396b736374a61fea26268febdabd803a59':
  rtmpproto: Check for the right return code

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '8411baf6f0a42bdd61f00f34aa9efec7e138b5f2'
Michael Niedermayer [Wed, 18 Sep 2013 08:39:34 +0000 (10:39 +0200)]
Merge commit '8411baf6f0a42bdd61f00f34aa9efec7e138b5f2'

* commit '8411baf6f0a42bdd61f00f34aa9efec7e138b5f2':
  dca_parser: Handle changes in DCA frame size

Conflicts:
libavcodec/dca_parser.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agormdec: Validate the fps value
Martin Storsjö [Mon, 16 Sep 2013 17:58:38 +0000 (20:58 +0300)]
rmdec: Validate the fps value

Abort if it is invalid if strict error checking has been requested.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoavcodec/jpeg2000dec: move "missing SIZ" check up
Michael Niedermayer [Wed, 18 Sep 2013 08:04:43 +0000 (10:04 +0200)]
avcodec/jpeg2000dec: move "missing SIZ" check up

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '18a245a2aea31b92bc435f2962a71e060d83b5f7'
Michael Niedermayer [Wed, 18 Sep 2013 07:40:53 +0000 (09:40 +0200)]
Merge commit '18a245a2aea31b92bc435f2962a71e060d83b5f7'

* commit '18a245a2aea31b92bc435f2962a71e060d83b5f7':
  jpeg2000dec: Add more checks when parsing headers

The check cannot be true in FFmpeg, but does no harm.
I will move it in a subsequent commit so it can detect missing SIZ

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/APIchanges: List merge commit hashes and version numbers
Michael Niedermayer [Tue, 17 Sep 2013 23:42:18 +0000 (01:42 +0200)]
doc/APIchanges: List merge commit hashes and version numbers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavd/v4l2: do not fail when VIDIOC_ENUMSTD returns EINVAL without a valid match
mrlika [Mon, 2 Sep 2013 12:10:22 +0000 (15:10 +0300)]
lavd/v4l2: do not fail when VIDIOC_ENUMSTD returns EINVAL without a valid match

With some (buggy) drivers, the VIDIOC_G_STD ioctl returns a std_id that cannot
be matched with any of the enumerated v4l2_standard structures (for example
std_id = 0 or std_id = 0xffffff). Do not fail when we reach the end of the
enumeration without a valid match.

Fixes ticket #2370

Note: This commit message has been modified by Giorgio Vazzana, the original
commit message was:

"Fixed regression for mandatory VIDIOC_ENUMSTD support by v4l2"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomovenc: Add an option for omitting the tfhd base offset
Martin Storsjö [Mon, 9 Sep 2013 12:04:57 +0000 (15:04 +0300)]
movenc: Add an option for omitting the tfhd base offset

This makes the output fragments independent of their position in
the output stream, making the output work better when streamed.

QuickTime Player doesn't support fragmented mp4 without the base
data offset, though.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agomovenc: Write the moof atom in two passes
Martin Storsjö [Mon, 9 Sep 2013 09:05:01 +0000 (12:05 +0300)]
movenc: Write the moof atom in two passes

This is a bit more work, but avoids having to fill in
the data offset field afterwards instead of directly when
the rest of the trun atom is written.

This simplifies future cases where this field needs to be set to
something different.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agotwinvqdec: Check the ibps parameter separately
Martin Storsjö [Tue, 17 Sep 2013 16:33:48 +0000 (19:33 +0300)]
twinvqdec: Check the ibps parameter separately

This is required, since invalid parameters actually could
pass the switch check below.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortmp: Support reading interleaved chunks.
Josh Allmann [Tue, 17 Sep 2013 06:58:48 +0000 (23:58 -0700)]
rtmp: Support reading interleaved chunks.

A given packet won't always come in contiguously; sometimes
they may be broken up on chunk boundaries by packets of another
channel.

This support primarily involves tracking information about the
data that's been read, so the reader can pick up where it left
off for a given channel.

As a side effect, we no longer over-report the bytes read if
(toread = MIN(size, chunk_size)) == size

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoswscale/utils: remove redundant NULL checks before sws_freeVec()
Michael Niedermayer [Tue, 17 Sep 2013 19:48:54 +0000 (21:48 +0200)]
swscale/utils: remove redundant NULL checks before sws_freeVec()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoswscale/utils: simplify cpu caps printing code
Michael Niedermayer [Tue, 17 Sep 2013 19:31:58 +0000 (21:31 +0200)]
swscale/utils: simplify cpu caps printing code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoswscale/utils: Simplify scaler name printing code
Michael Niedermayer [Tue, 17 Sep 2013 19:29:42 +0000 (21:29 +0200)]
swscale/utils: Simplify scaler name printing code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoOpenCL: convert meaningless "device id" output to "device name"
Lenny Wang [Tue, 10 Sep 2013 07:57:54 +0000 (02:57 -0500)]
OpenCL: convert meaningless "device id" output to "device name"

Approved-by: Wei Gao <highgod0401@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/smacker: use av_malloc_array() and check for allocation error
Paul B Mahol [Mon, 16 Sep 2013 18:20:08 +0000 (18:20 +0000)]
avformat/smacker: use av_malloc_array() and check for allocation error

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavf/options_table: improve option help text
Michael Niedermayer [Mon, 16 Sep 2013 22:57:11 +0000 (00:57 +0200)]
lavf/options_table: improve option help text

Contains text suggested by carl

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat/asfenc: fix a build error
Chih-Wei Huang [Tue, 17 Sep 2013 15:36:48 +0000 (23:36 +0800)]
avformat/asfenc: fix a build error

It's introduced by the erroneous merging commit cbe47b1e.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfilter/x86/vf_pullup: try to fix build on x64
Paul B Mahol [Tue, 17 Sep 2013 17:15:43 +0000 (17:15 +0000)]
avfilter/x86/vf_pullup: try to fix build on x64

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoxmv: Add more sanity checks for parameters read from the bitstream
Martin Storsjö [Mon, 16 Sep 2013 18:27:49 +0000 (21:27 +0300)]
xmv: Add more sanity checks for parameters read from the bitstream

Since the number of channels is multiplied by 36 and assigned to
to a uint16_t, make sure this calculation didn't overflow. (In
certain cases the calculation could overflow leaving the
truncated block_align at 0, leading to divisions by zero later.)

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortmpproto: Extend a comment to explain the prev_pkt arrays roles
Martin Storsjö [Tue, 17 Sep 2013 14:43:48 +0000 (17:43 +0300)]
rtmpproto: Extend a comment to explain the prev_pkt arrays roles

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortmpproto: Consistently use the right prev_pkt array
Martin Storsjö [Tue, 17 Sep 2013 13:53:11 +0000 (16:53 +0300)]
rtmpproto: Consistently use the right prev_pkt array

prev_pkt[0] is used for input packets, while prev_pkt[1] is
used for output.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agortmpproto: Check for the right return code
Martin Storsjö [Tue, 17 Sep 2013 12:07:10 +0000 (15:07 +0300)]
rtmpproto: Check for the right return code

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoavfilter: port pullup filter from libmpcodecs
Paul B Mahol [Mon, 8 Jul 2013 12:42:53 +0000 (12:42 +0000)]
avfilter: port pullup filter from libmpcodecs

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agodca_parser: Handle changes in DCA frame size
John Stebbins [Wed, 4 Sep 2013 20:08:22 +0000 (13:08 -0700)]
dca_parser: Handle changes in DCA frame size

A change in framesize caused a perpetual loss of synchronization.
So read (and use) the frame size from the frame header instead of
setting it only once.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agolavc: Don't export ff_vdpau_vc1_decode_picture
Derek Buitenhuis [Tue, 17 Sep 2013 13:34:03 +0000 (09:34 -0400)]
lavc: Don't export ff_vdpau_vc1_decode_picture

It's not our responsibility to account for other projects'
terrible hacky usage.

Also, it is no longer needed by XMBC, since 78b71d4.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years agoswscale/utils: Allow sws_setColorspaceDetails() to use the tables from sws_getColorsp...
Michael Niedermayer [Tue, 17 Sep 2013 15:21:13 +0000 (17:21 +0200)]
swscale/utils: Allow sws_setColorspaceDetails() to use the tables from sws_getColorspaceDetails()

Previously this would have lead to a memcpy(a,a) which violates the
requirement of non overlapping src and dst.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 17 Sep 2013 15:09:58 +0000 (17:09 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  doc: Add missing hashes and dates to APIChanges

Conflicts:
doc/APIchanges

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'b1db33159fdc2da4bdd8c75e4ff9a7dd0ef2f0c2'
Michael Niedermayer [Tue, 17 Sep 2013 14:55:16 +0000 (16:55 +0200)]
Merge commit 'b1db33159fdc2da4bdd8c75e4ff9a7dd0ef2f0c2'

* commit 'b1db33159fdc2da4bdd8c75e4ff9a7dd0ef2f0c2':
  ffv1: Make sure at least one slice context is initialized

Conflicts:
libavcodec/ffv1.c

This condition is not possible in ffmpegs ffv1 code and already
checked for by assert() for the case that some future changes make it possible.
Thus merge just for meta-data

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'ea78a348d86a3a733f6c1e0a65cfdd8283d924b9'
Michael Niedermayer [Tue, 17 Sep 2013 14:47:18 +0000 (16:47 +0200)]
Merge commit 'ea78a348d86a3a733f6c1e0a65cfdd8283d924b9'

* commit 'ea78a348d86a3a733f6c1e0a65cfdd8283d924b9':
  eacmv: Make sure a reference frame exists before referencing it

Conflicts:
libavcodec/eacmv.c

See: 113d7be62497c4e59db8f224fdb7f0a90cf17d03
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'c39f7eba01cd656e8f0eed592f93d11814736650'
Michael Niedermayer [Tue, 17 Sep 2013 14:39:16 +0000 (16:39 +0200)]
Merge commit 'c39f7eba01cd656e8f0eed592f93d11814736650'

* commit 'c39f7eba01cd656e8f0eed592f93d11814736650':
  truemotion2: Use av_freep properly in an error path

Conflicts:
libavcodec/truemotion2.c

See: c54aa2fb0f869ec025933944cbd1634fffe95d09
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'f875a732e36786d49f3650e3235272891a820600'
Michael Niedermayer [Tue, 17 Sep 2013 14:26:59 +0000 (16:26 +0200)]
Merge commit 'f875a732e36786d49f3650e3235272891a820600'

* commit 'f875a732e36786d49f3650e3235272891a820600':
  mpeg4videodec: Check the width/height in mpeg4_decode_sprite_trajectory

Conflicts:
libavcodec/mpeg4videodec.c

See: fc5c49ab3247533e0a5cb203cf7122143389eb5c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'a92538b7c0defc86c55fb91f55dfa36aad192673'
Michael Niedermayer [Tue, 17 Sep 2013 14:09:28 +0000 (16:09 +0200)]
Merge commit 'a92538b7c0defc86c55fb91f55dfa36aad192673'

* commit 'a92538b7c0defc86c55fb91f55dfa36aad192673':
  ivi_common: Make sure color planes have been initialized

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '7f8d41eb097e8d4223c9caf97dd332a2fdb29d52'
Michael Niedermayer [Tue, 17 Sep 2013 13:57:15 +0000 (15:57 +0200)]
Merge commit '7f8d41eb097e8d4223c9caf97dd332a2fdb29d52'

* commit '7f8d41eb097e8d4223c9caf97dd332a2fdb29d52':
  mov: Don't use a negative duration for setting other fields

Conflicts:
libavformat/mov.c

See: 87d073eaccc00ef2909445ae4b25128c440d9efa
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffprobe: downgrade log level for non fatal errors in open_input_file()
Stefano Sabatini [Mon, 16 Sep 2013 17:20:56 +0000 (19:20 +0200)]
ffprobe: downgrade log level for non fatal errors in open_input_file()

Since the errors are not fatal, it is less confusing not to show them as
errors but as warnings.

Arbitrarily fixes trac ticket #2419.

11 years agoMerge commit '19b9659f3174599e8685d329c4330b1ea8c4c6db'
Michael Niedermayer [Tue, 17 Sep 2013 13:50:21 +0000 (15:50 +0200)]
Merge commit '19b9659f3174599e8685d329c4330b1ea8c4c6db'

* commit '19b9659f3174599e8685d329c4330b1ea8c4c6db':
  oggparseogm: Convert to use bytestream2

Conflicts:
libavformat/oggparseogm.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '711c970168297683860422e95d6b7e37ee3c8367'
Michael Niedermayer [Tue, 17 Sep 2013 13:37:04 +0000 (15:37 +0200)]
Merge commit '711c970168297683860422e95d6b7e37ee3c8367'

* commit '711c970168297683860422e95d6b7e37ee3c8367':
  rv34: Check the return value from ff_rv34_decode_init

Conflicts:
libavcodec/rv30.c
libavcodec/rv40.c

See: b86651a208ee67666a7305b002bc9f14b21dae7f
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '569d18aa9dc989c37bb4d4b968026fe5afa6fff9'
Michael Niedermayer [Tue, 17 Sep 2013 13:21:52 +0000 (15:21 +0200)]
Merge commit '569d18aa9dc989c37bb4d4b968026fe5afa6fff9'

* commit '569d18aa9dc989c37bb4d4b968026fe5afa6fff9':
  matroskadec: Verify realaudio codec parameters

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'e1f3847f860a1094a46be4c5f10db8df616c3135'
Michael Niedermayer [Tue, 17 Sep 2013 13:16:01 +0000 (15:16 +0200)]
Merge commit 'e1f3847f860a1094a46be4c5f10db8df616c3135'

* commit 'e1f3847f860a1094a46be4c5f10db8df616c3135':
  mace: Make sure that the channel count is set to a valid value

Conflicts:
libavcodec/mace.c

See: 6df1cfa7e4d488051d7b5033c0c69df970db9f82
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '1115689d54ea95a084421f5a182b8dc56cbff978'
Michael Niedermayer [Tue, 17 Sep 2013 13:07:09 +0000 (15:07 +0200)]
Merge commit '1115689d54ea95a084421f5a182b8dc56cbff978'

* commit '1115689d54ea95a084421f5a182b8dc56cbff978':
  svq3: Check for any negative return value from ff_h264_check_intra_pred_mode

Conflicts:
libavcodec/svq3.c

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