ffmpeg.git
5 years agopostproc/postprocess: remove redundant casts
Michael Niedermayer [Thu, 18 Sep 2014 19:11:37 +0000 (21:11 +0200)]
postproc/postprocess: remove redundant casts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agopostproc/postprocess: Use FF_ARRAY_ELEMS() in pp_free_context() instead of hard-codin...
Michael Niedermayer [Thu, 18 Sep 2014 19:10:18 +0000 (21:10 +0200)]
postproc/postprocess: Use FF_ARRAY_ELEMS() in pp_free_context() instead of hard-coding their size

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agopostproc/postprocess: Remove unused argument from reallocAlign()
Michael Niedermayer [Thu, 18 Sep 2014 19:08:44 +0000 (21:08 +0200)]
postproc/postprocess: Remove unused argument from reallocAlign()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge branch 'postprocwork'
Michael Niedermayer [Thu, 18 Sep 2014 12:46:40 +0000 (14:46 +0200)]
Merge branch 'postprocwork'

* postprocwork:
  postproc/postprocess: use av_strtok()
  postprocess: make some variables in pp_get_mode_by_name_and_quality() const
  postproc: simplify forwarding return codes
  libpostproc/postprocess: avoid some if()
  fate: add fate-filter-pp1

This is merged instead of just fast forward pushed due to a bug in the git hook
which does not allow commits to change filter-video.mak except merge commits.
filter-video.mak contains a few tabs, which are needed due to Makefile syntax

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agopostproc/postprocess: use av_strtok()
Michael Niedermayer [Thu, 18 Sep 2014 12:21:27 +0000 (14:21 +0200)]
postproc/postprocess: use av_strtok()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agopostprocess: make some variables in pp_get_mode_by_name_and_quality() const
Michael Niedermayer [Thu, 18 Sep 2014 12:19:08 +0000 (14:19 +0200)]
postprocess: make some variables in pp_get_mode_by_name_and_quality() const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agopostproc: simplify forwarding return codes
Michael Niedermayer [Thu, 18 Sep 2014 12:09:20 +0000 (14:09 +0200)]
postproc: simplify forwarding return codes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agolibpostproc/postprocess: avoid some if()
Michael Niedermayer [Thu, 18 Sep 2014 12:06:43 +0000 (14:06 +0200)]
libpostproc/postprocess: avoid some if()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agofate: add fate-filter-pp1
Michael Niedermayer [Thu, 18 Sep 2014 12:02:33 +0000 (14:02 +0200)]
fate: add fate-filter-pp1

This tests a few more filters with forced quantizers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agox86/me_cmp: combine sad functions into a single macro
James Almer [Thu, 18 Sep 2014 00:45:38 +0000 (21:45 -0300)]
x86/me_cmp: combine sad functions into a single macro

No point in having the sad8 functions separate now that the loop is no
longer unrolled.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
5 years agoMerge commit '2bb2c2bd75e5f4b28a945511cda77e0a1a44c758'
Michael Niedermayer [Thu, 18 Sep 2014 00:10:55 +0000 (02:10 +0200)]
Merge commit '2bb2c2bd75e5f4b28a945511cda77e0a1a44c758'

* commit '2bb2c2bd75e5f4b28a945511cda77e0a1a44c758':
  rtpenc_chain: Pass the initial time_base hint on to the chained muxer

See: [FFmpeg-devel] [PATCH] avformat/rtpenc_chain: Set timebase
Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge commit '3f2c70355ab722bc9f741bd3ed8224c7cfb62379'
Michael Niedermayer [Wed, 17 Sep 2014 23:41:43 +0000 (01:41 +0200)]
Merge commit '3f2c70355ab722bc9f741bd3ed8224c7cfb62379'

* commit '3f2c70355ab722bc9f741bd3ed8224c7cfb62379':
  configure: Use the right variables in check_host_cpp

