Michael Niedermayer
830f7f189f
mmsh: fix integer overflow in mmsh_seek()
...
Fixes CID703745
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
d3b8d56e06
examples/decoding_encoding: prefer 'frame' over 'picture' for an AVFrame
...
Decrease confusion.
12 years ago
Michael Niedermayer
dd84efe3c7
matroskaenc: Fix hypothetical integer overflows
...
Fixes CID700562-7
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
b1f517f503
matroskaenc: check avio_open_dyn_buf() retuen code
...
Fixes CID703629
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Derek Buitenhuis
eed7406416
doc/platform: Add info on shared builds with MSVC
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Derek Buitenhuis
11a73745d5
doc/platform: Move a caveat down to the notes section
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
12 years ago
Hendrik Leppkes
79393a8363
Replace usage of the deprecated av_pix_fmt_descriptors array with av_pix_fmt_desc_get
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
2c5b92fe90
matroskadec: fix double negation typo
...
Fixes CID602563
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
1116491c53
matroska_parse_rm_audio: check for malloc failure
...
Fixes CID733712
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d7cabb3c7e
bgmc: check the correct pointers
...
Fixes CID90539, CID90538
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
bf52ad1e49
lavc: revert broken hunk from 1cd9c81ddb
...
This should fix fate failures
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
6912e7a008
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
configure: Group math functions into a separate variable
avutil/mem: K&R formatting cosmetics
avutil/lzo: K&R formatting cosmetics
Conflicts:
configure
libavutil/mem.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
04c6ecb7da
Merge commit 'c9ef43215c7d68c2cdcdbe02287aa114f27a32ed'
...
* commit 'c9ef43215c7d68c2cdcdbe02287aa114f27a32ed':
fate-vc1: add dependencies
ARM: fix overreads in neon h264 chroma mc
rtsp: Make sure the ret variable is initialized in ff_rtsp_fetch_packet
gitignore: ignore files created by msvc
fate: Add proper dependencies for the tests in video.mak
configure: Disable Snow decoder and encoder by default
lzo: Drop obsolete fast_memcpy reference
build: Drop OBJS declaration for non-existing PCM_DVD encoder
mpeg4videodec: Disable frame multithreading for GMC, its not implemented at all
Conflicts:
libavcodec/mpegvideo.c
libavformat/rtsp.c
tests/fate/microsoft.mak
tests/fate/video.mak
Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
cdea54b4c8
lavu/parseutils: rework rational reduction logic in av_parse_ratio()
...
Avoid to divide num and den by gcd in case of a parsed expression, since
that is already done in av_d2q(), and force reduction in case of "a:b"
form, allowing to honour the max parameter.
The latter change is consistent with the a/b case, and with the
documentation.
12 years ago
Stefano Sabatini
935ecfb002
examples/scaling_video: remove unnecessary intermediary variable in fill_yuv_frame()
12 years ago
Stefano Sabatini
7bc533c41b
lavc/utils: fix a few case/punctuation inconsistencies in avcodec_open2()
12 years ago
Stefano Sabatini
1cd9c81ddb
lavc/utils: extend feedback provided by avcodec_open2()
12 years ago
Stefano Sabatini
7b116a94af
examples/decoding_encoding: fix misc typos in the usage text
12 years ago
Stefano Sabatini
8c4753f7f5
examples/decoding_encoding: remove misplaced and confusing comment
12 years ago
Stefano Sabatini
6d6ccbae4c
examples/decoding_encoding: add missing checks on avcodec_alloc_context3()
12 years ago
Diego Biurrun
79042ab376
configure: Group math functions into a separate variable
...
This avoids some duplication when listing and testing for the functions.
12 years ago
Diego Biurrun
5532cf3178
avutil/mem: K&R formatting cosmetics
12 years ago
Diego Biurrun
c08536979b
avutil/lzo: K&R formatting cosmetics
12 years ago
Mans Rullgard
c9ef43215c
fate-vc1: add dependencies
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
1846ddf0a7
ARM: fix overreads in neon h264 chroma mc
...
The loops were reading ahead one line, which could end up outside the
buffer for reference blocks at the edge of the picture. Removing
this readahead has no measurable performance impact.
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Hendrik Leppkes
04bf2e7f0e
swresample: include ff_log2_tab for shared builds
...
This is done in accordance with all other libraries, which no longer access ff_log2_tab from avutil directly for shared builds, and instead obtain their own copy.
This change is required for MSVC DLL builds, as well as avoids accessing a private symbol from another library.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Hendrik Leppkes
953a3dcc4e
Mark data symbols shared between libraries with av_export
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
2f41eaa9c6
rtsp: Make sure the ret variable is initialized in ff_rtsp_fetch_packet
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Hendrik Leppkes
33f2a49423
vc1: only disable interlaced b-frames for software decoding
...
Tested-by: Gwenole Beauchesne <gb.devel@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Hendrik Leppkes
b87ff34496
vc1: implement vc1 field interlaced dxva2 decoding
...
Tested-by: Gwenole Beauchesne <gb.devel@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
8fb8d539a4
hlsproto: fix integer overflow
...
Fixes CID703743
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
ba39303050
gxfenc: fix null ptr dereference
...
Fixes CID703677
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
395caf3de8
hls: fix integer overflow
...
Fixes CID717892
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
a96577df38
avio: fix sizeof argument
...
Fixes CID732284
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Hendrik Leppkes
d2d08d706b
gitignore: ignore files created by msvc
...
exp files are created in every build and contain export information
of the libraries. Both pdb and ilk are created during debug builds,
and contain linking and debug information used by MSVC.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years ago
Michael Niedermayer
d30351363f
url_alloc_for_protocol: fix use of uninitialized variable
...
Fixes CID703830
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
3d48dd01fd
avidec: remove unneeded null check
...
Fixes CID29555
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
aaf78e4d14
vf_mp: fix null ptr deref in case of ENOMEM
...
Fixes CID703675
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
042a738b45
vf_mp: check list in querry_format()
...
Fixes CID717772
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
31fdf3065d
vf_idet: reorder operations to avoid division by 0
...
Fixes CID733738
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
12549db653
fate: Add proper dependencies for the tests in video.mak
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
0fa26bd470
utvideoenc: fix theoretical integer overflow
...
The image sizes needed for this overflow to happen are currently not
supported in lavc, thus this should have no effect execpt making the
code more robust in light of future changes.
Fixes CID732245
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
d86ef54476
avcodec_align_dimensions2: add missing breaks
...
This should have just cosmetic effects
Fixes CID603265
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Ash Hughes
2470851f12
lavc: enable recursively using avcodec_open2/close.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Diego Biurrun
4b587848ce
configure: Disable Snow decoder and encoder by default
...
Snow has serious unfixed bugs and no real-world use.
12 years ago
Diego Biurrun
8fb1e26405
lzo: Drop obsolete fast_memcpy reference
12 years ago
Diego Biurrun
c896aa984e
build: Drop OBJS declaration for non-existing PCM_DVD encoder
12 years ago
Petter Ericson
7abf394814
mov.c: Check for stsd + m1s tag indicating MOV-wrapped MPEG-PS, and force continued probing if found.
...
Fixes Ticket241
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
6bcdfe48d0
mpeg4videodec: Disable frame multithreading for GMC, its not implemented at all
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
jamal
9434ead2f3
fate: Handle lavf-fate tests in a makefile
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago