]>
git.sesse.net Git - ffmpeg/log
Michael Niedermayer [Wed, 23 Oct 2013 08:44:18 +0000 (10:44 +0200)]
avcodec/aacdec: fix avpriv_report_missing_feature() arguments
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 23 Oct 2013 08:14:05 +0000 (10:14 +0200)]
swscale/utils: check mprotect() return code
Found-by: wm4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 23 Oct 2013 08:02:43 +0000 (10:02 +0200)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
aac: Add support for Enhanced AAC Low Delay (ER AAC ELD).
Conflicts:
Changelog
libavcodec/aacdec.c
libavcodec/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 23 Oct 2013 07:53:52 +0000 (09:53 +0200)]
Merge commit '
f457edb69794c7e13b3630456d72f7942fff19f7'
* commit '
f457edb69794c7e13b3630456d72f7942fff19f7':
aacdec: Use avpriv_report_missing_feature() instead of custom logging.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 23 Oct 2013 07:47:41 +0000 (09:47 +0200)]
Merge commit '
b1fcdc08ceb5df69fac34aa0d57c56905d32b8b4'
* commit '
b1fcdc08ceb5df69fac34aa0d57c56905d32b8b4':
nut: Fix unchecked allocations
Conflicts:
libavformat/nut.c
libavformat/nutdec.c
libavformat/nutenc.c
See:
55ae13e3deffa21027a44f31b4ae2f53a4fa7426
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 23 Oct 2013 07:26:57 +0000 (09:26 +0200)]
Merge commit '
3511d4fc9784d5fbb024dce68ca7a0d7fdd74663'
* commit '
3511d4fc9784d5fbb024dce68ca7a0d7fdd74663':
pthread: Avoid crashes/odd behavior caused by spurious wakeups
See:
692b93090443519c407834fc61e78b23a9019ac2
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Alex Converse [Mon, 14 Oct 2013 20:51:46 +0000 (13:51 -0700)]
aac: Add support for Enhanced AAC Low Delay (ER AAC ELD).
This does not include support for LD SBR, epTool, data resilience, nor
the 960 transform family.
Alex Converse [Tue, 22 Oct 2013 10:41:04 +0000 (03:41 -0700)]
aacdec: Use avpriv_report_missing_feature() instead of custom logging.
Michael Niedermayer [Tue, 22 Oct 2013 23:40:57 +0000 (01:40 +0200)]
avcodec/sgi: Fix dereferencing uninitialized pointer
This also fixes the code so it decodes raw images correctly again
No release is affected by this
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 22 Oct 2013 18:31:49 +0000 (20:31 +0200)]
avcodec/hevc/extract_rbsp: fix error return type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Mickaël Raulet [Mon, 21 Oct 2013 09:49:35 +0000 (11:49 +0200)]
hevc: add wavefront parallel processing
cherry picked from commit
b971f2c8fdc60f8bab605a6e8060492eb548a53a
cherry picked from commit
e57b0a2c915ce6b8a9d57b8292f6581f0680842e
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Mickaël Raulet [Sun, 20 Oct 2013 20:48:03 +0000 (22:48 +0200)]
avcodec/pthread: add wpp api
cherry picked from commit
c7765f3295fe7dc0653161c6a3d3e1778b76ee67
cherry picked from commit
0008c4979fc1d1bc24d4d2c791715f6dd017563c
Conflicts:
libavcodec/utils.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 22 Oct 2013 17:32:54 +0000 (19:32 +0200)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
fate: add fieldorder filter test
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 22 Oct 2013 17:26:39 +0000 (19:26 +0200)]
Merge commit '
00d7369de06a16f7c8770a899fcb16bcb94b1e20'
* commit '
00d7369de06a16f7c8770a899fcb16bcb94b1e20':
vf_fieldorder: log when processing is skipped
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 22 Oct 2013 17:17:18 +0000 (19:17 +0200)]
Merge commit '
103d073dd7ce23b912df32be8c9524ba25dd5991'
* commit '
103d073dd7ce23b912df32be8c9524ba25dd5991':
h264_parser: Use ff_h264_reset_sei()
Conflicts:
libavcodec/h264_parser.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 22 Oct 2013 17:09:33 +0000 (19:09 +0200)]
Merge commit '
19f53840001a7afcdb57b2a797e363ec8081aba3'
* commit '
19f53840001a7afcdb57b2a797e363ec8081aba3':
h264_parser: Fix order of operations
See:
9c0fe487c755c19da48f4cc76aba1ac0931b5863
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 22 Oct 2013 17:01:36 +0000 (19:01 +0200)]
Merge commit '
f825d42bccdb9f89669a586951de7f66a81e80a5'
* commit '
f825d42bccdb9f89669a586951de7f66a81e80a5':
avplay: Accept cpuflags option
Conflicts:
cmdutils_common_opts.h
doc/ffmpeg.texi
doc/fftools-common-opts.texi
ffmpeg_opt.c
See:
1060e9ce5454e7ac009969ab2cf8f7cd83a69ac3
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Hendrik Leppkes [Tue, 22 Oct 2013 15:57:56 +0000 (17:57 +0200)]
vp9: always consume the full input packet
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Derek Buitenhuis [Tue, 22 Oct 2013 15:11:11 +0000 (16:11 +0100)]
nut: Fix unchecked allocations
CC: libav-stable@libav.org
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Michael Niedermayer [Tue, 22 Oct 2013 13:01:54 +0000 (15:01 +0200)]
avcodec/vcr1: print the actual size when its insufficient
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 22 Oct 2013 12:40:49 +0000 (14:40 +0200)]
avcodec/vcr1: Fix bitstream input size check
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Derek Buitenhuis [Tue, 22 Oct 2013 15:11:11 +0000 (16:11 +0100)]
nut: Fix unchecked allocations
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Fri, 18 Oct 2013 14:28:51 +0000 (15:28 +0100)]
lavfi/pthread: Avoid crashes/odd behavior caused by spurious wakeups
This is similar to
5152196b2b47d446d9a509b9bfb318daa26a1f2b.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Derek Buitenhuis [Fri, 18 Oct 2013 14:28:51 +0000 (15:28 +0100)]
pthread: Avoid crashes/odd behavior caused by spurious wakeups
This is similar to
5152196b2b47d446d9a509b9bfb318daa26a1f2b.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Michael Niedermayer [Tue, 22 Oct 2013 10:48:47 +0000 (12:48 +0200)]
libavcodec/mpegaudio_tablegen: clip value before casting
Avoids FPE on alpha
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Vittorio Giovara [Sun, 13 Oct 2013 10:41:47 +0000 (10:41 +0000)]
fate: add fieldorder filter test
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Vittorio Giovara [Tue, 22 Oct 2013 07:21:18 +0000 (07:21 +0000)]
vf_fieldorder: log when processing is skipped
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Yusuke Nakamura [Mon, 14 Oct 2013 19:22:42 +0000 (19:22 +0000)]
h264_parser: Use ff_h264_reset_sei()
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Michael Niedermayer [Sun, 20 Oct 2013 12:11:05 +0000 (12:11 +0000)]
h264_parser: Fix order of operations
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Luca Barbato [Mon, 14 Oct 2013 03:41:45 +0000 (05:41 +0200)]
avplay: Accept cpuflags option
Quite useful for debugging.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Mickaël Raulet [Mon, 21 Oct 2013 10:44:18 +0000 (12:44 +0200)]
hevc: fix transform_skip which is only valid for 4x4(cherry picked from commit
740e5a71e5121dbf3fabdc4fec97829c18ecc2d8)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Mickaël Raulet [Sun, 20 Oct 2013 19:19:15 +0000 (21:19 +0200)]
hevc: pretty print(cherry picked from commit
6332b3afe298b9e1060e8549aea3aa2771b43f5d)
Conflicts:
libavcodec/hevc.h
libavcodec/hevc_filter.c
libavcodec/hevc_refs.c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Mickaël Raulet [Sun, 20 Oct 2013 07:30:27 +0000 (09:30 +0200)]
hevc: cleaning disable field in deblocking filter(cherry picked from commit
7dd7a27ae850a51b3c9cd07046c422677398f6d5)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Mickaël Raulet [Sun, 20 Oct 2013 07:25:59 +0000 (09:25 +0200)]
hevc: remove disable_au option(cherry picked from commit
e90b3f6753d645fec076e951a0597a5dc2d2fe31)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 21 Oct 2013 21:50:04 +0000 (23:50 +0200)]
Merge remote-tracking branch 'cigaes/master'
* cigaes/master:
lavf/tee: fix leak of bsfs array.
lavf/tee: fix leak of select option.
lavf/tee: fix leak of strdup/strtoked buffer.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 21 Oct 2013 21:32:56 +0000 (23:32 +0200)]
h263dec: use init_get_bits8() and check its return code
Fixes null pointer dereference
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 21 Oct 2013 21:19:04 +0000 (23:19 +0200)]
avformat/bintext: protect against potential overflow of chars_per_frame
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Paul B Mahol [Thu, 26 Sep 2013 09:41:53 +0000 (09:41 +0000)]
avfilter: replaygain scanner
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Mon, 21 Oct 2013 18:09:44 +0000 (20:09 +0200)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
avio: Use AVERROR_PROTOCOL_NOT_FOUND
Conflicts:
libavformat/avio.c
See:
12eeced8b41bbe46693f8c9625ed61b51f8438a1
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Mon, 21 Oct 2013 17:49:12 +0000 (19:49 +0200)]
Michael Niedermayer [Mon, 21 Oct 2013 17:21:10 +0000 (19:21 +0200)]
Merge commit '
23e6d3d4e27c83e06d00aa072c84d057bd1dad23'
* commit '
23e6d3d4e27c83e06d00aa072c84d057bd1dad23':
fate: vpx: Remove one redundant $(eval) invocation
Merge for meta data only as this breaks the affected fate tests
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Nicolas George [Mon, 21 Oct 2013 15:02:17 +0000 (17:02 +0200)]
lavf/tee: fix leak of bsfs array.
Nicolas George [Mon, 21 Oct 2013 15:00:56 +0000 (17:00 +0200)]
lavf/tee: fix leak of select option.
Nicolas George [Mon, 21 Oct 2013 14:53:32 +0000 (16:53 +0200)]
lavf/tee: fix leak of strdup/strtoked buffer.
Fix CID
1108606.
Michael Niedermayer [Mon, 21 Oct 2013 14:21:14 +0000 (16:21 +0200)]
avfilter/ff_insert_pad: fix order of operations
Fixes out of bounds access
Fixes CID732170
Fixes CID732169
No filter is known to use this function in a way so the issue can be reproduced.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Paul B Mahol [Tue, 8 Oct 2013 14:48:52 +0000 (14:48 +0000)]
make it possible to compile ffmpeg without swscale
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Luca Barbato [Sun, 20 Oct 2013 20:01:54 +0000 (22:01 +0200)]
avio: Use AVERROR_PROTOCOL_NOT_FOUND
When the protocol is missing ffurl_alloc() should return
AVERROR_PROTOCOL_NOT_FOUND instead of AVERROR(ENOENT).
Bug-Id: 577
CC: libav-stable@libav.org
Paul B Mahol [Fri, 18 Oct 2013 10:44:56 +0000 (10:44 +0000)]
avformat/mxfdec; parse random index pack to get last partition offset and use it when footer partition offset is missing
Footer partition may not be present and even if present footer partition
offset may not be set in any partition except last one.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Ben Jackson [Fri, 18 Oct 2013 14:28:50 +0000 (15:28 +0100)]
pthread: Avoid spurious wakeups
pthread_wait_cond can wake up unexpectedly (Wikipedia: Spurious_wakeup).
The FF_THREAD_SLICE thread mechanism could spontaneously execute
jobs or allow the caller of avctx->execute to return before all
jobs were complete.
Test both cases to ensure the wakeup is real.
Signed-off-by: Ben Jackson <ben@ben.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Michael Niedermayer [Mon, 21 Oct 2013 11:52:47 +0000 (13:52 +0200)]
fate: enable hevc tests
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Carl Eugen Hoyos [Mon, 21 Oct 2013 11:49:30 +0000 (13:49 +0200)]
Support FF_DISABLE_DEPRECATION_WARNINGS with icc on Linux.
Stefano Sabatini [Mon, 21 Oct 2013 11:33:06 +0000 (13:33 +0200)]
ffprobe: fix consistency checks in parse_read_intervals()
Move array size assert after the count increment, and avoid strchr() NULL
dereference on p.
Should fix FFmpeg coverity issue #
1108581.
Mickaël Raulet [Sun, 20 Oct 2013 20:40:39 +0000 (22:40 +0200)]
avcodec/hevc: fix duplicate/wrong nal unit check and difference to openhevc_upstream
NAL_BLA_W_RADL instead of NAL_BLA_N_LP
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 17 Oct 2013 22:21:36 +0000 (00:21 +0200)]
fate: add synthetic swresample resampling tests
this is based on libavresample.mak
These tests do not depend on external samples
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Clément Bœsch [Sun, 20 Oct 2013 19:23:43 +0000 (21:23 +0200)]
avformat/vobsub: fix invalid sub queue access while seeking.
If there is only 1 stream and seek isn't called with a specific stream
index, we pick the first (and only) one.
Regression since
dbfe6110.
Fixes CID1108591.
Ronald S. Bultje [Sun, 20 Oct 2013 19:05:28 +0000 (21:05 +0200)]
avcodec/vp9dsp: fix overwrite by 1 in vert_left pred.
The memset following the memcpy was silencing the problem since
re-writing that same byte.
Fixes CID1108597, CID1108598, (16x16)
CID1108599, CID1108600, (8x8)
CID1108601, CID1108602 (32x32)
Signed-off-by: Clément Bœsch <u@pkh.me>
Marton Balint [Sun, 20 Oct 2013 16:24:55 +0000 (18:24 +0200)]
lavc: make avcodec_decode_subtitle2 more robust
Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Lukasz Marek [Sat, 19 Oct 2013 19:38:40 +0000 (21:38 +0200)]
MAINTAINERS: add lavd/fbdev_enc entry
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Lukasz Marek [Fri, 18 Oct 2013 21:41:20 +0000 (23:41 +0200)]
lavd/pulse_audio_enc: add support for flushing
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Michael Niedermayer [Sun, 20 Oct 2013 16:38:48 +0000 (18:38 +0200)]
avutil/opt: initialize ret
Fixes CID1108610
Fixes use of uninitialized variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 20 Oct 2013 16:36:09 +0000 (18:36 +0200)]
avutil/file_open: Print debug message if setting close on exec fails
Fixes CID1087079
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 20 Oct 2013 16:33:53 +0000 (18:33 +0200)]
avformat/utils: Check av_packet_new_side_data() return before using it
Fixes null pointer dereference
Fixes CID1108592
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 20 Oct 2013 14:57:45 +0000 (16:57 +0200)]
avformat/oggparsespeex: Check for extradata allocation failure
Fixes CID1108574
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 20 Oct 2013 14:55:43 +0000 (16:55 +0200)]
avformat/oggparseflac: check ff_alloc_extradata() return code
Fixes CID1108573
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 20 Oct 2013 14:38:20 +0000 (16:38 +0200)]
avformat/oggparsecelt/celt_header: fix memleak
Fixes: CID1108605
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 20 Oct 2013 14:34:32 +0000 (16:34 +0200)]
avformat/network: check for fcntl() failure in ff_socket()
Fixes: CID1087075
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 20 Oct 2013 12:33:05 +0000 (14:33 +0200)]
avformat/au: add assert to help source code analyzers
See: CID1108585 and CID1108603
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 20 Oct 2013 12:09:55 +0000 (14:09 +0200)]
avcodec/vp9: Add asserts to help source code analyzers
See CID1108596 and CID1108595
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Reimar Döffinger [Thu, 17 Oct 2013 19:01:44 +0000 (21:01 +0200)]
hevc: Initialize sample aspect to valid value.
Without this, it is 0/0 by default, which is not allowed.
This sets it to 0/1, which means "undefined".
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Mickaël Raulet [Sat, 19 Oct 2013 15:04:44 +0000 (17:04 +0200)]
hevc: pretty print(cherry picked from commit
64a4b623b7d66dfc0f3883e5f1d9125c00c3b18c)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Mickaël Raulet [Sat, 19 Oct 2013 15:03:59 +0000 (17:03 +0200)]
hevc: fix PPS_A_qualcomm_7(cherry picked from commit
2af177a8761c88eb477a658eebcf4264068aa773)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 19 Oct 2013 23:58:51 +0000 (01:58 +0200)]
avcodec/wavpackenc: fix uninitialized ret
Fixes CID1108609
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 19 Oct 2013 23:50:34 +0000 (01:50 +0200)]
avcodec/tiff: remove byte based bpp special case
This case does not work as off is uninitialized and it should be
handled fine by the generic code below
Fixes CID1108608
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 19 Oct 2013 22:41:00 +0000 (00:41 +0200)]
avcodec/hevc_refs: fix h/vshift calculation in ff_hevc_output_frame()
Fixes CID1108577
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 19 Oct 2013 22:35:18 +0000 (00:35 +0200)]
avcodec/hevc: do not dereference pointer before null check in verify_md5()
Fixes: CID1108607
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 19 Oct 2013 22:33:29 +0000 (00:33 +0200)]
avcodec/hevc_cabac: trivial simplifications
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Mickaël Raulet [Fri, 18 Oct 2013 18:01:29 +0000 (20:01 +0200)]
hevc: inline cabac in hls_mvd_coding(cherry picked from commit
ad387195ad04e8a005a1bfd509e9e4f827e68fa9)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Mickaël Raulet [Fri, 18 Oct 2013 14:16:48 +0000 (16:16 +0200)]
hevc: inline cabac in residual coding(cherry picked from commit
17d7a880445b72feb36d684ae1f0597195811e97)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 19 Oct 2013 22:23:48 +0000 (00:23 +0200)]
avcodec/hevc: fix EOB/EOS check
Fixes: CID1108575
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 19 Oct 2013 21:44:34 +0000 (23:44 +0200)]
avcodec/h264_parser: fix order of operations
Fixes CID1108576
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 19 Oct 2013 21:36:35 +0000 (23:36 +0200)]
ffv1enc: use 64bit in maxsize calculation
This isnt needed but it cant hurt, its also more consistent with
how its calculated a few lines before.
See: CID1108593
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 19 Oct 2013 21:28:08 +0000 (23:28 +0200)]
avcodec/exr: fix null pointer dereference
Fixes CID1108582
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 19 Oct 2013 21:27:36 +0000 (23:27 +0200)]
avcodec/exr: favor av_freep() over av_free() for saftey
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 19 Oct 2013 20:50:16 +0000 (22:50 +0200)]
avformat/oggdec: favor av_freep() over av_free()
Found-by: Reimar Döffinger
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 19 Oct 2013 15:52:47 +0000 (17:52 +0200)]
avcodec/utils: add some saftey checks to add_metadata_from_side_data()
This fixes potential overreads with crafted files.
Found-by: wm4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 19 Oct 2013 15:45:54 +0000 (17:45 +0200)]
avcodec/avpacket/av_packet_split_side_data: ensure that side data padding is initialized
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 15 Sep 2013 13:25:09 +0000 (15:25 +0200)]
Do not leave positive values undefined when negative are defined as error
Define positive return values as non errors and leave further meaning undefined
This allows future extensions to use these values
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 11 Oct 2013 21:02:46 +0000 (23:02 +0200)]
doc/developer: Add a policy item about updating the MAINTAINERs file
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diego Biurrun [Wed, 16 Oct 2013 14:42:24 +0000 (16:42 +0200)]
fate: vpx: Remove one redundant $(eval) invocation
Michael Niedermayer [Sat, 19 Oct 2013 09:15:07 +0000 (11:15 +0200)]
avformat/wtvdec: drop SHIFT_SECTOR_BITS() macro
it just wraps around a bitwise shift, and makes the code harder to read
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 19 Oct 2013 09:01:59 +0000 (11:01 +0200)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
wtv: Seek by sector properly
Conflicts:
libavformat/wtvdec.c
See:
a0d13d84a928110b0e99ea16d17fd758fcbde35f
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 19 Oct 2013 08:58:17 +0000 (10:58 +0200)]
avformat/wtv: rename to wtv_common
This helps git matchup files on merges correctly
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 18 Oct 2013 22:49:54 +0000 (00:49 +0200)]
MAINTAINERS: add Timothy to documentation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
俞晓磊 [Fri, 18 Oct 2013 22:07:31 +0000 (00:07 +0200)]
configure: remove \r from cc_ident,
This should fix cygwin + non-cygwin toolchain
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Lukasz Marek [Fri, 18 Oct 2013 21:41:19 +0000 (23:41 +0200)]
lavd/pulse_audio_enc: fix error check
Error check should be done by checking negative value, not non-zero.
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Stefano Sabatini [Fri, 18 Oct 2013 21:38:54 +0000 (23:38 +0200)]
lavd/fbdev: use av_str2err() macro for printing error messages
In particular fix wrong strerror(ret) with a negative value, and avoid
the use of non thread-safe strerror().
Lukasz Marek [Fri, 18 Oct 2013 20:12:15 +0000 (22:12 +0200)]
lavd/pulse_audio_dec: apply cosmetic changes
In particular, fix punctuation in docs and make option help messages
grammatically consistent.
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Lukasz Marek [Fri, 18 Oct 2013 18:45:13 +0000 (20:45 +0200)]
lavd/fbdev: pass proper memory map length
fbdev->data was allocated with size fbdev->fixinfo.smem_len, release data
in fbdev_read_close() using the same size.
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Stefano Sabatini [Fri, 18 Oct 2013 11:06:17 +0000 (13:06 +0200)]
MAINTAINERS: add my name to a few entries
Carl Eugen Hoyos [Fri, 18 Oct 2013 17:53:47 +0000 (19:53 +0200)]
Fix decoding of G.726 in AIFF.
Fixes ticket #1973.