See: 453944cc77b9ea27c74011eb7c0e20c887b321cf
Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agovf_deshake: rename Transform.vector to Transform.vec to avoid compiler confusion
Andreas Cadhalpun [Wed, 17 Sep 2014 22:08:05 +0000 (00:08 +0200)]
vf_deshake: rename Transform.vector to Transform.vec to avoid compiler confusion

The token 'vector' is a keyword in the Vector/SIMD Multimedia Extension data types and thus should not be used as a variable name.

This fixes building on powerpc/ppc64el.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoswscale/x86: do not expect registers to be preserved across inline ASM blocks
Vitor Sessak [Wed, 17 Sep 2014 19:10:16 +0000 (21:10 +0200)]
swscale/x86: do not expect registers to be preserved across inline ASM blocks

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/x86/vp9lpf: Always include x86util.asm
Michael Niedermayer [Wed, 17 Sep 2014 21:36:53 +0000 (23:36 +0200)]
avcodec/x86/vp9lpf: Always include x86util.asm

Fixes executable stack

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agortpenc_chain: Pass the initial time_base hint on to the chained muxer
Martin Storsjö [Wed, 17 Sep 2014 09:03:18 +0000 (12:03 +0300)]
rtpenc_chain: Pass the initial time_base hint on to the chained muxer

In practice this hint is ignored - the rtp muxer always overwrites
the stream time base without taking the hint into account. But as
a general practice this is the correct way to pass a time base hint
on to a chained muxer.

This avoids warnings about using the codec time base as hint
being deprecated.

Signed-off-by: Martin Storsjö <martin@martin.st>
5 years agoconfigure: Use the right variables in check_host_cpp
Jörg Krause [Thu, 11 Sep 2014 11:55:48 +0000 (13:55 +0200)]
configure: Use the right variables in check_host_cpp

HOSTCPPFLAGS and HOSTCFLAGS are only set in config.mak.

Signed-off-by: Martin Storsjö <martin@martin.st>
5 years agoMerge commit 'c5560e72d0bb69f8a1ac9536570398f84388f396'
Michael Niedermayer [Wed, 17 Sep 2014 18:38:56 +0000 (20:38 +0200)]
Merge commit 'c5560e72d0bb69f8a1ac9536570398f84388f396'

* commit 'c5560e72d0bb69f8a1ac9536570398f84388f396':
  apetag: Fix APE tag size check

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agofate: disable fate-ra4-288, the code uses floats and does not produce the same result...
Michael Niedermayer [Wed, 17 Sep 2014 18:25:22 +0000 (20:25 +0200)]
fate: disable fate-ra4-288, the code uses floats and does not produce the same results on different platforms

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge commit '44caf99ecae7bc1b907fab849ecaa72dd340ba2e'
Michael Niedermayer [Wed, 17 Sep 2014 18:09:09 +0000 (20:09 +0200)]
Merge commit '44caf99ecae7bc1b907fab849ecaa72dd340ba2e'

* commit '44caf99ecae7bc1b907fab849ecaa72dd340ba2e':
  fate: Add tests for RealAudio 1.0 (14.4) and RealAudio 2.0 (with 28.8)

Conflicts:
tests/fate/real.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavfilter: remove obsolete FF_API_FILL_FRAME cruft
James Almer [Mon, 15 Sep 2014 00:31:12 +0000 (21:31 -0300)]
avfilter: remove obsolete FF_API_FILL_FRAME cruft

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
5 years agoMerge commit '2dd09ebf5597fd5e4a573bee9cccf21ae821f286'
Michael Niedermayer [Wed, 17 Sep 2014 17:59:10 +0000 (19:59 +0200)]
Merge commit '2dd09ebf5597fd5e4a573bee9cccf21ae821f286'

* commit '2dd09ebf5597fd5e4a573bee9cccf21ae821f286':
  cmdutils: Print a more sensible message in show_filters() w/o libavfilter

Conflicts:
cmdutils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoapetag: Fix APE tag size check
Katerina Barone-Adesi [Mon, 15 Sep 2014 23:40:24 +0000 (01:40 +0200)]
apetag: Fix APE tag size check

