Michael Niedermayer
49fa398858
Changelog: add entry for proresenc
n2.2.7
2014-08-12 05:18:21 +02:00
Christophe Gisquet
1ad1723c24
proresenc_kostya: report buffer overflow
...
If the allocated size, despite best efforts, is too small, exit
with the appropriate error.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 52b81ff463 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-12 02:40:23 +02:00
Christophe Gisquet
7740b111dd
proresenc_kostya: remove unneeded parameters
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit bf10f09bcc )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-12 02:40:19 +02:00
Michael Niedermayer
c0ad5f9333
Update for 2.2.7
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-11 20:16:12 +02:00
Michael Niedermayer
bb7f236c7f
avcodec/snow: fix null pointer dereference in cleanup after allocation failure
...
Fixes: snowf.avi
Found-by: Piotr Bandurski <ami_stuff@o2.pl >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 9a162146ca )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-11 19:07:11 +02:00
Michael Niedermayer
0397d43405
avcodec/iff: check pixfmt for rgb8 / rgbn
...
Fixes out of array access
Found-by: Piotr Bandurski <ami_stuff@o2.pl >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 3539d6c63a )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-11 19:07:11 +02:00
Michael Niedermayer
ffc66ac0d6
avutil/cpu: add aarch64 entries to 2nd table
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit efc4fe9d74 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-11 19:07:11 +02:00
Michael Niedermayer
588e7226ed
ffmpeg_opt: Use av_guess_codec() instead of AVOutputFormat->*codec
...
Fixes part of ticket2236
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 956f4087c6 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-11 18:59:43 +02:00
Michael Niedermayer
0dc5868f14
Merge commit '67134ad31f1f3bc1515eae129e4368401f7c3342' into release/2.2
...
* commit '67134ad31f1f3bc1515eae129e4368401f7c3342':
h264: fix interpretation of interleaved stereo modes
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-11 18:51:29 +02:00
Michael Niedermayer
723512ac71
avcodec/svq1dec: Fix multiple bugs from "svq1: do not modify the input packet"
...
Add padding, clear size, use the correct pointer.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 4213fc5b9e )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-11 18:50:29 +02:00
Michael Niedermayer
963514ea1a
Merge commit 'd513c6a0ee582d22b6e793286774abbde01f6680' into release/2.2
...
* commit 'd513c6a0ee582d22b6e793286774abbde01f6680':
svq1: do not modify the input packet
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-11 18:50:11 +02:00
Michael Niedermayer
c11b3010c2
Merge commit '18f48e05a22a73a389fb3ab4b3eaf78903bab5ef' into release/2.2
...
* commit '18f48e05a22a73a389fb3ab4b3eaf78903bab5ef':
cdgraphics: do not return 0 from the decode function
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-11 18:49:37 +02:00
Michael Niedermayer
3301b248b0
Merge commit '5bf5a35fb5d452ea4b30cd7b853d92df6705d250' into release/2.2
...
* commit '5bf5a35fb5d452ea4b30cd7b853d92df6705d250':
cdgraphics: switch to bytestream2
Conflicts:
libavcodec/cdgraphics.c
See: ad002e1a13
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-11 18:41:07 +02:00
Michael Niedermayer
7b67ce9ade
Merge commit '6598aaea1ad2cf82d40abb191ac26a5e4e5147ba' into release/2.2
...
* commit '6598aaea1ad2cf82d40abb191ac26a5e4e5147ba':
jpeg2000: enable 4 component pixel formats
See: f0358dc1d3
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-11 18:40:20 +02:00
Michael Niedermayer
90a1c5e95c
Merge commit 'a5992a274ff5f6c4bec3445cb410da0adce8ef70' into release/2.2
...
* commit 'a5992a274ff5f6c4bec3445cb410da0adce8ef70':
stereo3d: add missing include guards
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-11 18:38:27 +02:00
Michael Niedermayer
45a529d805
Merge commit 'aa943bd31fada23db5cb9611215656ab9ebe5b94' into release/2.2
...
* commit 'aa943bd31fada23db5cb9611215656ab9ebe5b94':
huffyuvdec: check width size for yuv422p
Conflicts:
libavcodec/huffyuvdec.c
See: 6abb9a901f
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-11 18:02:36 +02:00
Michael Niedermayer
97cbad3d2c
Merge commit 'bea14966e2a37019cb4e38420868c5bb0542d487' into release/2.2
...
* commit 'bea14966e2a37019cb4e38420868c5bb0542d487':
mmvideo: check horizontal coordinate too
See: 8d3c99e825
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-11 18:01:44 +02:00
Michael Niedermayer
6419569a9d
Merge commit '6be5a3c0451e8f199ef1da09961aa76c08c87afd' into release/2.2
...
* commit '6be5a3c0451e8f199ef1da09961aa76c08c87afd':
wmalosslessdec: fix mclms_coeffs* array size
See: ec9578d54d
Merged-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-11 18:01:05 +02:00
Felix Abecassis
67134ad31f
h264: fix interpretation of interleaved stereo modes
...
Column and row frame packing arrangements were inverted.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
2014-08-07 11:40:08 +01:00
Anton Khirnov
d513c6a0ee
svq1: do not modify the input packet
...
The input data must remain constant, make a copy instead. This is in
theory a performance hit, but since I failed to find any samples
using this feature, this should not matter in practice.
Also, check the size of the header, avoiding invalid reads on truncated
data.
CC:libav-stable@libav.org
(cherry picked from commit 7b588bb691 )
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2014-08-06 19:05:34 +00:00
Anton Khirnov
18f48e05a2
cdgraphics: do not return 0 from the decode function
...
0 means no data consumed, so it can trigger an infinite loop in the
caller.
CC:libav-stable@libav.org
(cherry picked from commit c7d9b473e2 )
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2014-08-06 18:41:44 +00:00
Anton Khirnov
5bf5a35fb5
cdgraphics: switch to bytestream2
...
Fixes possible invalid memory accesses on corrupted data.
CC:libav-stable@libav.org
Bug-ID: CVE-2013-3674
(cherry picked from commit a1599f3f7e )
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2014-08-06 18:41:42 +00:00
Vittorio Giovara
6598aaea1a
jpeg2000: enable 4 component pixel formats
...
Bug-Id: 721
CC: libav-stable@libav.org
Sample-Id: 31230.mov
2014-08-06 12:44:35 +01:00
Vittorio Giovara
a5992a274f
stereo3d: add missing include guards
2014-08-06 12:44:35 +01:00
Michael Niedermayer
1b99667005
Changelog: fix typo
...
Found-by: Timothy Gu <timothygu99@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
n2.2.6
2014-08-05 22:27:53 +02:00
Michael Niedermayer
1f4d779e87
version.sh: Print versions based on the last git tag for release branches
...
release branches are detected by checking if "git" is not in RELEASE
This changes "N-64706-g2f71aeb" to "n2.3-8-g2f71aeb"
for git master theres no change
This should improve the readability of lists of versions which come from
more than 1 release branch or master + release. fate.ffmpeg.org is
one possible example
Reviewed-by: Timothy Gu <timothygu99@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit ee606fd031 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 22:18:00 +02:00
Michael Niedermayer
f543d32455
remove VERSION file
...
it overrides what version.sh prints and thus makes its output
from release branches rather useless
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 2f71aeb301 )
Conflicts:
VERSION
2014-08-05 22:16:42 +02:00
Michael Niedermayer
2cbdbc3670
update for 2.2.6
...
Changelog by: Timothy Gu <timothygu99@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 22:07:12 +02:00
Michael Niedermayer
aa943bd31f
huffyuvdec: check width size for yuv422p
...
Avoid out of array accesses.
CC: libav-stable@libav.org
Bug-Id: CVE-2013-0848
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
Signed-off-by: Anton Khirnov <anton@khirnov.net >
(cherry picked from commit a7153444df )
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2014-08-05 20:06:53 +00:00
Michael Niedermayer
bea14966e2
mmvideo: check horizontal coordinate too
...
Fixes out of array accesses.
Bug-Id: CVE-2013-3672
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
Signed-off-by: Anton Khirnov <anton@khirnov.net >
(cherry picked from commit 70cd3b8e65 )
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2014-08-05 19:21:40 +00:00
Michael Niedermayer
6be5a3c045
wmalosslessdec: fix mclms_coeffs* array size
...
Fixes corruption of context
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
Bug-Id: CVE-2014-2098
Signed-off-by: Anton Khirnov <anton@khirnov.net >
(cherry picked from commit 849b9d34c7 )
Signed-off-by: Anton Khirnov <anton@khirnov.net >
2014-08-05 14:59:29 +00:00
Michael Niedermayer
119131fcbf
ffserver: initialize pbuffer in prepare_sdp_description()
...
also check pbuffer before use
Found-by: CSA
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 1d8d21b90a )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:45:56 +02:00
Michael Niedermayer
c13e38bac7
avcodec/wavpackenc: Fix log2sample() result value
...
Found-by: CSA
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit e706fe7640 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:45:56 +02:00
Michael Niedermayer
01c4fe7ee7
avformat/tee: flip assigment direction
...
Found-by: CSA
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 2e6fdcb7f3 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:45:56 +02:00
Michael Niedermayer
ad13a5c8fa
avcodec/dvdsub_parser: print message if packet is smaller than the packet size field
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit bcc898dd26 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:14:02 +02:00
Michael Niedermayer
ce248bf7ee
avcodec/dvdsub_parser: Check buf_size before reading 32bit packet size
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 81c1657a59 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:14:02 +02:00
Michael Niedermayer
8eaefbe1be
avcodec/dvdsub_parser: never return 0 when the input isnt 0
...
Fixes a infinite loop
Fixes Ticket3804
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit cfdb30d2f1 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:14:02 +02:00
Michael Niedermayer
81d8bad786
avcodec/mpeg12dec: fix support for interlaced mpeg2 with missing last slice
...
Fixes Ticket3809
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit f95298c913 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:14:02 +02:00
Anshul Maheswhwari
0aee436728
v4l2enc: adding AVClass
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit fcb11ec291 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:14:02 +02:00
Michael Niedermayer
cdaf9fb2a0
libavcodec/h264_parser: Increase parse_history, fix huge resolutions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 0782fb6bcb )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:14:02 +02:00
Benoit Fouet
cf41ff4889
h264_mp4toannexb_bsf: account for consecutive IDR pictures.
...
If there are consecutive IDR pictures, then SPS/PPS should be prepended
to all of them, not only the first one.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit bf428bb314 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:14:02 +02:00
Chris \"Koying\" Browet
6120ad315b
avcodec/h264_mp4toannexb_bsf: fix issue when sps/pps are already in the bistream
...
(cherry picked from commit ad91bf854b )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:14:02 +02:00
Michael Niedermayer
2105f046f5
avformat/dv: implement fallback in dv_extract_pack()
...
Fixes Ticket2340
Fixes Ticket2341
Based-on mail from Dave Rice <dave@dericed.com >
Tested-by: Dave Rice <dave@dericed.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 88f038ac97 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:13:38 +02:00
Michael Niedermayer
815d3225e3
avcodec/hevc: treat current_sps like sps_list
...
This simplifies the management of current_sps
Fixes Ticket3458
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 880dbe43ca )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:13:38 +02:00
Michael Niedermayer
51dd23c448
avcodec/hevc_ps: prevent stale pointer in malloc failure case
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 0fc2045d5f )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:13:38 +02:00
Michael Niedermayer
a4e1532ee7
avcodec/hevc_ps: do not loose all reference to pointers still in use
...
Fixes leaving a pointer to unreferenced memory
Fixes Ticket 3115
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit ccd6911c18 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:13:38 +02:00
Nicolas George
f7b147548e
ffmpeg_filter: refuse to configure input without a decoder.
...
The decoder is necessary in order to filter frames.
This makes the error message clearer in this case:
currently, it will usually fail because the pixel or sample
format is not defined and is converted into "(null)"
(non-portable).
Enhance trac ticket #3779 .
(cherry picked from commit 91244073fd )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:13:38 +02:00
Michael Niedermayer
f99b17bd32
avfilter/f_select: avoid double->int in debug output
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 6f622e5fcb )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:13:38 +02:00
Michael Niedermayer
21f6b07a97
avfilter/f_select: Set var_values[VAR_KEY] correctly
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit bcbfb95b0e )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:13:38 +02:00
Michael Niedermayer
c9f1456a41
avfilter/f_select: avoid using doubles for equals checks and casts to enums
...
This might silence some warnings.
Issue found from: a8d803a320
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
(cherry picked from commit 887d8d293f )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at >
2014-08-05 04:13:38 +02:00