]> git.sesse.net Git - ffmpeg/log
ffmpeg
9 years agoMerge commit '13e4f2c7f7857feb6885f0c2ea8c9ddf438f46ea'
Michael Niedermayer [Tue, 14 Apr 2015 11:57:53 +0000 (13:57 +0200)]
Merge commit '13e4f2c7f7857feb6885f0c2ea8c9ddf438f46ea'

* commit '13e4f2c7f7857feb6885f0c2ea8c9ddf438f46ea':
  mpeg4videodec: Remove useless messages

Conflicts:
libavcodec/mpeg4videodec.c

not merged, the messages have been an important aid for debugging in old mpeg4
and help understanding bug reports

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '49e531ff4706279c7eed774f2c8b896942924ce2'
Michael Niedermayer [Tue, 14 Apr 2015 11:40:36 +0000 (13:40 +0200)]
Merge commit '49e531ff4706279c7eed774f2c8b896942924ce2'

* commit '49e531ff4706279c7eed774f2c8b896942924ce2':
  mmal: Reference MMAL VC lib explicitly

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '2de7650451d90520135d8cf6f96caa0658824208'
Michael Niedermayer [Tue, 14 Apr 2015 11:28:19 +0000 (13:28 +0200)]
Merge commit '2de7650451d90520135d8cf6f96caa0658824208'

* commit '2de7650451d90520135d8cf6f96caa0658824208':
  mmal: Move system headers before local headers

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agompeg4videodec: Remove useless messages
wm4 [Mon, 13 Apr 2015 17:35:54 +0000 (19:35 +0200)]
mpeg4videodec: Remove useless messages

They seem to sometimes trigger with old AVI files. They are just
confusing, do not help anyone, and use sloppy language.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agommal: Reference MMAL VC lib explicitly
wm4 [Mon, 13 Apr 2015 17:18:00 +0000 (19:18 +0200)]
mmal: Reference MMAL VC lib explicitly

This is optional, but ensures that linking with -Wl,--as-needed does not
drop the library containing the MMAL VC driver. The driver normally
"registers" itself in the library constructor, but since no symbols are
explicitly referenced, the linker could remove it with --as-needed
enabled.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agommal: Move system headers before local headers
wm4 [Mon, 13 Apr 2015 17:17:59 +0000 (19:17 +0200)]
mmal: Move system headers before local headers

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agoavfilter/drawtext: fix frame mem leak
Ivan Efimov [Fri, 10 Apr 2015 14:28:45 +0000 (17:28 +0300)]
avfilter/drawtext: fix frame mem leak

Signed-off-by: Ivan Efimov <ioefimov@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoaacenc: Adjust the initial offset for PNS values
Rostislav Pehlivanov [Mon, 13 Apr 2015 23:33:51 +0000 (00:33 +0100)]
aacenc: Adjust the initial offset for PNS values

This commit adjusts the intial offset for PNS values, introduced
with commit f7f71b5795d708763eb0c55fe5e2cb051b2b69f4 earlier. This
commit shifts the value in such a way that no further offsets are
required in the aaccoder.c file. Earlier version of the PNS patch had 2 offsets in both the aaccoder and aacenc.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge remote-tracking branch 'cehoyos/master'
Michael Niedermayer [Tue, 14 Apr 2015 01:07:57 +0000 (03:07 +0200)]
Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  lavf/mpegtsenc: Accept 0x000001 as startcode for hevc.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/atrac3plusdec: Free mdct contexts at the end
Michael Niedermayer [Tue, 14 Apr 2015 00:13:57 +0000 (02:13 +0200)]
avcodec/atrac3plusdec: Free mdct contexts at the end

Fixes memleak

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavf/mpegtsenc: Accept 0x000001 as startcode for hevc.
Carl Eugen Hoyos [Mon, 13 Apr 2015 23:57:38 +0000 (01:57 +0200)]
lavf/mpegtsenc: Accept 0x000001 as startcode for hevc.