The size variable is (correctly) unsigned, but is passed to several functions
which take signed parameters, such as avio_read, sometimes after having
numbers added to it. So ensure that size remains within the bounds that
these functions can handle.

CC: libav-stable@libav.org
Signed-off-by: Diego Biurrun <diego@biurrun.de>
5 years agofate: Add tests for RealAudio 1.0 (14.4) and RealAudio 2.0 (with 28.8)
Katerina Barone-Adesi [Mon, 21 Jul 2014 21:28:42 +0000 (23:28 +0200)]
fate: Add tests for RealAudio 1.0 (14.4) and RealAudio 2.0 (with 28.8)

Signed-off-by: Diego Biurrun <diego@biurrun.de>
5 years agoavcodec/x86/me_cmp: fix sad8xh
Michael Niedermayer [Wed, 17 Sep 2014 11:37:34 +0000 (13:37 +0200)]
avcodec/x86/me_cmp: fix sad8xh

This adds back support for 8x4 and 8x16
it does not support 8x2, i think nothing uses that

Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agox86/me_cmp: port mmxext and sse2 sad functions to yasm
James Almer [Wed, 17 Sep 2014 00:41:47 +0000 (21:41 -0300)]
x86/me_cmp: port mmxext and sse2 sad functions to yasm

Also add a missing c->pix_abs[0][0] initialization, and sse2 versions of
sad16_x2, sad16_y2 and sad16_xy2 (%15 to %20 faster than mmxext).
Since the _xy2 versions are not bitexact, they are accordingly marked as
approximate.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agodoc/filters: remove aconvert
Paul B Mahol [Wed, 17 Sep 2014 07:55:56 +0000 (07:55 +0000)]
doc/filters: remove aconvert

Signed-off-by: Paul B Mahol <onemda@gmail.com>
5 years agoavfilter: remove obsolete FF_API_ACONVERT_FILTER cruft
James Almer [Mon, 15 Sep 2014 01:46:18 +0000 (22:46 -0300)]
avfilter: remove obsolete FF_API_ACONVERT_FILTER cruft

Signed-off-by: James Almer <jamrial@gmail.com>
5 years agoffplay: try to fix build failure on apple
Michael Niedermayer [Wed, 17 Sep 2014 02:43:51 +0000 (04:43 +0200)]
ffplay: try to fix build failure on apple

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Wed, 17 Sep 2014 01:23:16 +0000 (03:23 +0200)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: use frame queue to determine last used pos
  ffplay: factorize frame queue operations

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavformat/avienc: Dont search for startcodes in inserted empty avi frames
Michael Niedermayer [Tue, 16 Sep 2014 22:38:08 +0000 (00:38 +0200)]
avformat/avienc: Dont search for startcodes in inserted empty avi frames

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agodoc/filters: add geq gradient examples
Lou Logan [Tue, 16 Sep 2014 02:07:09 +0000 (18:07 -0800)]
doc/filters: add geq gradient examples

Radial gradient by Víctor Paesa. Linear gradient by Paul Gentemann.

Also-by: Víctor Paesa <victorpaesa@googlemail.com>
Also-by: Paul Gentemann <beriukay@gmail.com>
Signed-off-by: Lou Logan <lou@lrcd.com>
5 years agoRevert "avformat/rtpproto: fix strict aliasing violations with sockaddr"
Michael Niedermayer [Tue, 16 Sep 2014 21:11:47 +0000 (23:11 +0200)]
Revert "avformat/rtpproto: fix strict aliasing violations with sockaddr"

It appears this breaks build with MSVC
until someone who has MSVC setup has time to investigate and
workaround/fix this, its better to revert so that build is not broken
Thats even more so as the original commit only fixed a hypothetical issue

This reverts commit e587a428d75d58e2e5a592efd7bff44e1d9294ee.

5 years agoffplay: use frame queue to determine last used pos
Marton Balint [Sat, 24 May 2014 17:49:59 +0000 (19:49 +0200)]
ffplay: use frame queue to determine last used pos

