summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* avformat/rsd: Check av_new_packet() return valueMichael Niedermayer2015-10-17
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/genh: Check av_new_packet() return valueMichael Niedermayer2015-10-17
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/rsd: propagate return values of extradata helper functionsJames Almer2015-10-16
| | | | | | They can return errors other than ENOMEM Signed-off-by: James Almer <jamrial@gmail.com>
* avformat: add svag demuxerPaul B Mahol2015-10-16
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/rsd: add WADP supportPaul B Mahol2015-10-16
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat: add ads demuxerPaul B Mahol2015-10-16
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat: add vag demuxerPaul B Mahol2015-10-16
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat: add genh demuxerPaul B Mahol2015-10-16
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/hls: add support for EXT-X-MAPAnssi Hannula2015-10-15
| | | | | | | | | Without EXT-X-MAP support we miss the first bytes of some streams. These streams worked by luck before byte-ranged segment support was added in da7759b3579de3e98deb1ac58e642b861280ba54 Fixes ticket #4797.
* avformat/hls: fix segment selection regression on track changes of live streamsAnssi Hannula2015-10-15
| | | | | | | | | | | | | | | | Commit ad701326b43078b90 ("avformat/hls: open playlists immediately when AVDISCARD_ALL is dropped") inadvertently caused first_packet to never be cleared, causing select_cur_seq_no() to not use the specific code for live streams. In practice this means that when the user selects a different audio track during live stream (i.e. non-VOD) playback, there may be some additional delay as the code might select an incorrect segment at first, and we have to wait for video to catch audio (if too late segment was selected) or to download more following audio segments (if too early segment was selected). Fix that by restoring the zeroing of first_packet.
* lavf: Remove duplicated latm demuxer.Carl Eugen Hoyos2015-10-15
| | | | The demuxer used to demux loas files for which a dedicated demuxer exists.
* Merge commit 'e55376a1fd5abebbb0a082aa20739d58c2260a37'Hendrik Leppkes2015-10-14
|\ | | | | | | | | | | | | * commit 'e55376a1fd5abebbb0a082aa20739d58c2260a37': rtmpproto: Write correct flv packet sizes at the end of packets Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * rtmpproto: Write correct flv packet sizes at the end of packetsMichael Niedermayer2015-10-14
| | | | | | | | | | | | | | In one case it was written as zero, one case left it uninitialized, missed the 11 bytes for the flv header. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avformat/async: cache some data for fast seek backwardZhang Rui2015-10-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/vc1dec: Autodetect raw vc-1 streams.Carl Eugen Hoyos2015-10-14
| | | | | | | | Move the demuxer into its own file.
* | Merge commit '34ed5c2e4d9b7fe5c9b3aae2da5599fabb95c02e'Hendrik Leppkes2015-10-14
|\| | | | | | | | | | | | | | | | | | | * commit '34ed5c2e4d9b7fe5c9b3aae2da5599fabb95c02e': avformat: Do not use AVFMT_RAWPICTURE Removal from ffmpeg.c not merged because some parts of avdevice still use it Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avformat: Do not use AVFMT_RAWPICTURELuca Barbato2015-10-13
| | | | | | | | | | There are no formats supporting it anymore and it is deprecated. Update the documentation accordingly.
* | Merge commit 'b9ece15a01782b4f301c0c139d1d7b20f848914c'Hendrik Leppkes2015-10-14
|\| | | | | | | | | | | | | * commit 'b9ece15a01782b4f301c0c139d1d7b20f848914c': nullenc: Use the wrapped avframe pseudo-encoder Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * nullenc: Use the wrapped avframe pseudo-encoderLuca Barbato2015-10-10
| |
* | Merge commit 'd00a8fd417ad20cecbc7ca17b25f352655148fb1'Hendrik Leppkes2015-10-14
|\| | | | | | | | | | | | | * commit 'd00a8fd417ad20cecbc7ca17b25f352655148fb1': yuv4mpeg: Use the wrapped avframe pseudo-encoder Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * yuv4mpeg: Use the wrapped avframe pseudo-encoderLuca Barbato2015-10-10
| |
* | avformat/mov: fix integer overflowGanesh Ajjanagadde2015-10-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partially fixes Ticket 4727. -duration is not a safe expression, since duration can be INT_MIN. One might ask how it can become INT_MIN. Although it is true that line 2574 is no longer reached with INT_MIN due to commit 053e80f6eaf8d87521fe58ea96886b6ee0bbe59d (which fixed another integer overflow issue), mov_update_dts_shift is called on line 3549 as well, right after a read of untrusted data. One can do the fix locally there, but that function is already a huge mess. Changing mov_update_dts_shift is likely better. This changes duration to INT_MIN + 1 in such cases. This should not make any practical difference since such streams are anyway fuzzer files. Tested with FATE. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avformat/webvttdec: Don't stop parsing on commentsRicardo Constantino2015-10-12
| | | | | | | | Signed-off-by: Ricardo Constantino <wiiaboo@gmail.com>
* | lavf/tee: allow multiple stream specifiers in select.Bela Bodecs2015-10-12
| | | | | | | | | | | | | | | | | | It makes possible to put multiple stream specifier into the select option separated by comma. eg. select=\'a:0,v\' Signed-off-by: Bela Bodecs <bodecsb@vivanet.hu> Signed-off-by: Nicolas George <george@nsup.org>
* | avformat/flvdec: set broken_sizes for "metadatacreator : MEGA"Michael Niedermayer2015-10-12
| | | | | | | | | | | | | | | | The 2nd size value is wrong for the sample file Fixes: Ticket4903 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/rsd: support XADP tagPaul B Mahol2015-10-11
| | | | | | | | | | | | It appears that Xbox ADPCM is same as WAV adpcm. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | fate/async: test error code from underlying protocolZhang Rui2015-10-10
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/async: pass internal I/O errorZhang Rui2015-10-10
| | | | | | | | | | | | av_fifo_generic_write() does not return any error code. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '00cc10aee380f882507bac994ac469d8358d12e8'Hendrik Leppkes2015-10-10
|\| | | | | | | | | | | | | * commit '00cc10aee380f882507bac994ac469d8358d12e8': asfdec: do not skip padding if offset is above packet size - padding Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * asfdec: do not skip padding if offset is above packet size - paddingAlexandra Hájková2015-10-08
| | | | | | | | | | | | Sample-Id: https://samples.libav.org/asf-wmv/demux-asf-assert-failed.wmv Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | lavf/mov: add support for sidx fragment indexesRodger Combs2015-10-09
| | | | | | | | Fixes trac #3842
* | doc: fix spelling errorsAndreas Cadhalpun2015-10-09
| | | | | | | | | | Reviewed-by: Lou Logan <lou@lrcd.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | lavf/hls: don't convert NULL options to empty strings; fixes HTTP CRLF warningsRodger Combs2015-10-09
| |
* | avformat/srtdec: make sure we probe a numberClément Bœsch2015-10-09
| | | | | | | | | | Fixes regression since 7218352e0228028dfa009a3799ec93fd041065f1: WebVTT files were matching the SRT probing.
* | lavf/matroskadec: drop indexes that appear brokenRodger Combs2015-10-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/flvdec: Print stream type in case a new stream is discovered after ↵Michael Niedermayer2015-10-07
| | | | | | | | | | | | the header Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/httpauth: Add space after commas in HTTP/RTSP auth headerAndrey Utkin2015-10-07
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | avformat/flvdec: Remove dead loopMichael Niedermayer2015-10-06
| | | | | | | | | | | | Fixes CID1325682 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/omadec: Fix { typoMichael Niedermayer2015-10-05
| | | | | | | | | | | | Fixes CID1324299 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | isom: add support for DNxHR codec familyChristophe Gisquet2015-10-05
| | | | | | | | | | | | This is actually similar to DNxHD. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'f56a08559334b7eb6b3fedbc0cc741887f6067ae'Hendrik Leppkes2015-10-05
|\| | | | | | | | | | | | | * commit 'f56a08559334b7eb6b3fedbc0cc741887f6067ae': matroskaenc: Don't write a track language tag Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * matroskaenc: Don't write a track language tagJohn Stebbins2015-10-03
| | | | | | | | | | | | | | | | | | "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>
| * hls: Check av_opt_set_dict return value as wellLuca Barbato2015-10-01
| | | | | | | | Bug-Id: CID 1320426
* | concatdec: fix metadata memleak on errorMarton Balint2015-10-05
| | | | | | | | | | | | | | Fixes Coverity CID 1323077. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Marton Balint <cus@passwd.hu>
* | libavformat/tls_securetransport: fix argument evalulation order UBRodger Combs2015-10-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | all: add _DEFAULT_SOURCE locally wherever neededGanesh Ajjanagadde2015-10-04
| | | | | | | | | | | | | | | | | | 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 af1818276ef271af98e2e2bbabb4dc875b4fa7d8. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | avformat/flacdec: support fast-seekChing Yi, Chan2015-10-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf: add chromaprint muxerRodger Combs2015-10-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavformat/hlsenc: Use of uninitialized memory unlinking old filesDHE2015-10-03
| | | | | | | | | | | | | | Fixes ticket#4900 Signed-off-by: DHE <git@dehacked.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/mlpdec: Simplify mlp/thd probe function.Carl Eugen Hoyos2015-10-03
| | | | | | | | Move the demuxers into their own file.