Timothy Gu
d36eac698f
Revert "avformat/format: silence -Wdiscarded-qualifiers"
...
This reverts commit 27cbe4588a
.
See
https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179002.html
Requested-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2015-09-16 19:53:13 -07:00
Michael Niedermayer
d64f7d4213
avformat/avidec: disable parsing for RV40
...
Fixes: broken_rv40.avi
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-17 02:08:15 +02:00
Ganesh Ajjanagadde
9aaa54135c
avformat/mpjpegdec: silence unused variable/function warnings
...
Silences a -Wunused-variable and -Wunused-function observed under GCC 5.2.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-16 16:29:51 -07:00
Ganesh Ajjanagadde
27cbe4588a
avformat/format: silence -Wdiscarded-qualifiers
...
lpd.buf is non-const and discards the const qualifier of zerobuffer.
This fixes -Wdiscarded-qualifiers observed with GCC 5.2.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-16 16:24:56 -07:00
Luca Barbato
22cc57da64
rtpdec: Forward the memory failure
...
And avoid a memory leak.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-09-16 20:20:16 +02:00
Hendrik Leppkes
78af3ffaa9
Merge commit '1ec611a10228945d2ec8a9cf6c5531dee6b7ee56'
...
* commit '1ec611a10228945d2ec8a9cf6c5531dee6b7ee56':
rtsp: warning when max_delay reached
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-16 14:11:24 +02:00
Hendrik Leppkes
3d481f39a2
Merge commit 'ff7f6ea9db2a77d74f7e68a716f53ba1f3f85017'
...
* commit 'ff7f6ea9db2a77d74f7e68a716f53ba1f3f85017':
rtpdec: add a trace when jitter buffer is full
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-16 14:10:27 +02:00
Hendrik Leppkes
7cecab2f88
Merge commit '3c525b8b4770c1ac5f466a12c5523802bd5d40eb'
...
* commit '3c525b8b4770c1ac5f466a12c5523802bd5d40eb':
rtpdec: Increase the max size of the jitter buffer to 500 packets
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-16 14:07:05 +02:00
Carl Eugen Hoyos
f17ca46009
lavf/riff: Support decoding Ambisonic wav files.
...
Reported and tested by Andy Furniss, adf d lists at gmail
2015-09-16 14:03:13 +02:00
Hendrik Leppkes
182550e42c
Merge commit '10de408738d28ab17aa5c1fdccd809b0637c12d5'
...
* commit '10de408738d28ab17aa5c1fdccd809b0637c12d5':
lavf: Update to the new crypto API
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-16 11:06:55 +02:00
Eloi BAIL
1ec611a102
rtsp: warning when max_delay reached
...
packets are queued due to packet reordering until the queue reach its
maximal size or max delay is reached.
This commit adds a warning trace when max delay is reached.
Signed-off-by: Eloi BAIL <eloi.bail@savoirfairelinux.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-09-16 09:58:12 +03:00
Eloi BAIL
d555bd69e7
rtpdec: inform jitter buffer size
...
This commit print as AV_LOG_VERBOSE the jitter buffer
size. It might be the default value or the value set by application.
Signed-off-by: Eloi BAIL <eloi.bail@savoirfairelinux.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-09-16 09:55:51 +03:00
Eloi BAIL
ff7f6ea9db
rtpdec: add a trace when jitter buffer is full
...
This commit adds a warning trace when jitter buffer
is full. It helps to understand leading decoding issues.
Signed-off-by: Eloi BAIL <eloi.bail@savoirfairelinux.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-09-16 09:54:14 +03:00
Michael Niedermayer
cbbd906be6
avformat/flvdec: Check that sizes match and resync if not
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-16 03:43:21 +02:00
Michael Niedermayer
e01ad950bb
avformat/rtmpproto: Fix 2nd packet size
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-16 03:43:21 +02:00
Michael Niedermayer
3496a20bb9
avformat/flvdec: Change packet loop to return EAGAIN instead of looping until a valid packet is foud
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-16 03:32:27 +02:00
Thierry Foucu
164cd9b42a
libavformat/riff.c: Add support for RV40 codec in AVI
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-15 23:21:47 +02:00
Carl Eugen Hoyos
b290972b8f
lavf: Switch probesize and max_analyze_duration to 64bit.
...
Both are only accessible through AVOptions.
2015-09-15 18:02:51 +02:00
Carl Eugen Hoyos
c311713ca9
lavf: Switch bitrate to 64bit unless compatibility with avconv was requested.
...
Based on a patch by Steve Swanson, swanysteve at gmail.
Fixes ticket #2089 .
2015-09-15 18:02:47 +02:00
Michael Niedermayer
7404f3bdb9
lavc: Switch bitrate to 64bit unless compatibility with avconv was requested.
2015-09-15 18:02:43 +02:00
Eloi BAIL
0edf6c8b2a
rtpdec: add a trace when jitter buffer is full
...
This commit adds an error trace when jitter buffer
is full. It helps to understand leading decoding issues.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-15 13:34:51 +02:00
Eloi BAIL
bc3ea39415
rtpdec: inform jitter buffer size
...
This commit print as AV_LOG_INFO the jitter buffer
size. It might be the default value or the value set by application.
Signed-off-by: Eloi BAIL <eloi.bail@savoirfairelinux.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-15 13:34:51 +02:00
Martin Storsjö
3c525b8b47
rtpdec: Increase the max size of the jitter buffer to 500 packets
...
Since the actual max length of the jitter buffer is restricted by
max_delay, this shouldn't harm the overall latency (assuming that
max_delay is set properly), while allowing packet reordering with
a larger number of packets (which may be required with high bitrate
video).
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-09-15 09:35:44 +03:00
Michael Niedermayer
59c1fec9fb
avformat/avidec: Change (last)pos to 64bit
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-15 04:26:19 +02:00
Michael Niedermayer
3e2ef00394
avformat/avidec: Workaround broken initial frame
...
Fixes Ticket4851
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-15 04:26:19 +02:00
Michael Niedermayer
8b47e10651
avformat/hlsenc: Fix the method command line parameter
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-14 21:07:37 +02:00
Clément Bœsch
c8370a17f5
avformat: fix style after recent commits
2015-09-14 17:42:56 +02:00
Alex Agranovsky
1de21215d4
mpjpegde: trim header name/value of MIME headers
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-14 17:13:14 +02:00
Alex Agranovsky
0572bd1a62
mpjpeg: probe should require same constraints as packet reader - both proper content-type and content-size must be present
...
return AVPROBE_SCORE_MAX, rather than random positive number on success
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-14 17:03:47 +02:00
Vittorio Giovara
10de408738
lavf: Update to the new crypto API
2015-09-13 17:34:45 +02:00
Michael Niedermayer
5629143433
avformat/flvdec: Use the first index entry to find the first packet if there was a parsing error in the header
...
Fixes: unknow_codec.flv
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-13 14:22:31 +02:00
Michael Niedermayer
fd6296e412
avformat/flvdec: Print last packet size at trace level
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-13 14:22:31 +02:00
Michael Niedermayer
6bed88ac78
avformat/flvdec: Print terminator value found if it differs from AMF_END_OF_OBJECT in AMF_DATA_TYPE_MIXEDARRAY
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-13 14:22:21 +02:00
Alex Agranovsky
276ab7c148
avformat/mpjpegdec: Allow mpjpeg headers parsing to succeed upon EOF, if required headers are present
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-13 03:08:50 +02:00
Alexandra Hájková
c0a49077ea
asfdec: add more checks for size left in asf packet buffer
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-09-12 14:23:32 +02:00
Carl Eugen Hoyos
e3e55758dc
lavf/img2dec: Improve jpeg auto-detection.
...
Fixes ticket #4841 .
2015-09-12 19:00:02 +02:00
Clément Bœsch
a84613b4c2
avformat/mov: use AV_OPT_TYPE_BOOL for export_{all,xmp} options
2015-09-12 18:24:49 +02:00
Hendrik Leppkes
de969904b1
Merge commit 'c0a49077ea4ff3a0ad30b9e33f1bb06ba9112aaa'
...
* commit 'c0a49077ea4ff3a0ad30b9e33f1bb06ba9112aaa':
asfdec: add more checks for size left in asf packet buffer
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-12 15:18:05 +02:00
Tobias Rapp
1416370027
avformat/avienc: add muxer option "write_channel_mask"
...
Allow writing an empty channel mask into the wave format header. Useful
if the input file contains an unknown channel layout.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-12 14:39:28 +02:00
Hendrik Leppkes
09c15eac3e
Merge commit '41ed749fe987e60b0485fa721ad869590651324d'
...
* commit '41ed749fe987e60b0485fa721ad869590651324d':
ogg: Do not try to use the parser if it is not present
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-12 13:05:01 +02:00
Simon Thelen
b84232694e
lavf/webvttenc: Require webvtt file to contain exactly one WebVTT stream.
...
Not requiring this can end up producing hilariously broken files
together with -c:s copy (e.g. a webvtt file containing binary subtitle data).
Signed-off-by: Simon Thelen <ffmpeg-dev@c-14.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-12 02:17:41 +02:00
Alex Agranovsky
9b10ae5727
avformat/format: Remove parameters from mime type before comparission for probing
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-12 00:42:18 +02:00
Alexander S. Drozdov
6a8d58d693
avformat/tcp: TCP Protocol: fix descriptor leak on listen and interrupt
...
If we try to listen on TCP port and ff_listen() fails on
interrupt callback socket (bind) descriptor overwrites and
does not closed at all.
As a result, we can't rebind to the same port.
Reviewed-by: Stephan Holljes <klaxa1337@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-11 21:44:30 +02:00
Thierry Foucu
f600381b79
libavformat/utils.c: use correct variable for message.
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-11 21:25:33 +02:00
Paul B Mahol
abef6383fb
avformat/wavdec: use AV_OPT_TYPE_BOOL for ignore_length
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-11 15:41:18 +00:00
Paul B Mahol
2506244155
avformat/wavenc: use AV_OPT_TYPE_BOOL for write_bext option
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-11 15:34:17 +00:00
Michael Niedermayer
f58e011a1f
avformat/utils: Increase default max_stream_analyze_duration for flv
...
Fixes: unknown_video.flv
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-11 01:12:28 +02:00
Clément Bœsch
342ead4491
avformat/subtitles: improve ff_subtitles_queue_finalize() doxy
2015-09-10 21:40:49 +02:00
Clément Bœsch
af924fd9e4
avformat/subtitles: forward log context in ff_subtitles_queue_finalize() for logging
2015-09-10 21:40:07 +02:00
Clément Bœsch
a634649a36
avformat/subtitles: make sure we don't drop "duplicated" events from different streams
2015-09-10 21:39:13 +02:00
Clément Bœsch
4f26c99912
avformat/subtitles: drop duplicated events
...
Fix Ticket #4843
2015-09-10 21:18:34 +02:00
Luca Barbato
41ed749fe9
ogg: Do not try to use the parser if it is not present
...
Bug-Id: 886
CC: libav-stable@libav.org
2015-09-10 14:47:33 +02:00
Vesselin Bontchev
8e28e0721c
avformat/aa: initialize "header_seed" and "header_key"
...
Fixes CID 1322364, CID 1322363
Signed-off-by: Vesselin Bontchev <vesselin.bontchev@yandex.com>
2015-09-10 09:06:13 +02:00
James Almer
67d81b76b6
avformat/avformat: remove dead code
...
Signed-off-by: James Almer <jamrial@gmail.com>
2015-09-09 20:12:16 -03:00
Michael Niedermayer
a7c0373ea3
avformat/mxfenc: Move sponsorship notice to its own comment block
...
Suggested-by: BBB
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-09 02:49:49 +02:00
Michael Niedermayer
7277a4ace9
avformat/http: add reconnect_delay_max option
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-09 02:23:38 +02:00
Hendrik Leppkes
5d8e836d0e
Replace all remaining occurances of step/depth_minus1 and offset_plus1
2015-09-08 17:10:48 +02:00
Hendrik Leppkes
8998caf0a4
Merge commit '77cf23668991bfd1fb69339f13e1511b4186b7b3'
...
* commit '77cf23668991bfd1fb69339f13e1511b4186b7b3':
asfdec: alloc enough space for storing name in asf_read_metadata_obj
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-08 14:46:21 +02:00
Hendrik Leppkes
f4ce8cea73
Merge commit '7cad1bf0759ada2a1fc3e80bb232a5377dd4fda4'
...
* commit '7cad1bf0759ada2a1fc3e80bb232a5377dd4fda4':
mov: Allow more than one keyframe per trun
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-08 14:46:02 +02:00
Hendrik Leppkes
80b93f2463
Merge commit '599fe93a840397f551d94db406d0bad42b46b94b'
...
* commit '599fe93a840397f551d94db406d0bad42b46b94b':
riff: Add AVj2 fourcc for Avid jpeg2000
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-08 14:28:39 +02:00
Michael Niedermayer
124b7cd485
Add NOA credits
2015-09-08 01:04:19 +02:00
Michael Niedermayer
bdbab4a351
avformat/http: exponentially delay reconnection to avoid flooding the server
...
Reviewed-by: Zhang Rui <bbcallen@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-07 19:28:46 +02:00
Michael Niedermayer
9bd68dea2b
avformat/http: Add reconnect_at_eof and reconnect_streamed options
...
They allow reconnecting endless live streams which fail with eof
Reviewed-by: Zhang Rui <bbcallen@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-07 19:26:43 +02:00
Hendrik Leppkes
1f1c100833
Merge commit '9ad1e0c12caa440de860bd8f2122beb11d73815c'
...
* commit '9ad1e0c12caa440de860bd8f2122beb11d73815c':
mux: Make sure that the data is actually written
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-07 16:19:40 +02:00
Hendrik Leppkes
88e7ea3e56
Merge commit 'e05f7ed5436207f4a55f1978b223c7f8bc82af42'
...
* commit 'e05f7ed5436207f4a55f1978b223c7f8bc82af42':
file: properly forward errors from file_read() and file_write()
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-07 16:11:57 +02:00
Hendrik Leppkes
d02d208211
Merge commit 'c45fcf30cfab687004ed1cdc06ebaa21f4262a0b'
...
* commit 'c45fcf30cfab687004ed1cdc06ebaa21f4262a0b':
DXV decoder
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-07 16:07:07 +02:00
Alexandra Hájková
77cf236689
asfdec: alloc enough space for storing name in asf_read_metadata_obj
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-09-06 20:48:36 +02:00
Martin Storsjö
7cad1bf075
mov: Allow more than one keyframe per trun
...
The previous restriction was partially designed to fix certain
(broken) samples from bug 215. There should be no restriction on the
number of keyframes per fragment or trun.
The spec suggests that all frames lacking MOV_FRAG_SAMPLE_FLAG_IS_NON_SYNC
are key frames, but we require the flag MOV_FRAG_SAMPLE_FLAG_DEPENDS_YES
to be unset as well. This works for (possibly broken) media that never
sets the NON_SYNC flag and should also be correct for any spec-compliant
file.
For files that never set either of the flags, all samples are marked
as keyframes.
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-09-06 21:24:37 +03:00
Zhang Rui
b821aed706
avformat/async: fix integer conversion warning
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-07 13:15:44 +02:00
tab
fb135139fd
avformat: implement query_codec for the image2 muxer.
...
Allows avformat_query_codec to be used to check for valid image2 encoders.
Reuses the existing ff_guess_image2_codec ID table.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-07 02:48:58 +02:00
Michael Niedermayer
b480f0e37a
avformat/cafenc: Move special casing of PCM codecs into ff_codec_caf_tags
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-07 01:21:12 +02:00
Ronald S. Bultje
a02e27c03d
md5: change flags to match framemd5.
...
This prevents the following warning: "Application provided invalid, non
monotonically increasing dts to muxer in stream 0: 9 >= 9".
2015-09-06 15:07:19 -04:00
Michael Niedermayer
63974bd494
avformat/http: print error that causes reconnection
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-06 20:43:38 +02:00
Michael Niedermayer
7990beedee
avformat/http: require seekability only when seeking to position != 0
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-06 20:43:38 +02:00
Yayoi
1bb8a53f08
avformat/samidec: do not include trailing sami footer in the last packet
...
Signed-off-by: Clément Bœsch <u@pkh.me>
2015-09-06 13:09:02 +02:00
Zhang Rui
929451c5cb
avformat/async: replace strerror with av_err2str
...
Fixes CID1322337
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-06 10:51:46 +02:00
Hendrik Leppkes
160e92c8bf
Merge commit 'e88103a7f92cf27a2868b50acc8a9912f6088249'
...
* commit 'e88103a7f92cf27a2868b50acc8a9912f6088249':
Bump major versions of all libraries
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-05 21:35:46 +02:00
Hendrik Leppkes
590ea32e54
Postpone removal of API changes from within the last two years
2015-09-05 21:21:20 +02:00
Andy Wu
c43bd08f8b
avformat/mp3dec: Make MP3 seek fast
...
When AVFMT_FLAG_FAST_SEEK is specified, make MP3 seek operation as
fast as possible.
When no "-usetoc" is specified, the default operation is using TOC
if available; otherwise, uses linear interpolation. This is useful
when seeking a large MP3 file with no TOC available. One example is
Podcast, many MP3 files are large, but no CBR/VBR tags. Most of
them are actually CBR. Even in VBR cases, this option sacrifices the
accuracy of playback time in exchange for responsiveness.
2015-09-05 18:32:58 +02:00
Hendrik Leppkes
2df52088ef
Merge commit '4e649debcf7f71d35c6b38cdb7ee715eba95d64a'
...
* commit '4e649debcf7f71d35c6b38cdb7ee715eba95d64a':
Postpone API-incompatible changes until the next bump
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-05 17:52:10 +02:00
Hendrik Leppkes
83a5df54ea
Remove left-over FF_API_DESTRUCT_PACKET cruft
2015-09-05 16:51:53 +02:00
Hendrik Leppkes
87c8812270
Merge commit '01bcc2d5c23fa757d163530abb396fd02f1be7c8'
...
* commit '01bcc2d5c23fa757d163530abb396fd02f1be7c8':
lavc: Drop deprecated destruct_packet related functions
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-05 16:50:09 +02:00
Michael Niedermayer
4eca1939ef
avformat/hls: Check for av_opt_set_dict() failure
...
Fixes: CID1320426
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-05 14:28:08 +02:00
Carl Eugen Hoyos
da8eb70dc3
lavf/aiffenc: Clarify an error message.
...
Only one audio stream is allowed in aiff.
2015-09-05 10:53:55 +02:00
Arnaud Bienner
0cdba4ac68
lavf/mxfdec: Support more codecs in mxf_picture_essence_container_uls[].
...
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
2015-09-05 00:11:14 +02:00
Arnaud Bienner
35ab967f52
lavf/mxf: Support video essence container uls for vc1.
...
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
2015-09-05 00:09:13 +02:00
Arnaud Bienner
fd6b38bed7
lavf/riff: Support fourcc AVd1 for dvvideo.
...
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
2015-09-05 00:09:06 +02:00
Carl Eugen Hoyos
f7361dbcf4
lavc/mxfdec: Support more mxf files with codec_ul.
...
Fixes decoding for the sample from ticket #4820 .
2015-09-04 23:50:34 +02:00
Vittorio Giovara
599fe93a84
riff: Add AVj2 fourcc for Avid jpeg2000
2015-09-04 17:51:29 +02:00
Michael Niedermayer
9ed53d5a8a
avformat/mov: Change the type of the r/g/b variables
...
Fixes integer overflow
Fixes: unknown_unknown_31b_795_cov_1818643045_raybauduc.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-03 22:17:00 +02:00
Stephan Holljes
280d140cb0
lavf/http: Remove superfluous parenthesis.
...
Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-03 20:11:29 +02:00
Stephan Holljes
dd7b486e8e
lavf/http: Fix incorrectly placed parenthesis.
...
The assignment had incorrectly placed parentheses which resulted in ret
always being > 0.
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-03 18:55:49 +02:00
Michael Niedermayer
9f6ca28e32
avformat/concatdec: Check file variable before dereferencing
...
Fixes CID1322328
Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu>
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-03 18:53:44 +02:00
Sean McGovern
9ad1e0c12c
mux: Make sure that the data is actually written
...
And forward the error if it is not.
Bug-Id: 881
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-09-03 13:39:34 +02:00
Sean McGovern
e05f7ed543
file: properly forward errors from file_read() and file_write()
...
Bug-Id: 881
CC: libav-stable@libav.org
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-09-03 13:39:34 +02:00
Michael Niedermayer
fddcd9e570
avformat/file: Fix copy and paste error
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-03 12:42:40 +02:00
Michael Niedermayer
4cad4bd4ca
avformat/hlsenc: Fix memleak of path
...
Fixes: CID1322343
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-03 11:28:29 +02:00
Michael Niedermayer
e3d8504fd0
avformat/hlsenc: Initialize vtt_oc to help static analyzers
...
This is also more robust in case it ever is used
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-03 11:28:29 +02:00
Michael Niedermayer
879603fa3f
avformat/latmenc: Add assert to avoid coverity warning
...
Fixes CID1322323
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-03 11:28:29 +02:00
Michael Niedermayer
bd70303ead
avformat/swfdec: Check return value of init_get_bits8()
...
Fixes: CID1322320
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-03 10:20:29 +02:00