Signed-off-by: Marton Balint <cus@passwd.hu>
5 years agoffplay: factorize frame queue operations
Marton Balint [Tue, 2 Jul 2013 23:42:55 +0000 (01:42 +0200)]
ffplay: factorize frame queue operations

Create a generic frame and a frame queue struct to handle video picture queues
and subtitle picture queues with common code. Also add the possibility to queue
AVFrames, however at the moment we only use SDL_Overlay buffers for video and
AVSubtitles for subtitles.

Signed-off-by: Marton Balint <cus@passwd.hu>
5 years agoavfilter/ass: add shaping option
Clément Bœsch [Thu, 11 Sep 2014 19:10:43 +0000 (21:10 +0200)]
avfilter/ass: add shaping option

The documentation is mostly based on ass.h public header.

5 years agoavfilter/ass: better log level mapping
Clément Bœsch [Thu, 11 Sep 2014 19:10:03 +0000 (21:10 +0200)]
avfilter/ass: better log level mapping

5 years agoavfilter/ass: make sure the log level are in available range
Clément Bœsch [Thu, 11 Sep 2014 19:09:39 +0000 (21:09 +0200)]
avfilter/ass: make sure the log level are in available range

5 years agoMerge commit '45ff7c93dd84a254cc96acc589e5ac3d7bd16bce'
Michael Niedermayer [Tue, 16 Sep 2014 18:31:02 +0000 (20:31 +0200)]
Merge commit '45ff7c93dd84a254cc96acc589e5ac3d7bd16bce'

* commit '45ff7c93dd84a254cc96acc589e5ac3d7bd16bce':
  dca: K&R formatting cosmetics

Conflicts:
libavcodec/dca_parser.c
libavcodec/dcadec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMerge commit '9030c58a780a02fb8256cb75cd39275eaad786d1'
Michael Niedermayer [Tue, 16 Sep 2014 18:05:50 +0000 (20:05 +0200)]
Merge commit '9030c58a780a02fb8256cb75cd39275eaad786d1'

* commit '9030c58a780a02fb8256cb75cd39275eaad786d1':
  configure: Disable i686 for i586 and lower CPUs

See: cdb3eee7c496f763d195de34be7f67783b98fb2c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agocmdutils: Print a more sensible message in show_filters() w/o libavfilter
Diego Biurrun [Tue, 2 Sep 2014 21:25:33 +0000 (23:25 +0200)]
cmdutils: Print a more sensible message in show_filters() w/o libavfilter

Also avoid an unused variable warning for compilers w/o av_unused support.

5 years agoMerge remote-tracking branch 'cehoyos/master'
Michael Niedermayer [Tue, 16 Sep 2014 16:28:32 +0000 (18:28 +0200)]
Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  Add a closing LF to Webm-manifest files.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agotools/crypto_bench: fix build when AV_READ_TIME is unavailable
Michael Niedermayer [Tue, 16 Sep 2014 16:04:51 +0000 (18:04 +0200)]
tools/crypto_bench: fix build when AV_READ_TIME is unavailable

Found-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoAdd a closing LF to Webm-manifest files.
Carl Eugen Hoyos [Tue, 16 Sep 2014 15:24:56 +0000 (17:24 +0200)]
Add a closing LF to Webm-manifest files.

Fixes fate-webm-dash-manifest on AIX.

Reviewed-by: Nicolas George
5 years agosws: use av_clip() instead of av_clip_c()
Clément Bœsch [Tue, 16 Sep 2014 08:08:09 +0000 (10:08 +0200)]
sws: use av_clip() instead of av_clip_c()

5 years agoavformat/flacenc: use av_clip() instead of av_clip_c()
Clément Bœsch [Tue, 16 Sep 2014 08:07:56 +0000 (10:07 +0200)]
avformat/flacenc: use av_clip() instead of av_clip_c()

5 years agolavf/hls: add hls_ts_option
Steven Liu [Fri, 12 Sep 2014 10:04:52 +0000 (18:04 +0800)]
lavf/hls: add hls_ts_option

