Michael Niedermayer [Tue, 29 Oct 2013 18:48:08 +0000 (19:48 +0100)]
Merge commit '
e78913052263af80855590659fb0f705e8f13c8a'
* commit '
e78913052263af80855590659fb0f705e8f13c8a':
configure: Provide an hardened toolchain option
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 29 Oct 2013 18:43:06 +0000 (19:43 +0100)]
Merge commit '
dcd3eda6cb8884beeb67ef5eb61b4bb6b01d29ea'
* commit '
dcd3eda6cb8884beeb67ef5eb61b4bb6b01d29ea':
configure: Move gcc-only -W option where it belongs
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Clément Bœsch [Tue, 29 Oct 2013 18:42:00 +0000 (19:42 +0100)]
avformat/avisynth: re-add trailing \n.
Regression since
ac9529ce.
Spotted by Timothy Gu.
Stefano Sabatini [Tue, 29 Oct 2013 17:36:21 +0000 (18:36 +0100)]
lavc/mpegvideo_enc: fix typo
Stefano Sabatini [Tue, 29 Oct 2013 10:33:51 +0000 (11:33 +0100)]
lavc: extend documentation for the "bf" option
Stefano Sabatini [Tue, 29 Oct 2013 14:57:13 +0000 (15:57 +0100)]
doc/muxers: add definitory line for the MOV/MP4/ISMV muxer
Also rename section name, to match the other ones adopting the muxer name
(rather than the related upcased standard name).
Michael Niedermayer [Tue, 29 Oct 2013 15:12:01 +0000 (16:12 +0100)]
avcodec/mpegvideo_enc: check that max_b_frames is not negative
Fixes crash found by saste
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 29 Oct 2013 09:30:08 +0000 (13:30 +0400)]
matroskaenc: fixed display width / height calculation for stereo mode
Based-on: patch by Asan Usipov <asan.usipov@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Derek Buitenhuis [Tue, 22 Oct 2013 19:46:09 +0000 (20:46 +0100)]
h264: Check all allocations
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Tue, 29 Oct 2013 11:38:35 +0000 (11:38 +0000)]
timefilter: Fix typo in allocation failure message
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Michael Niedermayer [Tue, 29 Oct 2013 10:50:56 +0000 (11:50 +0100)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
lavfi: do not export the filters from shared objects
Conflicts:
libavfilter/af_amix.c
libavfilter/af_anull.c
libavfilter/asrc_anullsrc.c
libavfilter/f_select.c
libavfilter/f_settb.c
libavfilter/split.c
libavfilter/src_movie.c
libavfilter/vf_aspect.c
libavfilter/vf_blackframe.c
libavfilter/vf_colorbalance.c
libavfilter/vf_copy.c
libavfilter/vf_crop.c
libavfilter/vf_cropdetect.c
libavfilter/vf_drawbox.c
libavfilter/vf_format.c
libavfilter/vf_framestep.c
libavfilter/vf_frei0r.c
libavfilter/vf_hflip.c
libavfilter/vf_libopencv.c
libavfilter/vf_lut.c
libavfilter/vf_null.c
libavfilter/vf_overlay.c
libavfilter/vf_scale.c
libavfilter/vf_transpose.c
libavfilter/vf_unsharp.c
libavfilter/vf_vflip.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Luca Barbato [Mon, 28 Oct 2013 12:22:52 +0000 (13:22 +0100)]
configure: Provide an hardened toolchain option
Luca Barbato [Mon, 28 Oct 2013 11:45:04 +0000 (12:45 +0100)]
configure: Move gcc-only -W option where it belongs
Michael Niedermayer [Tue, 29 Oct 2013 10:06:24 +0000 (11:06 +0100)]
Merge commit '
feeafb4adabd5c17de1738ed9962e40892b20edb'
* commit '
feeafb4adabd5c17de1738ed9962e40892b20edb':
lavf: do not export av_register_{rtp,rdt}_dynamic_payload_handlers from shared objects
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 29 Oct 2013 09:47:32 +0000 (10:47 +0100)]
avcodec/audioconvert: deprecate API
Note, the header was not installed so useage of this should be limited
but its not 0, there are some random pieces of code using it according
to google.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Paul B Mahol [Tue, 29 Oct 2013 09:32:19 +0000 (09:32 +0000)]
avcodec/cook: use av_freep()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Tue, 29 Oct 2013 09:21:23 +0000 (10:21 +0100)]
Merge commit '
c9a13a289d0e1607387854127476813a1ee3d34b'
* commit '
c9a13a289d0e1607387854127476813a1ee3d34b':
lavc: remove old unused audio conversion functions.
Conflicts:
libavcodec/audioconvert.c
libavcodec/audioconvert.h
Merge only for metadata.
keeping the old API longer reduces the need for applications to be continuously
updated.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 22:45:26 +0000 (23:45 +0100)]
avformat/gxf: fix old codec id
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 22:45:26 +0000 (23:45 +0100)]
avcodec: fix old codec ids
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 21:55:53 +0000 (22:55 +0100)]
avcodec/dvdec: dont try to decode ac when theres no input
fixes reading out of an empty bitstream
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:53 +0000 (16:52 -0400)]
avisynth: Factor out a couple of returns
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:52 +0000 (16:52 -0400)]
avisynth: Simplify a stray av_log message
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:51 +0000 (16:52 -0400)]
avisynth: Switch a couple of AVERROR_UNKNOWNs to AVERROR(ENOMEM)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:50 +0000 (16:52 -0400)]
avisynth: Use AV_* prefixes for video and audio IDs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:49 +0000 (16:52 -0400)]
avisynth: Remove outdated undef block
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:48 +0000 (16:52 -0400)]
avisynth: Remove a couple of useless AviSynthContext casts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:47 +0000 (16:52 -0400)]
avisynth: Don't declare structs anonymously
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:46 +0000 (16:52 -0400)]
avisynth: Compact AvxSynth's avoidance of 2.6's colorspaces.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:45 +0000 (16:52 -0400)]
avisynth: Cosmetics
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:44 +0000 (16:52 -0400)]
avisynth: Change most of the comments to /* */ from //
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stephen Hutchinson [Mon, 28 Oct 2013 20:52:43 +0000 (16:52 -0400)]
avisynth: Introduce USING_AVISYNTH macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Peter Ross [Tue, 5 Feb 2013 11:01:11 +0000 (22:01 +1100)]
mpegts: demux synchronous SMPTE 336M Key-Length-Value (KLV) metadata
Fixes ticket #2579.
Michael Niedermayer [Mon, 28 Oct 2013 16:39:07 +0000 (17:39 +0100)]
avutil/opt: check flags validity in write_number()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 16:05:59 +0000 (17:05 +0100)]
avcodec/h263dec: fix handling of AV_EF_EXPLODE
This fixes checking a variable that had been overwritten before.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Anton Khirnov [Mon, 28 Oct 2013 06:44:24 +0000 (07:44 +0100)]
lavfi: do not export the filters from shared objects
Anton Khirnov [Mon, 28 Oct 2013 06:31:13 +0000 (07:31 +0100)]
lavf: do not export av_register_{rtp,rdt}_dynamic_payload_handlers from shared objects
Anton Khirnov [Mon, 28 Oct 2013 06:27:35 +0000 (07:27 +0100)]
lavc: remove old unused audio conversion functions.
Michael Niedermayer [Mon, 28 Oct 2013 13:30:31 +0000 (14:30 +0100)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
ac3dec: fix outptr increment.
Conflicts:
libavcodec/ac3dec.c
No change as this has been fixed in ffmpeg head already
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 12:55:06 +0000 (13:55 +0100)]
Merge commit '
a1c5cc429d99216406170eac7e8352860076d3e8'
* commit '
a1c5cc429d99216406170eac7e8352860076d3e8':
lavc: don't set AVFrame.pts to random numbers in decoders.
Conflicts:
libavcodec/mpeg4videodec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 12:27:57 +0000 (13:27 +0100)]
Merge commit '
2ba68dd044ca8fc591139c05563840f546a9c0c0'
* commit '
2ba68dd044ca8fc591139c05563840f546a9c0c0':
lavf: remove unreliable timestamp guessing heuristic
Conflicts:
libavformat/utils.c
Not merged, as the change breaks ABI by removing a field from the middle
of AVStream.
Also, if you have files that decode better or worse without this code please
open a ticket on trac. If the timestamp code turns out useless it of course
should be removed.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 25 Oct 2013 22:46:53 +0000 (18:46 -0400)]
ac3dec: fix outptr increment.
Fixes corrupt data errors when downmixing in the AC-3 decoder.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
CC:libav-stable@libav.org
Michael Niedermayer [Mon, 28 Oct 2013 12:21:07 +0000 (13:21 +0100)]
Merge commit '
f2521563d1a0c3e2a21892f59f3327b82b3db7fc'
* commit '
f2521563d1a0c3e2a21892f59f3327b82b3db7fc':
g722dec: Change bits_per_codeword to the right option type
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 12:13:23 +0000 (13:13 +0100)]
Michael Niedermayer [Mon, 28 Oct 2013 12:07:05 +0000 (13:07 +0100)]
Merge commit '
5c439b41d0489412c0a4cf6dfb98915251677b8e'
* commit '
5c439b41d0489412c0a4cf6dfb98915251677b8e':
avfilter: have avfilter_get_by_name return const for next bump
Conflicts:
libavfilter/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 11:47:10 +0000 (12:47 +0100)]
Merge commit '
97de206b44a48da726807cc3e7b9448a8112760b'
* commit '
97de206b44a48da726807cc3e7b9448a8112760b':
lavc: disable CRC checking by default
Conflicts:
libavcodec/options_table.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 11:34:35 +0000 (12:34 +0100)]
Merge commit '
23a211cbba0b7c9ee694040031b2e5da1be54a00'
* commit '
23a211cbba0b7c9ee694040031b2e5da1be54a00':
lavc: change all decoders to behave consistently with AV_EF_CRCCHECK.
Conflicts:
libavcodec/avcodec.h
libavcodec/tta.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 11:26:31 +0000 (12:26 +0100)]
Merge commit '
f354f30836a3148275ce60d19bbc581310249ad2'
* commit '
f354f30836a3148275ce60d19bbc581310249ad2':
error resilience: check error_concealment, not err_recognition.
Conflicts:
libavcodec/error_resilience.c
See:
346e09638cc159a3c3e4cf971a5b795644faac16
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 11:17:57 +0000 (12:17 +0100)]
Merge commit '
53151723e377b9c43f876e20d7f27a17993256c8'
* commit '
53151723e377b9c43f876e20d7f27a17993256c8':
avio: K&R formatting cosmetics
Conflicts:
libavformat/avio.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 11:07:23 +0000 (12:07 +0100)]
Merge commit '
aaaf2dc023d31f30eeec874f24b50f44b9295185'
* commit '
aaaf2dc023d31f30eeec874f24b50f44b9295185':
h263: Check init_get_bits return value
Conflicts:
libavcodec/h263dec.c
See:
d47e14b53a3908e5bad82e22129bbd175b49e89b
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 10:54:46 +0000 (11:54 +0100)]
Merge commit '
0749314886390f6ec81d45e0ba424fcb36c945cf'
* commit '
0749314886390f6ec81d45e0ba424fcb36c945cf':
h263: Return meaningful errors
Conflicts:
libavcodec/h263dec.c
See:
7b62d3415e8e44618cb97775567d453295c4f4d9
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 10:32:16 +0000 (11:32 +0100)]
Merge commit '
de6061203e2d509579ab110fb1873aade34320f5'
* commit '
de6061203e2d509579ab110fb1873aade34320f5':
configure: Disable -Wmaybe-uninitialized by default
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 10:26:48 +0000 (11:26 +0100)]
Merge commit '
0b357a8095e72b092cc5c2aacc2f806db75ecae3'
* commit '
0b357a8095e72b092cc5c2aacc2f806db75ecae3':
AVOptions: do not range check flag options.
Conflicts:
libavutil/opt.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 10:01:11 +0000 (11:01 +0100)]
Merge commit '
94603feb1b3ad01a821a1a1cef1570b13f471821'
* commit '
94603feb1b3ad01a821a1a1cef1570b13f471821':
h264_ps: when parsing a VUI fails, only abort when explode is set
Merge only for metadata, ignoring invalid data can put the context
into an invalid state and can possibly be used for remote code
execution exploits.
Also we support all non standard VUIs that have been reported so
ignoring parsing failure makes no sense for us unless theres
some issue that has not been reported
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 09:53:33 +0000 (10:53 +0100)]
Merge commit '
79ef4b19bfcab8b984682a53bb8561e5c8324731'
* commit '
79ef4b19bfcab8b984682a53bb8561e5c8324731':
FATE: add bitexact sws flags to the fieldorder test
See:
3a75c4e93b3b6f1aeb9343b933ff15776b5b4b41
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 09:46:36 +0000 (10:46 +0100)]
Merge commit '
ddc589ce98c2bba1e59318b5b0224717325eac46'
* commit '
ddc589ce98c2bba1e59318b5b0224717325eac46':
avconv: drop a now useless variable
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Mickaël Raulet [Mon, 28 Oct 2013 08:46:05 +0000 (09:46 +0100)]
hevc: add profile idc warning
(cherry picked from commit
15f7a481fd19529b13631bfff5b3d65bfe5729d5)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Anton Khirnov [Sun, 27 Oct 2013 23:40:34 +0000 (00:40 +0100)]
hevc: refactor pic_arrays and set_sps
(cherry picked from commit
a6686c6d83b50c0962269f2c487f4f0c57e0df79)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Anton Khirnov [Sun, 27 Oct 2013 23:27:35 +0000 (00:27 +0100)]
hevc: add irap checks
(cherry picked from commit
3d3bbe35541a308937d0fe72b20a1c29d1c4100d)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 09:28:29 +0000 (10:28 +0100)]
Merge commit '
529a9893d769f381b72785c500662be2020da5fe'
* commit '
529a9893d769f381b72785c500662be2020da5fe':
avframe: mark source frame const in _ref and _clone
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 09:09:47 +0000 (10:09 +0100)]
Merge commit '
fc06ee6ee377cc3b512dff8f02057e26311bc4da'
* commit '
fc06ee6ee377cc3b512dff8f02057e26311bc4da':
mmvideo: fix uninitialized variable use in mm_decode_intra
Conflicts:
libavcodec/mmvideo.c
See:
c2e3b564b32d596f5a66d47409f9e07a067a3084
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 28 Oct 2013 08:59:49 +0000 (09:59 +0100)]
Merge commit '
211ca69b13eb0a127a9ef7e70ddaccdab125d1c5'
* commit '
211ca69b13eb0a127a9ef7e70ddaccdab125d1c5':
lavr: check that current_buffer is not NULL before using it
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Stefano Sabatini [Mon, 28 Oct 2013 08:39:38 +0000 (09:39 +0100)]
cmdutils: fix expected signature for show_colors() function
Fix warning:
In file included from ffprobe.c:2557:0:
cmdutils_common_opts.h:17:5: warning: initialization from incompatible pointer type [enabled by default]
cmdutils_common_opts.h:17:5: warning: (near initialization for ‘real_options[16].u.func_arg’) [enabled by default]
Spotted-by: Paul B Mahol
Anton Khirnov [Sun, 27 Oct 2013 14:33:37 +0000 (15:33 +0100)]
lavc: don't set AVFrame.pts to random numbers in decoders.
Anton Khirnov [Sun, 27 Oct 2013 20:04:20 +0000 (21:04 +0100)]
lavf: remove unreliable timestamp guessing heuristic
Martin Storsjö [Sun, 27 Oct 2013 19:57:06 +0000 (21:57 +0200)]
g722dec: Change bits_per_codeword to the right option type
This isn't a set of flags but just a plain integer in the range
6-8.
Signed-off-by: Martin Storsjö <martin@martin.st>
Vittorio Giovara [Mon, 28 Oct 2013 01:58:13 +0000 (02:58 +0100)]
avfilter: fix const use of avfilter_next
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Vittorio Giovara [Mon, 28 Oct 2013 01:58:12 +0000 (02:58 +0100)]
avfilter: have avfilter_get_by_name return const for next bump
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Mon, 21 Oct 2013 14:48:59 +0000 (16:48 +0200)]
lavc: disable CRC checking by default
Anton Khirnov [Sat, 26 Oct 2013 20:46:48 +0000 (22:46 +0200)]
lavc: change all decoders to behave consistently with AV_EF_CRCCHECK.
Just crccheck prints a warning, crccheck+explode returns an error.
Also document this behavior.
Anton Khirnov [Fri, 25 Oct 2013 05:19:27 +0000 (07:19 +0200)]
error resilience: check error_concealment, not err_recognition.
err_recognition is supposed to trigger detecting and reporting errors,
not trying to fix them.
Michael Niedermayer [Mon, 28 Oct 2013 00:13:46 +0000 (01:13 +0100)]
doc/RELEASE_NOTES: update for 2.1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 27 Oct 2013 23:52:11 +0000 (00:52 +0100)]
avdevice/pulse_audio_enc: remove double ;
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 27 Oct 2013 23:45:19 +0000 (00:45 +0100)]
doc/APIchanges: add 2 missing hashes & versions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 27 Oct 2013 23:40:15 +0000 (00:40 +0100)]
MAINTAINERS: update which releases i maintain
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 27 Oct 2013 23:39:34 +0000 (00:39 +0100)]
Changelog: add 2.1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Luca Barbato [Sun, 27 Oct 2013 13:45:01 +0000 (14:45 +0100)]
avio: K&R formatting cosmetics
Michael Niedermayer [Sat, 26 Oct 2013 17:02:34 +0000 (19:02 +0200)]
h263: Check init_get_bits return value
And use init_get_bits8 to check for integer overflows while at it.
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Luca Barbato [Sat, 26 Oct 2013 17:31:46 +0000 (19:31 +0200)]
h263: Return meaningful errors
Luca Barbato [Sat, 26 Oct 2013 19:27:48 +0000 (21:27 +0200)]
configure: Disable -Wmaybe-uninitialized by default
It is by definition unreliable and causes pointless noise on valid
code.
Mickaël Raulet [Sun, 27 Oct 2013 18:33:05 +0000 (19:33 +0100)]
hevc: add decode hrd
(cherry picked from commit
ab4061dff796b1dd2bc884101226aab48c2c875e)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Anton Khirnov [Sun, 27 Oct 2013 15:50:20 +0000 (16:50 +0100)]
hevc: better mt implementation
Signed-off-by: Mickaël Raulet <mraulet@insa-rennes.fr>
(cherry picked from commit
93afb8c519deca85b3c97804927de5b016dd32d1)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Mickaël Raulet [Sun, 27 Oct 2013 15:50:20 +0000 (16:50 +0100)]
hevc: clean up mvs(cherry picked from commit
955317c09b877a513d3fcfcd1615909b2f4f651c)
Decreases the difference to Anton Khirnovs patch v5
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Mickaël Raulet [Sun, 27 Oct 2013 14:26:58 +0000 (15:26 +0100)]
hevc: cosmetic change(cherry picked from commit
3b57513b3f39c04337801fb9d159c7ca8dfa9deb)
Decreases the difference to Anton Khirnovs patch v5
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Mickaël Raulet [Sun, 27 Oct 2013 12:29:50 +0000 (13:29 +0100)]
hevc: more cosmetic(cherry picked from commit
9697abe41daa234602915f85bf6b1c0ca0252cff)
Decreases the difference to Anton Khirnovs patch v5
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Mickaël Raulet [Sun, 27 Oct 2013 11:56:48 +0000 (12:56 +0100)]
hevc : cosmetic changes(cherry picked from commit
7308c0ccf13f18cebe4851e6dcd6b5c0b09be1dd)
Decreases the difference to Anton Khirnovs patch v5
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Marton Balint [Wed, 23 Oct 2013 18:55:24 +0000 (20:55 +0200)]
lavc: add support for CODEC_CAP_DELAY in subtitles
This patch adds CODEC_CAP_DELAY support to avcodec_decode_subtitle2.
For DVB teletext decoding, a single teletext packet can contain multiple
teletext pages. In order to support that, the teletext decoder may buffer
some pages.
Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Lukasz Marek [Sun, 27 Oct 2013 21:35:54 +0000 (22:35 +0100)]
lavd/fbdev_enc: remove unused variables
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 27 Oct 2013 21:22:23 +0000 (22:22 +0100)]
avcodec/hevc: calculate checksum only if AV_EF_EXPLODE is set
This avoids a slowdown with the default of enabled CRC checks
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 27 Oct 2013 21:21:09 +0000 (22:21 +0100)]
Revert "avcodec/options_table: disable CRC checking by default"
This reverts commit
c7027ce9eac04fb20bd85fa37dbf24856c080c45.
It appears there is no complete consensus on this currently.
Michael Niedermayer [Sun, 27 Oct 2013 21:20:39 +0000 (22:20 +0100)]
Revert "avcodec/options_table: set err_detect to careful by default"
This reverts commit
b1348eb68b432041b2557b9073590cf0fa60ff14.
Lukasz Marek [Sun, 27 Oct 2013 20:41:27 +0000 (21:41 +0100)]
lavd/fbdev_enc: more stream validation restrictive
So far fbdev_enc device picked up first video stream and ignored others.
It is required to provide exactly one video stream now.
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Lukasz Marek [Sun, 27 Oct 2013 20:27:39 +0000 (21:27 +0100)]
lavd/pulse_audio_enc: more stream validation restrictive
So far pulse device picked up first audio stream and ignored others.
It is required to provide exactly one audio stream now.
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Lukasz Marek [Sun, 27 Oct 2013 20:18:27 +0000 (21:18 +0100)]
lavd:pulse_audio_enc: fix array compared against 0
fixes CID
1113222
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Lukasz Marek [Thu, 24 Oct 2013 13:11:19 +0000 (15:11 +0200)]
lavd/pulse_audio_enc: fix timestamp calculation
Current implementation didn't include duration of
last processed packet.
Also remove access to st->cur_dts and replace with pkt->pts.
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Anton Khirnov [Sat, 26 Oct 2013 08:34:01 +0000 (10:34 +0200)]
AVOptions: do not range check flag options.
It does not make sense in the vast majority of use cases, no currently
defined AV_OPT_TYPE_FLAGS options in Libav set the range to anything
nontrivial, and many of those get it wrong (the "correct" range is
INT_MIN to INT_MAX so that the builtin constant "all" works).
Anton Khirnov [Sat, 26 Oct 2013 08:22:31 +0000 (10:22 +0200)]
h264_ps: when parsing a VUI fails, only abort when explode is set
A VUI doesn't contain anything strictly necessary for decoding.
Apparently there are many samples with truncated VUIs in the wild, this
commit should allow decoding them.
Paul B Mahol [Sat, 26 Oct 2013 16:21:29 +0000 (18:21 +0200)]
FATE: add bitexact sws flags to the fieldorder test
swscale is called for the 420 to 422 conversion
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Anton Khirnov [Sun, 27 Oct 2013 07:42:05 +0000 (08:42 +0100)]
avconv: drop a now useless variable
Vittorio Giovara [Sat, 26 Oct 2013 14:43:07 +0000 (16:43 +0200)]
avframe: mark source frame const in _ref and _clone
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Vittorio Giovara [Sat, 26 Oct 2013 23:54:47 +0000 (01:54 +0200)]
mmvideo: fix uninitialized variable use in mm_decode_intra
Signed-off-by: Anton Khirnov <anton@khirnov.net>