summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* Merge commit '5f0226668124aa7ae4db501ba7f4ace4c770f3d1'Derek Buitenhuis2016-05-08
|\ | | | | | | | | | | | | * commit '5f0226668124aa7ae4db501ba7f4ace4c770f3d1': matroska: Support interlaced content correctly Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * matroska: Support interlaced content correctlyLuca Barbato2016-03-31
| | | | | | | | The matroska specification now has two elements for it.
| * rtpdec_jpeg: fix low contrast image on low quality settingIco Doornekamp2016-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is that the argument 'q' is of the type uint8_t. According to the JPEG standard, if 1 <= q <= 50, the scale factor 'S' should be 5000 / Q. Because the create_default_qtables() reuses the variable 'q' to store the result of this calculation, for small values of q < 19, q wil subsequently overflow and give wrong results in the calculated quantization tables. Instead, use a new variable 'S' (same name as in RFC2435) with the proper range to store the result of the division. Signed-off-by: Martin Storsjö <martin@martin.st>
* | avformat/tee: Use ref instead copy in write_packetJan Sebechlebsky2016-05-07
| | | | | | | | | | | | | | | | | | Replace av_copy_packet and deprecated av_dup_packet by creating reference using av_packet_ref. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/tee: Fix TeeSlave.bsfs pointer array sizeJan Sebechlebsky2016-05-07
| | | | | | | | | | | | | | | | | | | | TeeSlave.bsfs is array of pointers to AVBitStreamFilterContext, so element size should be really size of a pointer, not size of TeeSlave structure. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | riff: add comment for g721,g723 codec tagscompn2016-05-07
| | | | | | | | Signed-off-by: Piotr Bandurski <ami_stuff@o2.pl>
* | avformat/riff: add M102 FourCCPiotr Bandurski2016-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/riff: add M101Michael Niedermayer2016-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/dtsdec: reduce the scope of crctabJames Almer2016-05-04
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat/dtsdec: detect core-less streamsfoo862016-05-04
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat/mpegtsenc: fix usage of AVStream.codecJames Almer2016-05-04
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat/h264dec: Avoid get_ue_golomb_31( ) due to ff_ prefixed table from ↵Michael Niedermayer2016-05-04
| | | | | | | | | | | | | | golomb.c Found-by: jamrial Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/utils: Do not detect video codecs when audio is expectedMichael Niedermayer2016-05-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/h264dec: Check pps_id/sps_id fields from parameter setsMichael Niedermayer2016-05-04
| | | | | | | | | | | | Fixes a misdetection in wav.detected.as.h264.error.wav Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/mpegtsenc: Define service_type "HEVC digital television service".smallishzulu2016-05-03
| | | | | | | | Fixes ticket #5455.
* | rtpenc: packetizer for VC-2 HQ RTP payload format (draft v1)Thomas Volkert2016-05-03
| |
* | lavf/mpegtsenc: Fix stream_type for low sample rate MP2/MP3.Carl Eugen Hoyos2016-05-03
| |
* | lavf/mpegts: Add E-AC3 registered stream specifier "EAC3".Carl Eugen Hoyos2016-05-03
| | | | | | | | Related to ticket #5501.
* | avformat/riff: add M702Michael Niedermayer2016-05-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/options_table: Add missing identifier for very strict complianceMichael Niedermayer2016-05-02
| | | | | | | | | | | | Fixes Ticket5443 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/wsddec: set bit_rate, fixes duration estimationPaul B Mahol2016-05-01
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/dsfdec: set bit_rate, fixes duration estimationPaul B Mahol2016-05-01
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavf/mpegts: Return small probe score for very short transport streams.Carl Eugen Hoyos2016-05-01
| | | | | | | | Fixes Debian bug 823098.
* | avformat/riff: add m704Michael Niedermayer2016-05-01
| | | | | | | | | | | | (Ticket 2616) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/iff: fix deadlock in parsing dsd chunksPaul B Mahol2016-04-30
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/dsfdec: check if number of channels is <= 0Paul B Mahol2016-04-30
| | | | | | | | | | | | Fixes FPE bellow. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat: add Wideband Single-bit Data (WSD) demuxerPeter Ross2016-04-30
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/ffmdec: Check pix_fmtMichael Niedermayer2016-04-28
| | | | | | | | | | | | | | Fixes crash Fixes Ticket5412 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/riff: support for matrox m703 mpeg-2Александр Слободенюк2016-04-28
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/riff: assign g721 and g723 codec tags to g726 decoderPiotr Bandurski2016-04-28
| |
* | lavf/concatdec: clear extradata when inserting h264_mp4toannexb bsf.Nicolas George2016-04-26
| | | | | | | | Fix remuxing H.264-in-MP4 to Matroska, possibly others.
* | lavf/concatdec: remove unrelated change during codecpar merge.Nicolas George2016-04-26
| | | | | | | | | | | | | | Clearing the extradata is not related to the codecpar change, and it breaks if auto_convert is disabled. Fix trac ticket #5461.
* | avformat/mux: Check that deinit is set before calling itMichael Niedermayer2016-04-24
| | | | | | | | | | | | Fixes null pointer dereference Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/mpegts: Skip over broken 0x80 headersMichael Niedermayer2016-04-24
| | | | | | | | | | | | This fixes demuxing of 01c56b0dc1.ts Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/mpegts: factor duplicate seek back code into mpegts_resyncMichael Niedermayer2016-04-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/isom: Support Perian tag NELL for nellymoser.Carl Eugen Hoyos2016-04-23
| | | | | | | | Reported by forum user turas35.
* | avformat/tee: Handling slave failure in tee muxerJan Sebechlebsky2016-04-22
| | | | | | | | | | | | | | | | | | Adds per slave option 'onfail' to the tee muxer allowing an output to fail, so other slave outputs can continue. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/tee: Fix leaks in tee muxer when open_slave failsJan Sebechlebsky2016-04-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In open_slave failure can happen before bsfs array is initialized, close_slave must check that bsfs is not NULL before accessing tee_slave->bsfs[i] element. Slave muxer expects write_trailer to be called if it's write_header suceeded (so resources allocated in write_header are freed). Therefore if failure happens after successfull write_header call, we must ensure that write_trailer of that particular slave is called. Some cleanups are made by Marton Balint. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | Merge commit '704a39769719d2e1ae3f13bfc562b51c9cd002d7'Derek Buitenhuis2016-04-22
|\| | | | | | | | | | | | | * commit '704a39769719d2e1ae3f13bfc562b51c9cd002d7': rtmpdh: add an stdio.h include Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * rtmpdh: add an stdio.h includeAnton Khirnov2016-03-25
| | | | | | | | The test uses printf.
* | avcodec: add TrueMotion 2.0 Real Time decoderPaul B Mahol2016-04-21
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '439929859ae0eb9542d3bb8a0c856bd5a1d1ec48'Derek Buitenhuis2016-04-21
|\| | | | | | | | | | | | | * commit '439929859ae0eb9542d3bb8a0c856bd5a1d1ec48': testprogs: Clean up #includes Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * testprogs: Clean up #includesDiego Biurrun2016-03-24
| |
* | Merge commit '3ee2ec5ec1e39a438f89302d949c93a1b5d365a2'Derek Buitenhuis2016-04-21
|\| | | | | | | | | | | | | * commit '3ee2ec5ec1e39a438f89302d949c93a1b5d365a2': unix: Use rw_timeout for setting the connect timeout Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * unix: Use rw_timeout for setting the connect timeoutMartin Storsjö2016-03-24
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * tcp: Use rw_timeout for setting the connect/listen timeoutsMartin Storsjö2016-03-24
| | | | | | | | | | | | | | | | Apply the default value for timeout in code instead of via the avoption, to allow distinguishing the default value from the user not setting anything at all. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'fab8156b2f30666adabe227b3d7712fd193873b1'Derek Buitenhuis2016-04-21
|\| | | | | | | | | | | | | * commit 'fab8156b2f30666adabe227b3d7712fd193873b1': avio: Copy URLContext generic options into child URLContexts Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * avio: Copy URLContext generic options into child URLContextsMartin Storsjö2016-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since all URLContexts have the same AVOptions, such AVOptions will be applied on the outermost context only and removed from the dict, while they probably make sense on all contexts. This makes sure that rw_timeout gets propagated to the innermost URLContext (to make sure it gets passed to the tcp protocol, when opening a http connection for instance). Alternatively, such matching options would be kept in the dict and only removed after the ffurl_connect call. Signed-off-by: Martin Storsjö <martin@martin.st>
* | libnut: Pass stream to ff_parse_specific_paramsDerek Buitenhuis2016-04-21
| | | | | | | | | | | | | | | | This function bo longer takes an AVCodecContext. Fixes ticket #5430. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | lavf: use new decode APIwm42016-04-21
| | | | | | | | | | | | | | From Libav commit 8bc4accc37ab047d2fd85d672c577b39dfc918e1, with additional code for decoding subtitles (not present in Libav). Signed-off-by: Anton Khirnov <anton@khirnov.net>