Same as COMMITID 4f5493fe2380ad4aba67759baa7d7d4437f2e776.

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
5 years agodoc/examples/transcoding: use av_packet_rescale_ts()
Stefano Sabatini [Wed, 10 Sep 2014 10:16:09 +0000 (12:16 +0200)]
doc/examples/transcoding: use av_packet_rescale_ts()

Simplify.

5 years agodca: K&R formatting cosmetics
Gabriel Dume [Mon, 8 Sep 2014 17:40:26 +0000 (13:40 -0400)]
dca: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
5 years agoconfigure: Disable i686 for i586 and lower CPUs
Mikulas Patocka [Mon, 15 Sep 2014 12:11:21 +0000 (05:11 -0700)]
configure: Disable i686 for i586 and lower CPUs

5 years agoMerge commit '2d589273dd36c5eb271a035ea0e669b64dae257f'
Michael Niedermayer [Tue, 16 Sep 2014 09:57:58 +0000 (11:57 +0200)]
Merge commit '2d589273dd36c5eb271a035ea0e669b64dae257f'

* commit '2d589273dd36c5eb271a035ea0e669b64dae257f':
  configure: Split adding of CFLAGS and CPPFLAGS for hardened toolchain

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoconfigure: Split adding of CFLAGS and CPPFLAGS for hardened toolchain
Diego Biurrun [Wed, 30 Jul 2014 12:09:47 +0000 (05:09 -0700)]
configure: Split adding of CFLAGS and CPPFLAGS for hardened toolchain

5 years agoavcodec/h264_sei: ff_h264_decode_sei: dont try to parse trailing zeroes
Michael Niedermayer [Tue, 16 Sep 2014 01:57:00 +0000 (03:57 +0200)]
avcodec/h264_sei: ff_h264_decode_sei: dont try to parse trailing zeroes

reduces noise for tserrors.ts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavformat/mpegtsenc: More verbose warning messages in case of missing video ES startcodes
Michael Niedermayer [Tue, 16 Sep 2014 01:56:03 +0000 (03:56 +0200)]
avformat/mpegtsenc: More verbose warning messages in case of missing video ES startcodes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavformat/network: move sockaddr_union after sockaddr_storage compatibility code
Michael Niedermayer [Mon, 15 Sep 2014 23:00:49 +0000 (01:00 +0200)]
avformat/network: move sockaddr_union after sockaddr_storage compatibility code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agobuild: simplify libwebp check
Clément Bœsch [Mon, 1 Sep 2014 07:41:44 +0000 (09:41 +0200)]
build: simplify libwebp check

Tested (compilation and runtime) with libwebp 0.2.0, 0.2.1 and 0.4.1.

5 years agoMerge commit '00431bf874e1044b01e09a2266ef85d4ff8d44cc'
Michael Niedermayer [Mon, 15 Sep 2014 20:31:43 +0000 (22:31 +0200)]
Merge commit '00431bf874e1044b01e09a2266ef85d4ff8d44cc'

* commit '00431bf874e1044b01e09a2266ef85d4ff8d44cc':
  ismindex: handle time discontinuities and nonzero start time

Merged-by: Michael Niedermayer <michaelni@gmx.at>
5 years agohlsenc: single_file, support HLS ver 4 byteranges
Mika Raento [Mon, 15 Sep 2014 13:26:57 +0000 (16:26 +0300)]
hlsenc: single_file, support HLS ver 4 byteranges

This adds a new option -hls_flags single_file that creates one .ts file
for HLS and adds byteranges to the .m3u8 file, instead of creating one
.ts file for each segment.

This is helpful at least for storing large number of videos, as the
number of files per video is drastically reduced and copying and storing
those files takes less requests and inodes.