Fixes ticket #4194.

9 years agoavcodec/ffv1: dont leave stale pointers in memory
Michael Niedermayer [Mon, 13 Apr 2015 18:08:42 +0000 (20:08 +0200)]
avcodec/ffv1: dont leave stale pointers in memory

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/ffv1: remove unneeded variable
Michael Niedermayer [Mon, 13 Apr 2015 18:07:45 +0000 (20:07 +0200)]
avcodec/ffv1: remove unneeded variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/ffv1: use av_freep()
Michael Niedermayer [Mon, 13 Apr 2015 18:05:56 +0000 (20:05 +0200)]
avcodec/ffv1: use av_freep()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '73dacabfc9b9ef1fd2c08105fdab6238ee29c2fc'
Michael Niedermayer [Mon, 13 Apr 2015 17:59:41 +0000 (19:59 +0200)]
Merge commit '73dacabfc9b9ef1fd2c08105fdab6238ee29c2fc'

* commit '73dacabfc9b9ef1fd2c08105fdab6238ee29c2fc':
  ffv1: Check memory allocations

Conflicts:
libavcodec/ffv1.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoffv1: Check memory allocations
Vittorio Giovara [Thu, 9 Apr 2015 21:37:59 +0000 (23:37 +0200)]
ffv1: Check memory allocations

Signed-off-by: Diego Biurrun <diego@biurrun.de>
9 years agoh264: remove bogus YCgCo warning message
wm4 [Mon, 13 Apr 2015 11:03:35 +0000 (13:03 +0200)]
h264: remove bogus YCgCo warning message

YCgCo decoding works just fine. It depends on the API user what is done
with the output. Some API users might support it, some not. Some users
might support it under certain circumstances only.

It is not the job of the decoder to print this message. If the API user
supports it, this message is extremely unhelpful.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter/vf_scale: Add warning for AVCOL_SPC_YCGCO
Michael Niedermayer [Mon, 13 Apr 2015 11:45:41 +0000 (13:45 +0200)]
avfilter/vf_scale: Add warning for AVCOL_SPC_YCGCO

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavf/mpeg: vobsub add an option to specify the .sub's URI
Rodger Combs [Mon, 13 Apr 2015 06:17:28 +0000 (01:17 -0500)]
lavf/mpeg: vobsub add an option to specify the .sub's URI

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agofate: add tta encoder test
James Almer [Mon, 13 Apr 2015 07:12:28 +0000 (04:12 -0300)]
fate: add tta encoder test

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavf/http: handle case where the server returns a redirect during a seek
Rodger Combs [Mon, 13 Apr 2015 05:39:44 +0000 (00:39 -0500)]
lavf/http: handle case where the server returns a redirect during a seek

