summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* Merge commit '9b56d5c11488656254e9aed8d964ef2b7c2ff5e6'Hendrik Leppkes2015-10-29
|\ | | | | | | | | | | | | * commit '9b56d5c11488656254e9aed8d964ef2b7c2ff5e6': avpacket: Deprecate av_dup_packet Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avpacket: Deprecate av_dup_packetLuca Barbato2015-10-26
| | | | | | | | | | As documented, `av_dup_packet` is broken by design, `av_packet_ref` matches the AVFrame ref-counted API and can be safely used instead.
* | Merge commit 'd584533cf38141172e20bae5436629ee17c8ce50'Hendrik Leppkes2015-10-29
|\| | | | | | | | | | | | | * commit 'd584533cf38141172e20bae5436629ee17c8ce50': avformat: Rework add_to_pktbuf Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avformat: Rework add_to_pktbufLuca Barbato2015-10-26
| | | | | | | | | | Make it return an error and check its return value when it is used. Simplify the usage by calling `av_packet_ref` internally when needed.
* | avformat/img2enc: re enable atomic writes with split planesMichael Niedermayer2015-10-28
| | | | | | | | | | | | They work now after fixing the implementation Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/img2enc: Fix img2enc atomic implementation to work with split planesMichael Niedermayer2015-10-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/img2enc: Disable rename&atomic writing for non file protocol and ↵Michael Niedermayer2015-10-27
| | | | | | | | | | | | | | | | | | split planes For protocols other than local files ff_rename() is not implemented For split planes support the implementation is simply wrong Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | mpegts: Fix FATE seek testHendrik Leppkes2015-10-27
| |
* | asfdec: fix FATE seek testHendrik Leppkes2015-10-27
| |
* | Replace remaining occurances of av_free_packet with av_packet_unrefHendrik Leppkes2015-10-27
| |
* | Merge commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457': avpacket: Replace av_free_packet with av_packet_unref Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avpacket: Replace av_free_packet with av_packet_unrefLuca Barbato2015-10-26
| | | | | | | | | | | | | | `av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.
* | Merge commit 'a5d42043093a39636a1f4021a37dd9c612479f6f'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit 'a5d42043093a39636a1f4021a37dd9c612479f6f': avformat: Always return ref-counted AVPacket Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avformat: Always return ref-counted AVPacketLuca Barbato2015-10-26
| | | | | | | | And drop the av_dup_packet from the input_thread.
* | Merge commit '533a6198505edd1379e1cd722852350ae4a85acc'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit '533a6198505edd1379e1cd722852350ae4a85acc': innoHeim/Rsupport Screen Capture Codec decoder Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * innoHeim/Rsupport Screen Capture Codec decoderVittorio Giovara2015-10-23
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avformat/aiff: add ADP4 DVI ADPCM supportPaul B Mahol2015-10-27
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '18f9308e6a96bbeb034ee5213a6d41e0b6c2ae74'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit '18f9308e6a96bbeb034ee5213a6d41e0b6c2ae74': mpjpeg: Cope with multipart lacking the initial CRLF Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * mpjpeg: Cope with multipart lacking the initial CRLFLuca Barbato2015-10-23
| | | | | | | | | | | | | | | | | | Some server in the wild do not put the boundary at a newline as rfc1347 7.2.1 states. Cope with that by reading a line and if it is not empty reading a second one. Reported-By: bitingsock
* | Merge commit '22f4d9c303ede1a240538fd105c97047db40dc86'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit '22f4d9c303ede1a240538fd105c97047db40dc86': img2enc: Make sure the images are atomically written Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * img2enc: Make sure the images are atomically writtenLuca Barbato2015-10-23
| | | | | | | | | | Users that want to generate a live-preview and serve it would otherwise get partial images.
* | Merge commit '5ea5a24eb70646a9061b85af407fcbb5dd4f89fd'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit '5ea5a24eb70646a9061b85af407fcbb5dd4f89fd': movenc: Honor flush requests with delay_moov, when some tracks lack samples Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * movenc: Honor flush requests with delay_moov, when some tracks lack samplesMartin Storsjö2015-10-23
| | | | | | | | | | | | | | | | This also makes sure that a fragmented file without the empty_moov flag (i.e. with a non-empty initial moov fragment) actually gets written, if some of the tracks turn out to not have any samples. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'e02dcdf6bb6835ef4b49986b85a67efcb3495a7f'Hendrik Leppkes2015-10-27
|\| | | | | | | | | | | | | * commit 'e02dcdf6bb6835ef4b49986b85a67efcb3495a7f': rtsp: Allow $ as interleaved packet indicator before a complete response header Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * rtsp: Allow $ as interleaved packet indicator before a complete response headerMartin Storsjö2015-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some RTSP servers ("HiIpcam/V100R003 VodServer/1.0.0") respond to our keepalive GET_PARAMETER request by a truncated RTSP header (lacking the final empty line to indicate a complete response header). Prior to 764ec70149, this worked just fine since we reacted to the $ as interleaved packet indicator anywhere. Since $ is a valid character within the response header lines, 764ec70149 changed it to be ignored there. But to keep compatibility with such broken servers, we need to at least allow reacting to it at the start of lines. Signed-off-by: Martin Storsjö <martin@martin.st>
* | fix: assigning instead of comparingAppChecker2015-10-27
| | | | | | | | | | Signed-off-by: AppChecker <support.appc@cnpo.ru> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | srtenc: ReindentTimothy Gu2015-10-26
| |
* | mov: Add support parsing QuickTime Metadata Keys.Tinglin Liu2015-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Apple dev specification: https://developer.apple.com/library/mac/documentation/QuickTime/QTFF/Metadata/Metadata.html Basically the structure is like: |--meta |----hdlr |----keys |----ilst 1) The handler type in the metadata handler atom is ‘mdta’. 2) The key and value are stored separately for each key-value pair. The 'keys' atom stores the key table, while 'ilst' atom stores the values corresponding to the indices in the key table. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | avformat/thp: set duration for audio stream tooPaul B Mahol2015-10-26
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec: add SDX2 DPCM decoderPaul B Mahol2015-10-26
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavf/xwma: Support wmapro.Carl Eugen Hoyos2015-10-25
| | | | | | | | Fixes ticket #4963.
* | avformat/aiffdec: give friendly message if compressed codec tag is unsupportedPaul B Mahol2015-10-25
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | doc/general: update after recent additionsPaul B Mahol2015-10-25
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat: add xvag demuxerPaul B Mahol2015-10-25
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avutil/tree: add additional const qualifier to the comparatorGanesh Ajjanagadde2015-10-24
| | | | | | | | | | | | | | | | | | | | | | | | | | libc's qsort comparator has a const qualifier on both arguments. This adds a missing const qualifier to exactly match the comparator API. Existing usages of av_tree_find, av_tree_insert are appropriately modified: type signature changes of the comparators, and removal of unnecessary void * casts of function pointers. Reviewed-by: Henrik Gramner <henrik@gramner.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | all: remove some casts of function pointer to void *Ganesh Ajjanagadde2015-10-24
| | | | | | | | | | | | | | | | | | | | These casts are unnecessary, and may safely be removed. Found by enabling -Wpedantic on clang 3.7. Tested with FATE. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | lavf/ingenientdec: Add a probe function.Carl Eugen Hoyos2015-10-24
| |
* | avformat/genh: add ADPCM IMA DVI supportPaul B Mahol2015-10-23
| | | | | | | | | | | | Our decoder have wrong name. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/ads: extend format long descriptionPaul B Mahol2015-10-23
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/svag: extend format long descriptionPaul B Mahol2015-10-23
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/msf: extend format long descriptionPaul B Mahol2015-10-23
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/mov: Autodetect mp3s which need parsingMichael Niedermayer2015-10-23
| | | | | | | | | | | | | | | | | | | | mp3 packets all have the same duration and number of samples if their duration indicated in the container varies then thats an indication that they are not 1 mp3 packet each. If this autodetection fails for some case then please contact us and provide a testcase. Fixes Ticket4938
* | avfilter,swresample,swscale: use fabs, fabsf instead of FFABSGanesh Ajjanagadde2015-10-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is well known that fabs and fabsf are at least as fast and sometimes faster than the FFABS macro, at least on the gcc+glibc combination. For instance, see the reference: http://patchwork.sourceware.org/patch/6735/. This was a patch to glibc in order to remove their usages of a macro. The reason essentially boils down to fabs using the __builtin_fabs of the compiler, while FFABS needs to infer to not use a branch and to simply change the sign bit. Usually the inference works, but sometimes it does not. This may be easily checked by looking at the asm. This also has the added benefit of reducing macro usage, which has problems with side-effects. Note that avcodec is not handled here, as it is huge and most things there are integer arithmetic anyway. Tested with FATE. Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | Merge commit 'f890677d05bc4e8b494a73373ab4cc19791bf884'Hendrik Leppkes2015-10-22
|\| | | | | | | | | | | | | * commit 'f890677d05bc4e8b494a73373ab4cc19791bf884': Replace any remaining avpicture function with imgutils Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * Replace any remaining avpicture function with imgutilsVittorio Giovara2015-10-21
| | | | | | | | | | | | avpicture_get_size() -> av_image_get_buffer_size() Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * httpauth: Add space after commas in HTTP/RTSP auth headerAndrey Utkin2015-10-14
| | | | | | | | | | | | | | | | | | | | | | This fixes access to Grandstream cameras, which return 401 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. See RFC 2617 (HTTP Auth). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | libavformat/electronicarts: also demux mpeg audio layer 2Peter Ross2015-10-22
| | | | | | | | | | | | | | | | Signed-off-by: Peter Ross <pross@xvid.org> http://wiki.multimedia.cx/index.php?title=Electronic_Arts_SCxl Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavf/mpjpegdec: Return 0 if an allocation inside the probe function fails.Carl Eugen Hoyos2015-10-22
| |
* | avformat/electronicarts: fix demuxing of certain eam filesPaul B Mahol2015-10-22
| | | | | | | | | | | | Such files have gaps between header chunks. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/electronicarts: support ADPCM PSXPaul B Mahol2015-10-22
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>