This is based on work by Nicolas Martyanoff, discussed on ffmpeg-devel
in July 2014. That patch seems abandoned by the author, and contained
unrelated changes. This patch tries to add the minimum amount of code to
support the byterange playlists.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavfilter: remove obsolete FF_API_BUFFERSRC_BUFFER cruft
James Almer [Mon, 15 Sep 2014 00:31:34 +0000 (21:31 -0300)]
avfilter: remove obsolete FF_API_BUFFERSRC_BUFFER cruft

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
5 years agoavutil: remove obsolete FF_API_OLD_OPENCL cruft
James Almer [Mon, 15 Sep 2014 00:19:29 +0000 (21:19 -0300)]
avutil: remove obsolete FF_API_OLD_OPENCL cruft

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
5 years agoavutil: remove obsolete FF_API_LLS1 cruft
James Almer [Mon, 15 Sep 2014 00:17:43 +0000 (21:17 -0300)]
avutil: remove obsolete FF_API_LLS1 cruft

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
5 years agoismindex: handle time discontinuities and nonzero start time
Mika Raento [Sun, 14 Sep 2014 16:00:56 +0000 (19:00 +0300)]
ismindex: handle time discontinuities and nonzero start time

The input file may not have consistent start times, stream durations and
chunk durations. This patch at least removes negative durations that
make chromecast unhappy, and correctly sets starting time on chunks so
that the split (or .ismf) outputs match the manifest.

Signed-off-by: Martin Storsjö <martin@martin.st>
5 years agoRELEASE: update to 2.4.git
James Almer [Mon, 15 Sep 2014 04:46:05 +0000 (01:46 -0300)]
RELEASE: update to 2.4.git

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
5 years agoavformat/rtpproto: fix strict aliasing violations with sockaddr
Michael Niedermayer [Thu, 11 Sep 2014 23:52:39 +0000 (01:52 +0200)]
avformat/rtpproto: fix strict aliasing violations with sockaddr

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavformat/network: add union for avoiding strict aliassing violations with sockaddr*
Michael Niedermayer [Thu, 11 Sep 2014 23:52:38 +0000 (01:52 +0200)]
avformat/network: add union for avoiding strict aliassing violations with sockaddr*

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec: remove obsolete FF_API_DSPUTIL cruft
James Almer [Sun, 14 Sep 2014 23:41:44 +0000 (20:41 -0300)]
avcodec: remove obsolete FF_API_DSPUTIL cruft

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
5 years agoavcodec/tiff: fix odd dimensioned yuv
Michael Niedermayer [Sun, 14 Sep 2014 23:33:09 +0000 (01:33 +0200)]
avcodec/tiff: fix odd dimensioned yuv

Fixes Ticket3893

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/libvpxdec: Adds decode support for formats other than 420
Deb Mukherjee [Sun, 14 Sep 2014 14:43:27 +0000 (07:43 -0700)]
avcodec/libvpxdec: Adds decode support for formats other than 420

Handles decoding of new VP9 profiles 1-3 with different color sampling
and bit-depths.

For high bitdepth (profiles 2 and 3) support, we currently need to link
with the highbitdepth branch of libvpx with --enable-experimental
and --enable-vp9-high config options on. But eventually this branch will
be merged into master, whereafter to enable high bitdepth
support you will need to link with libvpx with configure option
--enable-vp9-highbitdepth on.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/microdvddec: indent fix
Clément Bœsch [Sun, 14 Sep 2014 18:00:11 +0000 (20:00 +0200)]
avcodec/microdvddec: indent fix

5 years agoavcodec/utils: remove avcodec_ prefix for internal symbol
Clément Bœsch [Sun, 14 Sep 2014 17:00:26 +0000 (19:00 +0200)]
avcodec/utils: remove avcodec_ prefix for internal symbol

5 years agoavcodec/mjpegenc: the AMV encoder doesnt support yuv422
Michael Niedermayer [Sun, 14 Sep 2014 15:09:38 +0000 (17:09 +0200)]
avcodec/mjpegenc: the AMV encoder doesnt support yuv422