txoffer (e.g. http://tori.aoi-chan.com/ ) redirects to the same URI on your
first request, and serves the actual file on the second. It's stupid, but AFAIK
technically compliant. We'd previously see the server not handing back a Range
header and return an error; now, instead, we see that there's a redirect and
keep track of the offset we want while trying again at the new URL.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoaacenc: Add support for Perceptual Noise Substitution energy values
Rostislav Pehlivanov [Sun, 12 Apr 2015 04:50:34 +0000 (05:50 +0100)]
aacenc: Add support for Perceptual Noise Substitution energy values

This commit implements support for writing the noise energy values used in PNS.
The difference between regular scalefactors and noise energy values is that the latter
require a small preamble (NOISE_PRE + energy_value_diff) to be written as the first
noise-containing band. Any following noise energy values use the previous one to
base their "diff" on. Ordinary scalefactors remain unchanged other than that they ignore the noise values.

This commit should not change anything by itself, the following commits will bring it in use.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agotests/fate: added mxf opatom audio regression tests
Mark Reid [Sun, 12 Apr 2015 23:39:01 +0000 (16:39 -0700)]
tests/fate: added mxf opatom audio regression tests

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '4e5443216445f3a9b8e6cb3fa4f448762e19006e'
Michael Niedermayer [Sun, 12 Apr 2015 23:43:55 +0000 (01:43 +0200)]
Merge commit '4e5443216445f3a9b8e6cb3fa4f448762e19006e'

* commit '4e5443216445f3a9b8e6cb3fa4f448762e19006e':
  rtsp: Fix unchecked return value

See: aae9f52c4efa4c185f8919dcc6d8c6f25c1df9e5
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '0b72a47f5592ecc035edd5bac57558ad9604612d'
Michael Niedermayer [Sun, 12 Apr 2015 23:34:21 +0000 (01:34 +0200)]
Merge commit '0b72a47f5592ecc035edd5bac57558ad9604612d'

* commit '0b72a47f5592ecc035edd5bac57558ad9604612d':
  rtsp: Check a malloc return value

See: 4b030025278ac4adc3616510f36de4c7a113c5fb
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/rtsp: Fix dereference after null check
Himangi Saraogi [Sun, 12 Apr 2015 19:35:52 +0000 (01:05 +0530)]
avformat/rtsp: Fix dereference after null check

This fixes CID 732219

Reviewed-by: Thomas Volkert <silvo@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoswresample/swresample-test: Randomly wipe out channel counts
Michael Niedermayer [Sun, 12 Apr 2015 20:08:52 +0000 (22:08 +0200)]
swresample/swresample-test: Randomly wipe out channel counts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoswresample: Check channel layouts and channels against each other and print human...
Michael Niedermayer [Sun, 12 Apr 2015 19:08:09 +0000 (21:08 +0200)]
swresample: Check channel layouts and channels against each other and print human readable error messages

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoswresample: Allow reinitialization without ever setting channel layouts
Michael Niedermayer [Sun, 12 Apr 2015 18:50:53 +0000 (20:50 +0200)]
swresample: Allow reinitialization without ever setting channel layouts

9 years agoswresample: Allow reinitialization without ever setting channel counts
Michael Niedermayer [Sun, 12 Apr 2015 17:43:08 +0000 (19:43 +0200)]
swresample: Allow reinitialization without ever setting channel counts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agortsp: Fix unchecked return value
Himangi Saraogi [Thu, 9 Apr 2015 18:34:01 +0000 (00:04 +0530)]
rtsp: Fix unchecked return value

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortsp: Check a malloc return value
Himangi Saraogi [Sat, 4 Apr 2015 10:51:40 +0000 (16:21 +0530)]
rtsp: Check a malloc return value

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoconfigure: add missing h263p decoder dependencies
James Almer [Sun, 12 Apr 2015 18:42:38 +0000 (15:42 -0300)]
configure: add missing h263p decoder dependencies

Should fix ticket #4480

Signed-off-by: James Almer <jamrial@gmail.com>
9 years agofate: Include branch information in the payload header
Timothy Gu [Sun, 12 Apr 2015 15:28:42 +0000 (08:28 -0700)]
fate: Include branch information in the payload header

The server is properly equiped not to choke on that now.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/rtpdec_asf: Fix potential pointer overflow
Michael Niedermayer [Sun, 12 Apr 2015 15:41:23 +0000 (17:41 +0200)]
avformat/rtpdec_asf: Fix potential pointer overflow

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/segafilm: Use av_malloc_array()
Michael Niedermayer [Sun, 12 Apr 2015 14:52:00 +0000 (16:52 +0200)]
avformat/segafilm: Use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/sierravmd: use av_malloc_array()
Michael Niedermayer [Sun, 12 Apr 2015 14:50:19 +0000 (16:50 +0200)]
avformat/sierravmd: use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavfilter: add chorus filter
Paul B Mahol [Tue, 24 Jun 2014 08:35:37 +0000 (08:35 +0000)]
avfilter: add chorus filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
9 years agolibavformat/mxfenc: added support mxf opatom audio muxing
Mark Reid [Sun, 12 Apr 2015 00:18:13 +0000 (17:18 -0700)]
libavformat/mxfenc: added support mxf opatom audio muxing

Previous version Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agofate: Add atrac3+ tests
Timothy Gu [Fri, 10 Apr 2015 20:24:57 +0000 (13:24 -0700)]
fate: Add atrac3+ tests

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolibavformat/http.c: Make http-listen work as an input stream.
Stephan Holljes [Sat, 11 Apr 2015 20:26:57 +0000 (22:26 +0200)]
libavformat/http.c: Make http-listen work as an input stream.

With this patch http can be used to listen for POST data to be used as an input stream.

Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/rtpproto: Move dscp into context & AVOptions
Michael Niedermayer [Sat, 11 Apr 2015 16:53:54 +0000 (18:53 +0200)]
avformat/rtpproto: Move dscp into context & AVOptions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'bbdb50d7a8a91f38188fd15080d7f45f1540b3ac'
Michael Niedermayer [Sat, 11 Apr 2015 15:59:39 +0000 (17:59 +0200)]
Merge commit 'bbdb50d7a8a91f38188fd15080d7f45f1540b3ac'

* commit 'bbdb50d7a8a91f38188fd15080d7f45f1540b3ac':
  libx265: print supported presets and tunes on error

See: 61090db29a3e8364431d46c16770425815f7608a
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '7a9b764c0737f42cf2458c3c5378b0df216e14a2'
Michael Niedermayer [Sat, 11 Apr 2015 15:47:19 +0000 (17:47 +0200)]
Merge commit '7a9b764c0737f42cf2458c3c5378b0df216e14a2'

* commit '7a9b764c0737f42cf2458c3c5378b0df216e14a2':
  libdc1394: Unbreak build after c201069fa

See: fe25194c5870f21ba10f615f036b64d0c84fca48
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolibx265: print supported presets and tunes on error
James Almer [Fri, 10 Apr 2015 19:47:03 +0000 (16:47 -0300)]
libx265: print supported presets and tunes on error

Based on code from libavcodec/libx264.c

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
9 years agoavformat/xwma: Use av_malloc_array()
Michael Niedermayer [Sat, 11 Apr 2015 11:51:03 +0000 (13:51 +0200)]
avformat/xwma: Use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/wtvenc: Use av_realloc_array()
Michael Niedermayer [Sat, 11 Apr 2015 11:50:07 +0000 (13:50 +0200)]
avformat/wtvenc: Use av_realloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/nsvdec: Use av_malloc_array()
Michael Niedermayer [Sat, 11 Apr 2015 11:18:41 +0000 (13:18 +0200)]
avformat/nsvdec: Use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolibdc1394: Unbreak build after c201069fa
Michael Kostylev [Sat, 11 Apr 2015 08:37:49 +0000 (10:37 +0200)]
libdc1394: Unbreak build after c201069fa

9 years agortpenc_jpeg: handle case of picture dimensions not dividing by 8
Andrey Utkin [Fri, 10 Apr 2015 21:54:10 +0000 (00:54 +0300)]
rtpenc_jpeg: handle case of picture dimensions not dividing by 8

This fixes the calculation of the number of needed blocks to make
sure that ALL pixels are represented by the result.

Reviewed-by: Thomas Volkert <silvo@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '4f373a5111f900af54301907132942f95276285c'
Michael Niedermayer [Fri, 10 Apr 2015 23:35:16 +0000 (01:35 +0200)]
Merge commit '4f373a5111f900af54301907132942f95276285c'

* commit '4f373a5111f900af54301907132942f95276285c':
  vfwcap: Unbreak building after c201069fa

Conflicts:
libavdevice/vfwcap.c

See: 4d0f6d3fb421b3ab774ccd3c299f0a242f359a75
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodoc: add aarch64 cpuflags to fftools documentation
James Almer [Fri, 10 Apr 2015 23:52:29 +0000 (20:52 -0300)]
doc: add aarch64 cpuflags to fftools documentation

Signed-off-by: James Almer <jamrial@gmail.com>
9 years agodoc: add missing arm cpuflags to fftools documentation
James Almer [Fri, 10 Apr 2015 23:51:35 +0000 (20:51 -0300)]
doc: add missing arm cpuflags to fftools documentation

Signed-off-by: James Almer <jamrial@gmail.com>
9 years agodoc: add missing x86 cpuflags to fftools documentation
James Almer [Fri, 10 Apr 2015 23:51:11 +0000 (20:51 -0300)]
doc: add missing x86 cpuflags to fftools documentation

Signed-off-by: James Almer <jamrial@gmail.com>
9 years agoUse @verbatim instead of @example for ASCII arts
Timothy Gu [Mon, 23 Mar 2015 03:47:17 +0000 (20:47 -0700)]
Use @verbatim instead of @example for ASCII arts

Partially fixes #3869.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agotexi2pod: Handle @verbatim
Timothy Gu [Fri, 10 Apr 2015 17:47:55 +0000 (10:47 -0700)]
texi2pod: Handle @verbatim

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agovfwcap: Unbreak building after c201069fa
Martin Storsjö [Fri, 10 Apr 2015 09:22:33 +0000 (12:22 +0300)]
vfwcap: Unbreak building after c201069fa

These headers can't be included in any arbitrary order.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agotests: Do not include stdout/stderr or diff if the test passed
Timothy Gu [Fri, 10 Apr 2015 17:51:11 +0000 (10:51 -0700)]
tests: Do not include stdout/stderr or diff if the test passed

FATE currently discards this information anyway, so why waste the
disk space?

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoAdd cabac test into fate
Timothy Gu [Fri, 10 Apr 2015 17:27:35 +0000 (10:27 -0700)]
Add cabac test into fate

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agocabac-test: Return 1 if there are any errors
Timothy Gu [Fri, 10 Apr 2015 17:27:34 +0000 (10:27 -0700)]
cabac-test: Return 1 if there are any errors

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/libx265: print supported presets and tunes on error
James Almer [Fri, 10 Apr 2015 19:47:03 +0000 (16:47 -0300)]
avcodec/libx265: print supported presets and tunes on error

Based on code from libavcodec/libx264.c

Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years agoavcodec/h264: Do not fail with randomly truncated VUIs
Michael Niedermayer [Fri, 10 Apr 2015 16:35:07 +0000 (18:35 +0200)]
avcodec/h264: Do not fail with randomly truncated VUIs

Fixes Ticket4445

Tested-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavdevice/vfwcap: revert header reordering from c201069fac9a76e6604f9d84d76a172434d62200
Michael Niedermayer [Fri, 10 Apr 2015 16:08:52 +0000 (18:08 +0200)]
avdevice/vfwcap: revert header reordering from c201069fac9a76e6604f9d84d76a172434d62200

This should fix build on vs2013

Found-by: Ferdinand Oeinck <ferdo@bigroses.demon.nl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoffmdec: Check return value of ffm_append_recommended_configuration
Himangi Saraogi [Wed, 8 Apr 2015 22:55:04 +0000 (04:25 +0530)]
ffmdec: Check return value of ffm_append_recommended_configuration

Reviewed-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavformat/rtsp: Fix unchecked return value
Himangi Saraogi [Thu, 9 Apr 2015 18:34:01 +0000 (00:04 +0530)]
avformat/rtsp: Fix unchecked return value

Reviewed-by: Thomas Volkert <silvo@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge remote-tracking branch 'cehoyos/master'
Michael Niedermayer [Fri, 10 Apr 2015 11:35:59 +0000 (13:35 +0200)]
Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  lavf/flac: Autodetect raw flac files.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavutil/mips/intreadwrite: build fix for mips64r6 (instruction 'lwl' not supported)
Shivraj Patil [Thu, 9 Apr 2015 14:24:04 +0000 (19:54 +0530)]
avutil/mips/intreadwrite: build fix for mips64r6 (instruction 'lwl' not supported)

Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoconfigure: add support for 74kf cpu
Shivraj Patil [Thu, 9 Apr 2015 14:21:40 +0000 (19:51 +0530)]
configure: add support for 74kf cpu

Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoconfigure: add support for mips64r6 and i6400 cpu
Shivraj Patil [Thu, 9 Apr 2015 14:20:13 +0000 (19:50 +0530)]
configure: add support for mips64r6 and i6400 cpu

This is a preparation patch to submit optimized code for MSA (MIPS-SIMD-Architecture)

Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoconfigure: add support for mips32r5, p5600 cpu and msa
Shivraj Patil [Thu, 9 Apr 2015 14:16:24 +0000 (19:46 +0530)]
configure: add support for mips32r5, p5600 cpu and msa

Imagination Technologies has come up with MIPS Warrior Processor Cores.
More details can be found at-
http://www.imgtec.com/mips/warrior/pclass.asp
http://www.imgtec.com/mips/warrior/iclass.asp

This is a preparation patch to submit optimized code for MSA (MIPS-SIMD-Architecture)
This patch set is adding support for P5600 and I6400 CPUs.

MIPS 'generic' case is added, with mips32r2 arch as default (fpu and dsp opt enabled).

Sample configurations for new MSA architectures-
    $ ./configure --enable-cross-compile --cross-prefix=<PATH> --arch=mips --target-os=linux --cpu=p5600
    $ ./configure --enable-cross-compile --cross-prefix=<PATH> --arch=mips --target-os=linux --cpu=i6400

Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/hqx: Use av_clip_uintp2()
Michael Niedermayer [Fri, 10 Apr 2015 10:32:44 +0000 (12:32 +0200)]
avcodec/hqx: Use av_clip_uintp2()

Suggested-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavf/flac: Autodetect raw flac files.
Carl Eugen Hoyos [Fri, 10 Apr 2015 10:35:02 +0000 (12:35 +0200)]
lavf/flac: Autodetect raw flac files.

9 years agoavcodec/libdcadec: honor AVCodecContext bitexact flag
James Almer [Thu, 9 Apr 2015 06:56:58 +0000 (03:56 -0300)]
avcodec/libdcadec: honor AVCodecContext bitexact flag

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years agolibavcodec/hqx: multi threading support
Ferdinand Oeinck [Mon, 6 Apr 2015 13:47:14 +0000 (15:47 +0200)]
libavcodec/hqx: multi threading support

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '8d26c193fb42d08602ac93ece039d4718d029adc'
Michael Niedermayer [Thu, 9 Apr 2015 19:36:42 +0000 (21:36 +0200)]
Merge commit '8d26c193fb42d08602ac93ece039d4718d029adc'

* commit '8d26c193fb42d08602ac93ece039d4718d029adc':
  avdevice: Apply a more consistent file naming scheme

Conflicts:
libavdevice/Makefile
libavdevice/alsa.h
libavdevice/alsa_dec.c
libavdevice/alsa_enc.c
libavdevice/sndio_enc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavdevice/vfwcap: put the headers back in the order in which they need to be
Michael Niedermayer [Thu, 9 Apr 2015 19:18:51 +0000 (21:18 +0200)]
avdevice/vfwcap: put the headers back in the order in which they need to be

This avoids build failures

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'c201069fac9a76e6604f9d84d76a172434d62200'
Michael Niedermayer [Thu, 9 Apr 2015 19:03:39 +0000 (21:03 +0200)]
Merge commit 'c201069fac9a76e6604f9d84d76a172434d62200'

* commit 'c201069fac9a76e6604f9d84d76a172434d62200':
  avdevice: Add missing header for NULL_IF_CONFIG_SMALL

Conflicts:
libavdevice/alsa-audio-dec.c
libavdevice/alsa-audio-enc.c
libavdevice/pulse_audio_dec.c
libavdevice/sndio_enc.c
libavdevice/vfwcap.c
libavdevice/x11grab.c
libavdevice/xcbgrab.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '27852f2f1dec3749ea79883b70484c841169f747'
Michael Niedermayer [Thu, 9 Apr 2015 18:47:20 +0000 (20:47 +0200)]
Merge commit '27852f2f1dec3749ea79883b70484c841169f747'

* commit '27852f2f1dec3749ea79883b70484c841169f747':
  libavformat: Handle error return from ff_listen_bind

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '0266988ccd15436eaf5f7bb6f9509e6bfd5ce589'
Michael Niedermayer [Thu, 9 Apr 2015 18:39:56 +0000 (20:39 +0200)]
Merge commit '0266988ccd15436eaf5f7bb6f9509e6bfd5ce589'

* commit '0266988ccd15436eaf5f7bb6f9509e6bfd5ce589':
  hqx: Fix clipping error in idct put function

See: 92f94fd5dd8b256c5633eda655dda4782eca2ad8
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '783df7d5c5ab15f3d1afe2541c7d461c81c5c29d'
Michael Niedermayer [Thu, 9 Apr 2015 18:33:06 +0000 (20:33 +0200)]
Merge commit '783df7d5c5ab15f3d1afe2541c7d461c81c5c29d'

* commit '783df7d5c5ab15f3d1afe2541c7d461c81c5c29d':
  riff: Add 'M705' FourCC for mpeg2video

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit '5980c924e309ae1dde8bd52d9938f94ff02602eb'
Michael Niedermayer [Thu, 9 Apr 2015 18:26:07 +0000 (20:26 +0200)]
Merge commit '5980c924e309ae1dde8bd52d9938f94ff02602eb'

* commit '5980c924e309ae1dde8bd52d9938f94ff02602eb':
  dnxhd: Log the selected profile id

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'be089af38f65dc8b1fe3564f98020fc815577edb'
Michael Niedermayer [Thu, 9 Apr 2015 18:17:36 +0000 (20:17 +0200)]
Merge commit 'be089af38f65dc8b1fe3564f98020fc815577edb'

* commit 'be089af38f65dc8b1fe3564f98020fc815577edb':
  mov: Rely on box type rather than file type for colr atom

Conflicts:
libavformat/mov.c

See: 0276b9524294e518cdc7cbfa12b7cb301ed86fb6
Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge commit 'f8fd0c29ce5dc7d4be13e7e89d0f1e8a035ae71b'
Michael Niedermayer [Thu, 9 Apr 2015 18:08:58 +0000 (20:08 +0200)]
Merge commit 'f8fd0c29ce5dc7d4be13e7e89d0f1e8a035ae71b'

* commit 'f8fd0c29ce5dc7d4be13e7e89d0f1e8a035ae71b':
  v210: Fix typo in header guards

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/nvenc: Add options for level and tier
Timo Rothenpieler [Sat, 4 Apr 2015 11:34:14 +0000 (13:34 +0200)]
avcodec/nvenc: Add options for level and tier

Previous version reviewed-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/h264: Use only one ERContext
Michael Niedermayer [Sat, 4 Apr 2015 10:36:43 +0000 (12:36 +0200)]
avcodec/h264: Use only one ERContext

This fixes slice threads with error concealment

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavdevice: Apply a more consistent file naming scheme
Diego Biurrun [Fri, 27 Mar 2015 11:40:23 +0000 (12:40 +0100)]
avdevice: Apply a more consistent file naming scheme

9 years agoavdevice: Add missing header for NULL_IF_CONFIG_SMALL
Diego Biurrun [Wed, 8 Apr 2015 15:27:42 +0000 (17:27 +0200)]
avdevice: Add missing header for NULL_IF_CONFIG_SMALL

Also reshuffle headers into canonical order where appropriate.

9 years agolibavformat: Handle error return from ff_listen_bind
Anders Nystrom [Thu, 9 Apr 2015 00:38:41 +0000 (02:38 +0200)]
libavformat: Handle error return from ff_listen_bind

Handle error return from ff_listen_bind without leaking file descriptors.

Signed-off-by: Anders Nystrom <anders.nystrom@southpole.se>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years agohqx: Fix clipping error in idct put function
Ferdinand Oeinck [Tue, 7 Apr 2015 10:42:17 +0000 (12:42 +0200)]
hqx: Fix clipping error in idct put function

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years agoriff: Add 'M705' FourCC for mpeg2video
Vittorio Giovara [Tue, 7 Apr 2015 10:30:16 +0000 (12:30 +0200)]
riff: Add 'M705' FourCC for mpeg2video

9 years agodnxhd: Log the selected profile id
Vittorio Giovara [Thu, 2 Apr 2015 20:56:39 +0000 (22:56 +0200)]
dnxhd: Log the selected profile id

9 years agoavcodec/h264: Be more tolerant to changing pps id between slices
Michael Niedermayer [Thu, 9 Apr 2015 11:50:07 +0000 (13:50 +0200)]
avcodec/h264: Be more tolerant to changing pps id between slices

Fixes Ticket4446

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agomov: Rely on box type rather than file type for colr atom
Vittorio Giovara [Mon, 23 Mar 2015 19:43:27 +0000 (19:43 +0000)]
mov: Rely on box type rather than file type for colr atom

Although it's not allowed to use only allows 'nclc' in ISOM files, there
are samples that do not always respect this rule. This change prevents
atom overread and a spurious color range initialization.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years agov210: Fix typo in header guards
Vittorio Giovara [Mon, 23 Mar 2015 20:13:43 +0000 (20:13 +0000)]
v210: Fix typo in header guards

9 years agoavfilter/vsrc_life: Fix mix of declarations and statements
Michael Niedermayer [Thu, 9 Apr 2015 09:05:43 +0000 (11:05 +0200)]
avfilter/vsrc_life: Fix mix of declarations and statements

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agovda: Cast to not discard constant qualifier and silence compiler warning
Himangi Saraogi [Wed, 8 Apr 2015 22:10:31 +0000 (03:40 +0530)]
vda: Cast to not discard constant qualifier and silence compiler warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavutil/x86/Makefile: fix conditional x86/emms.o build
Michael Niedermayer [Wed, 8 Apr 2015 23:01:12 +0000 (01:01 +0200)]
avutil/x86/Makefile: fix conditional x86/emms.o build

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/aacdec: Fix storing state before PCE decode
Michael Niedermayer [Wed, 8 Apr 2015 22:04:44 +0000 (00:04 +0200)]
avcodec/aacdec: Fix storing state before PCE decode

Fixes Ticket4460

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoavcodec/h264_ps: Move truncation check from VUI to SPS
Michael Niedermayer [Wed, 8 Apr 2015 20:18:35 +0000 (22:18 +0200)]
avcodec/h264_ps: Move truncation check from VUI to SPS

This more completely checks for truncation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agomicrodvd: do not export framerate hint as subtitle packet
wm4 [Wed, 8 Apr 2015 17:55:04 +0000 (19:55 +0200)]
microdvd: do not export framerate hint as subtitle packet

MicroDVD has a "hack" for specifying the video framerate the subtitle
was authored against. The demuxer reads this hint correctly, but didn't
skip it correctly.

This was not noticed, because the exported packet has its duration set
to 0, making it invisible (depending on the API user's rendering logic).

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