Paul B Mahol
a99226133e
avformat/rsd: support XADP tag
...
It appears that Xbox ADPCM is same as WAV adpcm.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-10-11 18:39:23 +02:00
Zhang Rui
810fbd8933
fate/async: test error code from underlying protocol
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-10 17:58:45 +02:00
Zhang Rui
7dc42c9e65
avformat/async: pass internal I/O error
...
av_fifo_generic_write() does not return any error code.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-10 17:58:45 +02:00
Hendrik Leppkes
80fd622590
Merge commit ' 00cc10aee3'
...
* commit '00cc10aee3 ':
asfdec: do not skip padding if offset is above packet size - padding
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-10-10 09:56:29 +02:00
Rodger Combs
4ab5666759
lavf/mov: add support for sidx fragment indexes
...
Fixes trac #3842
2015-10-09 21:18:28 -05:00
Andreas Cadhalpun
8d6625642d
doc: fix spelling errors
...
Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-10-09 22:09:08 +02:00
Rodger Combs
f00ec7eb1b
lavf/hls: don't convert NULL options to empty strings; fixes HTTP CRLF warnings
2015-10-09 04:12:57 -05:00
Clément Bœsch
40d9d6de90
avformat/srtdec: make sure we probe a number
...
Fixes regression since 7218352e02 : WebVTT
files were matching the SRT probing.
2015-10-09 10:53:21 +02:00
Rodger Combs
4f7d9b7706
lavf/matroskadec: drop indexes that appear broken
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-09 04:43:49 +02:00
Alexandra Hájková
00cc10aee3
asfdec: do not skip padding if offset is above packet size - padding
...
Sample-Id: https://samples.libav.org/asf-wmv/demux-asf-assert-failed.wmv
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-10-08 21:55:31 +02:00
Michael Niedermayer
f4585e666f
avformat/flvdec: Print stream type in case a new stream is discovered after the header
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-07 02:41:40 +02:00
Andrey Utkin
fdb3283872
avformat/httpauth: Add space after commas in HTTP/RTSP auth header
...
This fixes access to Grandstream cameras, which return 401 to ffmpeg
otherwise.
VLC sends Authorization: header with spaces between parameters, and it
is known to work with Grandstream devices and broad range of other HTTP
and RTSP servers, so author considers switching to such behaviour safe.
Just for record - RFC 2617 (HTTP Auth) does not specify the need in
spaces, so this is not a bug of FFmpeg.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-07 00:10:16 +02:00
Michael Niedermayer
e34ba5ec53
avformat/flvdec: Remove dead loop
...
Fixes CID1325682
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-06 01:22:35 +02:00
Michael Niedermayer
8deb1fdac8
avformat/omadec: Fix { typo
...
Fixes CID1324299
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-05 22:31:38 +02:00
Christophe Gisquet
3a6a432b58
isom: add support for DNxHR codec family
...
This is actually similar to DNxHD.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-05 12:44:05 +02:00
Hendrik Leppkes
4064d688e7
Merge commit ' f56a085593'
...
* commit 'f56a085593 ':
matroskaenc: Don't write a track language tag
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-10-05 11:12:12 +02:00
Marton Balint
80b6cc4214
concatdec: fix metadata memleak on error
...
Fixes Coverity CID 1323077.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Marton Balint <cus@passwd.hu>
2015-10-05 00:16:12 +02:00
Rodger Combs
854972b53d
libavformat/tls_securetransport: fix argument evalulation order UB
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-04 23:14:19 +02:00
Ganesh Ajjanagadde
26e8895b73
all: add _DEFAULT_SOURCE locally wherever needed
...
Glibc 2.20 onwards generates a deprecation warning for usage of _BSD_SOURCE and _SVID_SOURCE.
The solution from man feature_test_macros is to define both _DEFAULT_SOURCE and the old macros.
This solution is on the lines of the one in commit af1818276e .
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2015-10-04 12:15:16 -04:00
Ching Yi, Chan
5d926d5473
avformat/flacdec: support fast-seek
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-04 13:23:42 +02:00
Rodger Combs
a2b8b16300
lavf: add chromaprint muxer
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-04 01:37:31 +02:00
DHE
76e3f8242d
libavformat/hlsenc: Use of uninitialized memory unlinking old files
...
Fixes ticket#4900
Signed-off-by: DHE <git@dehacked.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-03 23:52:19 +02:00
Carl Eugen Hoyos
32a6d37a6b
lavf/mlpdec: Simplify mlp/thd probe function.
...
Move the demuxers into their own file.
2015-10-03 22:40:27 +02:00
Carl Eugen Hoyos
d89820002a
lavf/shortendec: Autodetect raw Shorten streams.
...
Move the demuxer into its own file.
2015-10-03 21:48:16 +02:00
John Stebbins
f56a085593
matroskaenc: Don't write a track language tag
...
"language" is not an offical matroska tag.
Track languages are specified with the MATROSKA_ID_TRACKLANGUAGE ebml.
Writing the tag overrides the ebml specified language during playback with
libav and some other players.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-10-03 13:44:35 +02:00
Rodger Combs
14221b2dd9
lavf/hls: allow subtitles to be read despite incomplete handling
...
This will give incorrect results in some cases due to not parsing segments
separately, so it currently requires -strict experimental.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-03 12:54:44 +02:00
Hendrik Leppkes
4d2160c99a
Merge commit ' 9a3202a98b'
...
* commit '9a3202a98b ':
Screenpresso SPV1 decoder
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-10-03 12:22:41 +02:00
Rodger Combs
9825a24e5b
lavf/utils: avoid giving up probing early with long subtitle events
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-03 12:10:03 +02:00
Michael Niedermayer
14f6c4356b
avformat/flvdec: accept sizes if they are off by 11
...
This error was produced by rtmproto.c, it is possibly such streams
where dumped, this commit is needed to support them
Fixes: z0e.flv
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-02 20:18:53 +02:00
Carl Eugen Hoyos
da767f06f5
lavf/rawdec: Autodetect raw TrueHD streams.
2015-10-02 03:15:04 +02:00
Michael Niedermayer
94d50b5d00
avformat/rtmpproto: Fix 2 more cases of the 2nd packet size being wrong
...
This should fix RTMP input which was broken by cbbd906be6
the 40 + 11 case is untested as it did not occur in the testcase
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-02 02:16:14 +02:00
Carl Eugen Hoyos
aea5db97f7
lavf/rawdec: Autodetect raw mlp streams.
2015-10-01 19:58:10 +02:00
Luca Barbato
74942685cb
hls: Check av_opt_set_dict return value as well
...
Bug-Id: CID 1320426
2015-10-01 13:51:13 +02:00
Clément Bœsch
7218352e02
avformat/srtdec: more lenient first line probing
...
Fixes Ticket #4898
2015-10-01 11:48:45 +02:00
Clément Bœsch
d161a2a72b
avformat/srtdec: fix number check for the first character
2015-10-01 11:46:05 +02:00
Vittorio Giovara
9a3202a98b
Screenpresso SPV1 decoder
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-09-30 16:45:11 +02:00
Matt Oliver
3b03bde46e
avformat/async: Allow compilation with native threads.
2015-09-30 13:41:53 +10:00
Shawn Singh
733475160a
libavformat/mov.c: Add parsing for DDTS atom for DTS audio
...
The DDTS atom is defined in ETSI TS 102 114, v1.4.1, Annex E.
This is useful for DTS-HD formats, some of which cannot be
decoded by dcadec.c or libdcadec.
Signed-off-by: Shawn Singh <shawnsingh@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-30 05:05:17 +02:00
Carl Eugen Hoyos
98ed0716fb
lavf/rawenc: Force one stream for hevc and m4v.
2015-09-29 21:36:18 +02:00
Przemysław Sobala
01dd7e025c
lavf/img2dec: Fix memory leak
...
Fixes #4886
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-29 19:21:13 +02:00
Hendrik Leppkes
b01891a9f0
Merge commit ' 948f3c19a8'
...
* commit '948f3c19a8 ':
lavc: Make AVPacket.duration int64, and deprecate convergence_duration
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-29 15:22:52 +02:00
Thierry Foucu
c5e5e63062
riff: Add support for RV40 codec in AVI
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-29 14:33:01 +02:00
wm4
948f3c19a8
lavc: Make AVPacket.duration int64, and deprecate convergence_duration
...
Note that convergence_duration had another meaning, one which was in
practice never used. The only real use for it was a 64 bit replacement
for the duration field. It's better just to make duration 64 bits, and
to get rid of it.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-09-29 14:33:00 +02:00
Hendrik Leppkes
4b7685b6c6
Merge commit ' cc8db76061'
...
* commit 'cc8db76061 ':
mpegts: use avcodec_get_type() to set codec_type
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-29 13:45:23 +02:00
Thierry Foucu
7f72f2d75e
libavformat/flvdec.c: free always the packet after a resync.
...
In case of resync, always free the packet, but retry only if the resync
did not get to the end of the file. Otherwise, there is a memory leak when the
last packet in the file is corrupted.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-09-29 04:01:50 +02:00
wm4
cc8db76061
mpegts: use avcodec_get_type() to set codec_type
...
Note that this slightly changes behavior: it sets AVMEDIA_TYPE_UNKNOWN
if the codec type is unknown. This should be ok.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2015-09-28 10:50:50 +02:00
Ganesh Ajjanagadde
db9de9b954
avformat/hls: remove unused function
...
Fixes -Wunused-function from
http://fate.ffmpeg.org/report.cgi?time=20150820031140&slot=arm64-darwin-clang-apple-5.1
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-09-26 18:44:36 +02:00
Paul B Mahol
aff3acc54c
avformat/iff: check for possible overflow in 2nd argument of av_new_packet
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2015-09-25 21:25:08 +02:00
Lucas de Andrade
770dd10504
avformat/hls: Update Cookies response with Setcookie
...
Context cookies must be updated when a playlist response return Setcookie header.
Signed-off-by: wm4 <nfxjfg@googlemail.com>
2015-09-25 17:22:44 +02:00
Michael Bradshaw
244184217c
Return EOF for ICO when the end is reached
2015-09-24 23:35:10 +02:00