Guillaume Martres
8e72e19f64
hevc: remove unused PTL flags
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-14 03:01:46 +01:00
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>
2013-12-14 03:01:35 +01:00
Guillaume Martres
c6afd0aacc
hevc: fix PTL parsing
...
This was broken in commit 36658c978f
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-14 03:01:22 +01:00
Michael Niedermayer
445c58a8c6
swscale/x86/rgb2rgb: Make sure COMPILE_TEMPLATE_AVX is defined
...
Found-by: iive
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-14 02:54:28 +01:00
Michael Niedermayer
3f4290a206
swscale/x86/rgb2rgb_template: try to fix build without AVX
...
Found-by: iive
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-14 02:22:44 +01:00
Michael Niedermayer
48016f8feb
avcodec/vc1dec: propagate errors from vc1_parse_sprites()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-14 01:46:11 +01:00
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>
2013-12-14 01:46:11 +01:00
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>
2013-12-14 00:59:43 +01:00
Luca Barbato
c85aad9cb2
doxy: Define a group for libswscale documentation
...
Uniform the style and eliminate a warning on newer doxygen version..
2013-12-13 23:53:30 +01:00
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.
2013-12-13 23:53:30 +01:00
Luca Barbato
7cbe1ea9df
configure: Move the bz2 and zlib checks below phtreads
...
There are alternate implementations of those libraries that use pthreads.
2013-12-13 23:53:30 +01:00
Diego Biurrun
70a7b24d56
avutil: Add deprecation ifdefs around obsolete intfloat code
...
This long-deprecated code should disappear at the next version bump.
2013-12-13 23:45:54 +01:00
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>
2013-12-13 23:32:45 +01:00
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>
2013-12-13 21:33:13 +01:00
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>
2013-12-13 21:26:13 +01:00
Michael Niedermayer
2a459f5d87
Merge commit 'bdc111a162094c14660d1e88839d103a4d79e42a'
...
* commit 'bdc111a162094c14660d1e88839d103a4d79e42a':
configure: Detect newer (>=4.1) versions of MinGW32
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-13 20:49:22 +01:00
Michael Niedermayer
7b2a19cb9e
Merge commit 'a1d7d5524799bd90bc5d12e8b3063238cc0c02dd'
...
* commit 'a1d7d5524799bd90bc5d12e8b3063238cc0c02dd':
build: Do not add -g to HOSTCFLAGS
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-13 20:39:45 +01:00
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>
2013-12-13 14:36:37 -05:00
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>
2013-12-13 20:26:38 +01:00
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>
2013-12-13 19:51:47 +01:00
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>
2013-12-13 17:08:03 +01:00
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>
2013-12-13 16:53:22 +01:00
Diego Biurrun
79d9884e95
build: Merge pthreads/w32threads OBJS declarations
2013-12-13 16:47:50 +01:00
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.
2013-12-13 16:47:49 +01:00
Diego Biurrun
bdc111a162
configure: Detect newer (>=4.1) versions of MinGW32
...
The MinGW32 project is deprecating its old version macros.
2013-12-13 16:47:49 +01:00
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.
2013-12-13 16:47:49 +01:00
Michael Niedermayer
1d0995e3a5
Merge remote-tracking branch 'cehoyos/master'
...
* cehoyos/master:
Force one stream in caf muxer.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-13 15:44:45 +01:00
Michael Niedermayer
47eb15b989
avfilter/vf_pullup: fix memleak on error
...
Fixes CID1108604
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-13 15:14:03 +01:00
Michael Niedermayer
8f9569cfac
avfilter/vf_pullup: Factor free_field_queue() out
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-13 15:13:01 +01:00
Carl Eugen Hoyos
fb5518cfb7
Force one stream in caf muxer.
...
Based on eeb975f5
2013-12-13 11:57:39 +01:00
Clément Bœsch
b02d87936b
examples/demuxing_decoding: print the decoding error when it happens.
2013-12-13 10:37:20 +01:00
Even Wiik Thomassen
43f116d162
examples/demuxing_decoding: return error when no codec found
...
The open_codec_context function, when it fails to find a codec, now
return AVERROR(EINVAL) to signal an error.
Before it would return the stream index, which was always >= 0, and
continue as if a codec was found. This change make it fail faster,
instead of repeated failed tries to decode frames with no codec.
Signed-off-by: Even Wiik Thomassen <e.thomassen@sportradar.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
2013-12-13 09:45:54 +01:00
Stefano Sabatini
65a3429e7a
ffprobe: add cosmetical empty line
2013-12-13 09:42:15 +01:00
Stefano Sabatini
93f0882725
ffserver: improve error feedback in case of av_write_frame() error
2013-12-13 09:42:15 +01:00
Stefano Sabatini
bed4eeab33
MAINTAINERS: remove ffserver maintainership status notice
...
Privately approved by Baptiste.
2013-12-13 09:42:15 +01:00
Lou Logan
d546a59a81
docs/outdevs: add a few simple ALSA examples
2013-12-12 18:21:52 -09:00
Michael Niedermayer
5d8e4f6da0
avformat/rtpenc: check av_packet_get_side_data() return, fix null ptr dereference
...
Fixes CID1035715
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-13 02:09:20 +01:00
Michael Niedermayer
c5f15f40b9
avformat/rtpdec_h264: fix null pointer dereferences
...
Fixes CID733716
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-13 02:09:20 +01:00
Michael Niedermayer
db8a53d86a
avformat/sdp: fix memleak on error
...
Fixes CID700640
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-13 00:27:25 +01:00
Michael Niedermayer
180a0b1bcb
avcodec/hevc_sei: fix use of uninitialized variables in decode_nal_sei_frame_packing_arrangement()
...
Fixes CID1135773/1135774/1135775
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-13 00:07:06 +01:00
Michael Niedermayer
3dbf9afe85
libavformat/hdsenc: check init_file() return code
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-12 21:04:24 +01:00
Michael Niedermayer
7830c882fa
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
mpegts: add HEVC registration descriptor
Conflicts:
libavformat/mpegts.c
See: d0b7d24b80
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-12 20:23:58 +01:00
Michael Niedermayer
93cf43ec3f
Merge commit 'a2eeed619de3bb257e82f0e06d1a580101bce54c'
...
* commit 'a2eeed619de3bb257e82f0e06d1a580101bce54c':
changelog: drop redundant new attribute
Conflicts:
Changelog
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-12 19:55:06 +01:00
Michael Niedermayer
2644df82e6
Merge commit 'ae9d13f03e6c81ea00fafe6aa74b4a849ec8da1a'
...
* commit 'ae9d13f03e6c81ea00fafe6aa74b4a849ec8da1a':
img2: add stereo 3d still picture file extensions
Conflicts:
libavformat/img2.c
See: 6fe12c7ff2
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-12 19:48:36 +01:00
Michael Niedermayer
30aa9b727d
Merge commit '46c0cbd5dc01196949105e49f2ded10aa85a6e39'
...
* commit '46c0cbd5dc01196949105e49f2ded10aa85a6e39':
rtsp: suppress a incompatible pointer types warning
Conflicts:
libavformat/rtsp.c
See: 0079232299
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-12 19:37:46 +01:00
Michael Niedermayer
a435a03374
Merge commit '6b45f05ef5b241fd1513702119af9c30056a0ac5'
...
* commit '6b45f05ef5b241fd1513702119af9c30056a0ac5':
parseutils: fix discarding const attribute warning
Conflicts:
libavutil/parseutils.c
See: fe87b2e79c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-12 19:12:33 +01:00
Michael Niedermayer
d780fdb904
avformat/hlsenc: copy metadata
...
Fixes Ticket2296
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-12 18:41:39 +01:00
James Almer
c619e14c31
avformat/oggparseopus: Check opus_duration() return value
...
Regression since 39d11d599c
os->pduration would be wrongly assigned a negative value on invalid packets
instead of aborting.
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-12 17:26:19 +01:00
Carl Eugen Hoyos
9fa75be96d
mpegts: add HEVC registration descriptor
2013-12-12 16:10:15 +01:00
Vittorio Giovara
a2eeed619d
changelog: drop redundant new attribute
2013-12-12 16:10:15 +01:00