Fixes Ticket3883

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoChangelog: add 2.4
Michael Niedermayer [Sun, 14 Sep 2014 14:47:26 +0000 (16:47 +0200)]
Changelog: add 2.4

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agodoc/examples: remove unneeded NULL checks
Michael Niedermayer [Fri, 15 Aug 2014 22:27:14 +0000 (00:27 +0200)]
doc/examples: remove unneeded NULL checks

dst_file cannot be NULL

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoMAINTAINERS: Add 2.4 to maintained releases, drop 2.3 n2.5-dev
Michael Niedermayer [Sun, 14 Sep 2014 10:54:01 +0000 (12:54 +0200)]
MAINTAINERS: Add 2.4 to maintained releases, drop 2.3

2.2 is used by 4 distributions, 2.3 by none, thus continuing maintaining
2.2 makes more sense than 2.3 see:
https://trac.ffmpeg.org/wiki/Downstreams

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoChangelog/RELEASE_NOTES: prepare for 2.4
Clément Bœsch [Sun, 14 Sep 2014 06:32:46 +0000 (08:32 +0200)]
Changelog/RELEASE_NOTES: prepare for 2.4

5 years agodoc/APIchanges: Update hashes and dates
Michael Niedermayer [Sun, 14 Sep 2014 10:45:36 +0000 (12:45 +0200)]
doc/APIchanges: Update hashes and dates

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agodoc/APIchanges: attempt to split releases
Clément Bœsch [Sun, 14 Sep 2014 06:56:02 +0000 (08:56 +0200)]
doc/APIchanges: attempt to split releases

Based on several git show origin/release/X.Y:doc/APIchanges.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agodoc: mention important API changes in the RELEASE_NOTES
Andreas Cadhalpun [Sun, 14 Sep 2014 00:08:08 +0000 (02:08 +0200)]
doc: mention important API changes in the RELEASE_NOTES

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoffserver: drop custom skip_spaces() impl
Reynaldo H. Verdejo Pinochet [Sat, 13 Sep 2014 23:52:03 +0000 (20:52 -0300)]
ffserver: drop custom skip_spaces() impl

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
5 years agoffserver: use correct error for stream not found
Reynaldo H. Verdejo Pinochet [Sat, 13 Sep 2014 22:05:04 +0000 (19:05 -0300)]
ffserver: use correct error for stream not found

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
5 years agodoc: mention in APIChanges that AVProbeData must be initialized due to the new mime_t...
Andreas Cadhalpun [Sat, 13 Sep 2014 22:52:42 +0000 (00:52 +0200)]
doc: mention in APIChanges that AVProbeData must be initialized due to the new mime_type field

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoRELEASE_NOTES: add version numbers
Michael Niedermayer [Sat, 13 Sep 2014 22:14:58 +0000 (00:14 +0200)]
RELEASE_NOTES: add version numbers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoRELEASE_NOTES: Add next versions name (Fresnel)
Michael Niedermayer [Sat, 13 Sep 2014 21:43:20 +0000 (23:43 +0200)]
RELEASE_NOTES: Add next versions name (Fresnel)

The name is "randomly" picked from previous suggestions
If people prefer something else, suggest it quickly

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavformat/utils: free s->pb for image2 as it can be used with and without a file
Michael Niedermayer [Sat, 13 Sep 2014 20:56:05 +0000 (22:56 +0200)]
avformat/utils: free s->pb for image2 as it can be used with and without a file

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavformat/assenc: honor ReadOrder
Clément Bœsch [Sat, 13 Sep 2014 19:06:16 +0000 (21:06 +0200)]
avformat/assenc: honor ReadOrder

5 years agoavdevice/lavfi: dont assign variables to themselfs
Michael Niedermayer [Tue, 9 Sep 2014 19:12:08 +0000 (21:12 +0200)]
avdevice/lavfi: dont assign variables to themselfs

Fixes "warning: explicitly assigning a variable of type int to itself"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoFix "passing argument 1 of av_free discards const qualifier from pointer target type"
Michael Niedermayer [Tue, 9 Sep 2014 19:07:58 +0000 (21:07 +0200)]
Fix "passing argument 1 of av_free discards const qualifier from pointer target type"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavformat/mpegts: Improve probe heuristic by considering the overall frequency of...
Michael Niedermayer [Sat, 13 Sep 2014 20:08:21 +0000 (22:08 +0200)]
avformat/mpegts: Improve probe heuristic by considering the overall frequency of 0x47 headers

Fixes Ticket3939

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/mjpegdec: Fix chroma width rounding
Clément Bœsch [Sat, 13 Sep 2014 18:25:27 +0000 (20:25 +0200)]
avcodec/mjpegdec: Fix chroma width rounding

Fixes vertical line at the right side
Fixes Ticket 3929

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/bmp_parser: delay frame end detection to the next header or EOF
Michael Niedermayer [Sat, 13 Sep 2014 15:46:18 +0000 (17:46 +0200)]
avcodec/bmp_parser: delay frame end detection to the next header or EOF

Fixes Ticket3687

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/bmp_parser: simplify
Michael Niedermayer [Sat, 13 Sep 2014 15:21:31 +0000 (17:21 +0200)]
avcodec/bmp_parser: simplify

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavcodec/bmp_parser: fix parsing a single bmp which has a fsize < its header
Michael Niedermayer [Sat, 13 Sep 2014 14:43:27 +0000 (16:43 +0200)]
avcodec/bmp_parser: fix parsing a single bmp which has a fsize < its header

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavformat/vobsub: fix NULL dereference
Clément Bœsch [Sat, 13 Sep 2014 13:15:32 +0000 (15:15 +0200)]
avformat/vobsub: fix NULL dereference

5 years agoavcodec/ac3en: use FF_ALLOC(Z)_ARRAY()
Michael Niedermayer [Sat, 13 Sep 2014 11:28:38 +0000 (13:28 +0200)]
avcodec/ac3en: use FF_ALLOC(Z)_ARRAY()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agolavf/format.c: use AVPROBE_SCORE_MIME instead of AVPROBE_SCORE_EXTENSION for matching...
Andreas Cadhalpun [Fri, 12 Sep 2014 16:20:08 +0000 (18:20 +0200)]
lavf/format.c: use AVPROBE_SCORE_MIME instead of AVPROBE_SCORE_EXTENSION for matching mime types

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agodoc: document the addition of the AVProbeData.mime_type field and it's implications
Andreas Cadhalpun [Fri, 12 Sep 2014 16:18:42 +0000 (18:18 +0200)]
doc: document the addition of the AVProbeData.mime_type field and it's implications

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoconfigure: Fix miscompilation for i586
Mikulas Patocka [Fri, 12 Sep 2014 20:29:29 +0000 (22:29 +0200)]
configure: Fix miscompilation for i586

If the CPU is 386, 486 or pentium, we must not use cmov in inline
assembler.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavformat/img2dec: Fail probing when no data is yet available and the filename contain...
Michael Niedermayer [Thu, 11 Sep 2014 14:48:03 +0000 (16:48 +0200)]
avformat/img2dec: Fail probing when no data is yet available and the filename contains no number/glob patterns either.

Fixes Ticket3901

the seek test error codes change due to a change in the failure path,
this could be avoided by changing the respective error codes to EINVAL

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavformat/format: Run image2 probe again when file content data is available
Michael Niedermayer [Thu, 11 Sep 2014 14:48:02 +0000 (16:48 +0200)]
avformat/format: Run image2 probe again when file content data is available

Reviewed-by: Benoit Fouet <benoit.fouet@free.fr>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
5 years agoavformat/img2dec: reduce bmppipe probe score
Michael Niedermayer [Thu, 11 Sep 2014 14:48:01 +0000 (16:48 +0200)]
avformat/img2dec: reduce bmppipe probe score

bmp pipe needs the bmp parser which is not bug free and should thus not be favored
over the bmp image2 demuxer
that also means this change could be reverted in case bmp pipe is improved so it
handles all single bmp images correctly

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