Michael Niedermayer
9aba0a6f7b
rtpdec_h264: Check the return value of functions doing allocations
...
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Martin Storsjö
6451c8853a
sdp: Check theora colorspace before producing the configuration string
...
This avoids a memory leak (or having to worry about freeing the
config string) if the colorspace isn't accepted.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Michael Niedermayer
797f2a7913
hdsenc: Check the init_file() return code
...
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Michael Niedermayer
b8ed15d637
hdsenc: Fix an off by one error in an array size check
...
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Michael Niedermayer
417927af3c
hdsenc: Avoid integer overflow
...
Also remove a silly leftover pair of parentheses.
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Marton Balint
97f880e7a9
libzvbi-teletextdec: set bitmap teletext canvas dimensions
...
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Marton Balint
c77e0c2130
libzvbi-teletextdec: add chopped top row size to y offset
...
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Marton Balint
249a435989
libzvbi-teletextdec: use defined constants for bitmap char width and height
...
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Marton Balint
b50968169d
libzvbi-teletextdec: cosmetics
...
Signed-off-by: Marton Balint <cus@passwd.hu>
11 years ago
Diego Biurrun
5db4e88ecd
configure: Detect Solaris libc in an OpenIndiana/illumos compatible way
11 years ago
Timothy Gu
c65fe9e982
examples/decoding_encoding: check av_samples_get_buffer_size() return code
...
Fixes CID1135756.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
11 years ago
Timothy Gu
b242c156e5
examples/resample_audio: check av_samples_get_buffer_size() return code
...
Fixes CID1135757.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
11 years ago
Stefano Sabatini
66a703ea01
ffprobe: only show tags when explicitly requested
11 years ago
Stefano Sabatini
2cfe70ff3e
lavf/movenc: return meaningful error code from mov_write_header()
11 years ago
Stefano Sabatini
54c596fe7a
lavf/movenc: improve feedback in case of unsupported codec
11 years ago
Michael Niedermayer
688c3d944d
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
doxy: Define a group for libswscale documentation
Conflicts:
libavutil/avutil.h
libswscale/swscale.h
See: 18d9398143
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
f5013913da
Merge commit 'a5a3b398fd9dce38ca50b20f182b17a256d209f2'
...
* commit 'a5a3b398fd9dce38ca50b20f182b17a256d209f2':
configure: Reorder pthreads checks
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
7431923da8
Merge commit '7cbe1ea9df83ec66403fbf6400353bcb2242bf06'
...
* commit '7cbe1ea9df83ec66403fbf6400353bcb2242bf06':
configure: Move the bz2 and zlib checks below phtreads
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
acda7c8e20
Merge commit '70a7b24d56a823894440a372c46e89e212b89c35'
...
* commit '70a7b24d56a823894440a372c46e89e212b89c35':
avutil: Add deprecation ifdefs around obsolete intfloat code
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
2cfccd8060
avcodec/vc1: Factorize imode enum out / remove duplication
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Guillaume Martres
ecb21d2437
hevc: rename ptl structs and variables
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Guillaume Martres
c90cdf4b64
hevc: pack PTL representation using uint8_t
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Guillaume Martres
8e72e19f64
hevc: remove unused PTL flags
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Guillaume Martres
dddc9b7a8e
hevc: don't check for errors in PTL code
...
The value of XXX_reserved_zero_44bits should be ignored, no need to
report an error when it's not zero.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Guillaume Martres
c6afd0aacc
hevc: fix PTL parsing
...
This was broken in commit 36658c978f
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
445c58a8c6
swscale/x86/rgb2rgb: Make sure COMPILE_TEMPLATE_AVX is defined
...
Found-by: iive
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
3f4290a206
swscale/x86/rgb2rgb_template: try to fix build without AVX
...
Found-by: iive
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
48016f8feb
avcodec/vc1dec: propagate errors from vc1_parse_sprites()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
5f00b333a4
avcodec/vc1dec: zero SpriteData struct
...
Fixes use of uninitialized data, as alternative alpha could be
calculated conditionally
Fixes part of msan_uninit-mem_7f51a8b0b3b0_1009_Arlington.wmv
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
cf95dee3de
avcodec/vc1dec: dont calculate unused values from uninitialized sprites
...
Fixes use of uninitialized data
Fixes part of msan_uninit-mem_7f51a8b0b3b0_1009_Arlington.wmv
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Luca Barbato
c85aad9cb2
doxy: Define a group for libswscale documentation
...
Uniform the style and eliminate a warning on newer doxygen version..
11 years ago
Luca Barbato
a5a3b398fd
configure: Reorder pthreads checks
...
Some pthreads symbols might be present in libc (as shown on various *BSD)
but not all of them, leading to false positives.
Check for the most common compiler flags before the plain symbol check
to avoid known pitfalls.
11 years ago
Luca Barbato
7cbe1ea9df
configure: Move the bz2 and zlib checks below phtreads
...
There are alternate implementations of those libraries that use pthreads.
11 years ago
Diego Biurrun
70a7b24d56
avutil: Add deprecation ifdefs around obsolete intfloat code
...
This long-deprecated code should disappear at the next version bump.
11 years ago
Michael Niedermayer
f5cf0ea93a
avformat/asf: clear uninitialized areas of packets before returning them
...
Fixes use of uninitialized variables
Fixes msan_uninit-mem_7f839282b6ce_7273_msn08_VBRq70_800x600.wmv
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
0f242e62b4
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
build: Merge pthreads/w32threads OBJS declarations
Conflicts:
libavcodec/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
1e3718e2a1
Merge commit '7c3388711b7243d059db39aa04b754baf2156934'
...
* commit '7c3388711b7243d059db39aa04b754baf2156934':
configure: Add -D__USE_MINGW_ANSI_STDIO=1 to CPPFLAGS on MinGW32
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
2a459f5d87
Merge commit 'bdc111a162094c14660d1e88839d103a4d79e42a'
...
* commit 'bdc111a162094c14660d1e88839d103a4d79e42a':
configure: Detect newer (>=4.1) versions of MinGW32
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
7b2a19cb9e
Merge commit 'a1d7d5524799bd90bc5d12e8b3063238cc0c02dd'
...
* commit 'a1d7d5524799bd90bc5d12e8b3063238cc0c02dd':
build: Do not add -g to HOSTCFLAGS
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
James Almer
782d48c3c1
configure: remove redundant definition of __USE_MINGW_ANSI_STDIO
...
No need to define it twice on mingw-w64 >= v3.
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
11 years ago
Michael Niedermayer
0c23ee1312
avcodec/mjpegdec: use mallocz for progressive blocks
...
Fixes use of uninitialized memory
Fixes: msan_uninit-mem_7f849c599487_6828_mjpeg.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
7d7a701362
avformat/ipmovie: Fix use of uninitialized memory in OPCODE_INIT_VIDEO_BUFFERS
...
Fixes: msan_uninit-mem_7ffe323a25f3_5929_ipmovie_interplayvideo_interplay_dpcm__bislogo.mve
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
7439475e69
avformat/network: check ff_socket_nonblock() return and print a debug message
...
Fixes CID1026744
Fixes CID1026743
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Pierre Yves MORDRET
0f02ea0afe
libavcodec/dvbsub: fix for Display Definition Segment
...
Given ETSI EN 300 743 V1.3.1 (2006-11), 7.2.1 Display definition segment
display window parameters are given in this order XMin, XMax, YMin, YMax
if display_window_flag is set, but here this is not the case.
As a consequence the DVB subtitles are not displayed upon some videos.
Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Reviewed-by: Kieran Kunhya <kierank@obe.tv>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Diego Biurrun
79d9884e95
build: Merge pthreads/w32threads OBJS declarations
11 years ago
Diego Biurrun
7c3388711b
configure: Add -D__USE_MINGW_ANSI_STDIO=1 to CPPFLAGS on MinGW32
...
This enables a more C99-compliant implementation of printf et al.
11 years ago
Diego Biurrun
bdc111a162
configure: Detect newer (>=4.1) versions of MinGW32
...
The MinGW32 project is deprecating its old version macros.
11 years ago
Diego Biurrun
a1d7d55247
build: Do not add -g to HOSTCFLAGS
...
The flag is not unconditionally added to CFLAGS either and the
programs built on the host do not get habitually fed to a debugger.
11 years ago
Michael Niedermayer
1d0995e3a5
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Force one stream in caf muxer.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
47eb15b989
avfilter/vf_pullup: fix memleak on error
...
Fixes CID1108604
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago