aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge commit '00b62968d079e63bf22028f253ac297292436ebe'Hendrik Leppkes2015-11-021-9/+2
|\| | | | | | | | | | | | | * commit '00b62968d079e63bf22028f253ac297292436ebe': os_support: Don't try to return the service name as a string in getnameinfo Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * os_support: Don't try to return the service name as a string in getnameinfoMartin Storsjö2015-10-301-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Some systems may be lacking getservbyport; the previous ifdef wasn't quite enough since it still assumed that struct servent was defined, as pointed out by Clément Gregoire. Simply remove the possibility to return non-numeric services in getnameinfo; no caller of getnameinfo within libavformat currently try to use getnameinfo for retrieving the port number without NI_NUMERICSERV, and falling back on getservbyport may be non-threadsafe. Signed-off-by: Martin Storsjö <martin@martin.st>
* | avformat/segafilm: set video stream durationPaul B Mahol2015-11-021-1/+6
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/segafilm: set audio stream durationPaul B Mahol2015-11-021-0/+3
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/segafilm: implement seekingPaul B Mahol2015-11-021-0/+21
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat: unref packet after storing it in internal packet queueHendrik Leppkes2015-11-021-0/+1
| | | | | | | | Fixes a memory leak when using genpts
* | avformat: always unref the packet after parsingHendrik Leppkes2015-11-021-5/+4
| | | | | | | | This fixes a memory leak when side-data is present.
* | avformat/ipmovie: add context to av_log()Paul B Mahol2015-11-021-38/+38
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/ipmovie: put video decoding_map_size into packet and use it in decoderPaul B Mahol2015-11-021-3/+4
| | | | | | | | | | | | | | The size of decoding map can differ from one calculated internally, producing artifacts while decoding video. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/icecast: Initialize .str based default for AV_OPT_TYPE_STRING typesMichael Niedermayer2015-10-311-7/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/http: Initialize .str based default for AV_OPT_TYPE_STRING typesMichael Niedermayer2015-10-311-7/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | all: fix enum definition for large valuesGanesh Ajjanagadde2015-10-302-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ISO C restricts enumerator values to the range of int. Thus (for instance) 0x80000000 unfortunately does not work, and throws a warning with -Wpedantic on clang 3.7. This fixes it by using alternative expressions that result in identical values but do not have this issue. Tested with FATE. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* | avformat/3dostr: Remove redundant ;Michael Niedermayer2015-10-301-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/oggparseogm: Enable parser for mpeg4Michael Niedermayer2015-10-301-0/+2
| | | | | | | | | | | | Fixes regression with iJi.ogv Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat: stop exporting ffurl_read_complete, ffurl_seek and ffurl_sizeAndreas Cadhalpun2015-10-291-3/+0
| | | | | | | | | | | | | | They are not in public headers and not used outside of libavformat. Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | avformat: add DC STR demuxerPaul B Mahol2015-10-294-1/+84
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec: add ADPCM AICA decoderPaul B Mahol2015-10-291-0/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat: add 3dostr demuxerPaul B Mahol2015-10-294-1/+171
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '9b56d5c11488656254e9aed8d964ef2b7c2ff5e6'Hendrik Leppkes2015-10-292-19/+8
|\| | | | | | | | | | | | | * commit '9b56d5c11488656254e9aed8d964ef2b7c2ff5e6': avpacket: Deprecate av_dup_packet Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avpacket: Deprecate av_dup_packetLuca Barbato2015-10-262-12/+5
| | | | | | | | | | 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-291-38/+39
|\| | | | | | | | | | | | | * commit 'd584533cf38141172e20bae5436629ee17c8ce50': avformat: Rework add_to_pktbuf Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avformat: Rework add_to_pktbufLuca Barbato2015-10-261-32/+38
| | | | | | | | | | 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-281-4/+0
| | | | | | | | | | | | 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-271-6/+12
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/img2enc: Disable rename&atomic writing for non file protocol and ↵Michael Niedermayer2015-10-271-3/+13
| | | | | | | | | | | | | | | | | | 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-271-2/+4
| |
* | asfdec: fix FATE seek testHendrik Leppkes2015-10-271-2/+4
| |
* | Replace remaining occurances of av_free_packet with av_packet_unrefHendrik Leppkes2015-10-2733-50/+50
| |
* | Merge commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457'Hendrik Leppkes2015-10-2756-99/+99
|\| | | | | | | | | | | | | * 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-2659-104/+104
| | | | | | | | | | | | | | `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-271-0/+8
|\| | | | | | | | | | | | | * commit 'a5d42043093a39636a1f4021a37dd9c612479f6f': avformat: Always return ref-counted AVPacket Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avformat: Always return ref-counted AVPacketLuca Barbato2015-10-261-0/+8
| | | | | | | | And drop the av_dup_packet from the input_thread.
* | Merge commit '533a6198505edd1379e1cd722852350ae4a85acc'Hendrik Leppkes2015-10-271-0/+2
|\| | | | | | | | | | | | | * commit '533a6198505edd1379e1cd722852350ae4a85acc': innoHeim/Rsupport Screen Capture Codec decoder Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * innoHeim/Rsupport Screen Capture Codec decoderVittorio Giovara2015-10-231-0/+2
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avformat/aiff: add ADP4 DVI ADPCM supportPaul B Mahol2015-10-272-0/+2
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '18f9308e6a96bbeb034ee5213a6d41e0b6c2ae74'Hendrik Leppkes2015-10-271-3/+10
|\| | | | | | | | | | | | | * 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-231-3/+10
| | | | | | | | | | | | | | | | | | 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-271-2/+5
|\| | | | | | | | | | | | | * 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-231-2/+5
| | | | | | | | | | Users that want to generate a live-preview and serve it would otherwise get partial images.
* | Merge commit '5ea5a24eb70646a9061b85af407fcbb5dd4f89fd'Hendrik Leppkes2015-10-271-8/+8
|\| | | | | | | | | | | | | * 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-231-8/+8
| | | | | | | | | | | | | | | | 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-271-3/+1
|\| | | | | | | | | | | | | * 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-231-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-271-1/+1
| | | | | | | | | | Signed-off-by: AppChecker <support.appc@cnpo.ru> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | srtenc: ReindentTimothy Gu2015-10-261-30/+29
| |
* | mov: Add support parsing QuickTime Metadata Keys.Tinglin Liu2015-10-262-6/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-261-0/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec: add SDX2 DPCM decoderPaul B Mahol2015-10-263-0/+6
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavf/xwma: Support wmapro.Carl Eugen Hoyos2015-10-251-1/+9
| | | | | | | | Fixes ticket #4963.
* | avformat/aiffdec: give friendly message if compressed codec tag is unsupportedPaul B Mahol2015-10-251-0/+5
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>