17946 Commits
Author SHA1 Message Date
Vladimir Serbinenko a705bebbc7 Fix poll.h filename 2020-03-13 14:45:12 +01:00
Vladimir Serbinenko 4efcc121be Disable unix sockets on 3DS 2020-03-13 14:44:44 +01:00
Marton Balint 95584ddac4 mxfdec: set AVFMT_SEEK_TO_PTS demuxer flag
Since 53f2ef2c4a seeking is done using PTS.

Signed-off-by: Marton Balint <[email protected]>
2015-08-14 14:20:25 +02:00
Stefano Sabatini fedc422684 lavf/mpegts: apply misc option description fixes
Use impersonal form, drop capitalization and ending dot.
2015-08-14 12:08:57 +02:00
Michael Niedermayer 856452cf63 avformat/rmdec: MLTI with multiple MDPR support
Fixes Ticket4496

Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-14 04:40:00 +02:00
Michael Niedermayer 02fff49936 avformat/rmdec: Move MLTI handling out of ff_rm_read_mdpr_codecdata()
Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-14 03:32:00 +02:00
Mariusz Szczepańczyk affbecb0de lavf/ftp: implement NLST method
Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-14 01:00:11 +02:00
Michael Niedermayer acbd78a001 avformat/wavdec: Detect wrongly interpreted specification about the sample value in the fact chunk
Fixes Ticket703

Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-13 12:38:31 +02:00
Michael Niedermayer 4ec4454ccf avformat/wavdec: Do not discard sample_count due to rounding
Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-13 12:38:20 +02:00
Ganesh Ajjanagadde 1bbb5ea10d avformat/tls_gnutls: correct version detection for certificate support
Fixes Ticket3748

Signed-off-by: Ganesh Ajjanagadde <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-13 02:24:37 +02:00
Marton Balint 8009a1f1fd avisynth: fix setting stream timebase
Stream timebase should be set using avpriv_set_pts_info, otherwise
avctx->pkt_timebase is not correct.

This should fix ticket #4766.

Patch is only compile tested.

Signed-off-by: Marton Balint <[email protected]>
Reviewed-by: Stephen Hutchinson <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-13 01:20:16 +02:00
Michael Niedermayer 0d2a62d257 avformat/avidec: Simplify dshow_block_align based special case detection
Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-12 22:51:40 +02:00
Michael Niedermayer 45c558563a avformat: Move MAX_PROBE_PACKETS to internal.h
Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-12 17:33:47 +02:00
Michael Niedermayer 5f501f066e avformat/avidec: Disable AVSTREAM_PARSE_TIMESTAMPS for flac
The flac parser does not support it, its also not needed.

Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-12 04:03:37 +02:00
Michael Niedermayer 254ff6e6bf avformat/avidec: Add flac to the dshow_block_align exception list
Fixes Ticket4758

Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-12 03:11:15 +02:00
Marton Balint 0860016529 concatdec: fix broken file_inpoint calculation
Should fix ticket #4765.

Signed-off-by: Marton Balint <[email protected]>
2015-08-11 11:19:17 +02:00
Michael Niedermayer 55a07cf49c avformat/ftp: Use av_freep() for dir_buffer
Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-10 18:46:38 +02:00
Mariusz Szczepańczyk ee44cb3c81 lavf/ftp: properly read an empty path
Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-10 18:23:40 +02:00
Lukasz Marek bc93053161 lavf/ftp: implement directory listing callbacks
Signed-off-by: Lukasz Marek <lukasz.m.luki2 at gmail.com>
Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-10 18:23:35 +02:00
Hendrik Leppkes 10ea06b3bb Merge commit '5f200bbf98efe50f63d0515b115d2ba8dae297bc'
* commit '5f200bbf98efe50f63d0515b115d2ba8dae297bc':
  movenc: Place the sidx index after the initial moov/mdat pair

Merged-by: Hendrik Leppkes <[email protected]>
2015-08-10 11:24:30 +02:00
Hendrik Leppkes 7653ebfff6 Merge commit '83f254e65f938657a4dbec711e4c94252a72daf9'
* commit '83f254e65f938657a4dbec711e4c94252a72daf9':
  movenc: Rename reserved_moov_pos to reserved_header_pos

Conflicts:
	libavformat/movenc.c
	libavformat/movenc.h

Merged-by: Hendrik Leppkes <[email protected]>
2015-08-10 11:23:21 +02:00
Hendrik Leppkes 6c52432b48 Merge commit '8e34089e265a6b01e1e3301e8864439d26793753'
* commit '8e34089e265a6b01e1e3301e8864439d26793753':
  movenc: Check that frag_info entries exist in mov_write_sidx_tag

Merged-by: Hendrik Leppkes <[email protected]>
2015-08-10 11:20:09 +02:00
Martin Storsjö 5f200bbf98 movenc: Place the sidx index after the initial moov/mdat pair
For fragmented files with non-empty moov, with a fragment index
(sidx), place the index after the initial moov/mdat pair.

Previously, for this pathological case, the index was written
at the start of the file.

Signed-off-by: Martin Storsjö <[email protected]>
2015-08-10 09:46:14 +03:00
Martin Storsjö 83f254e65f movenc: Rename reserved_moov_pos to reserved_header_pos
The same field is also used for writing the sidx index header,
for fragmented files, when the faststart flag is used.

Signed-off-by: Martin Storsjö <[email protected]>
2015-08-10 09:46:07 +03:00
Martin Storsjö 8e34089e26 movenc: Check that frag_info entries exist in mov_write_sidx_tag
This fixes crashes with pathological cases when trying to write
a sidx index (via the -movflags faststart option, in combination
with fragmenting options), when no fragments actually have been
written. (This is possible if the empty_moov flag isn't used,
so that all actual packet data is written in the moov/mdat pair,
and no moof/mdat pairs have been written.)

In these pathological cases, no sidx should be written at all.

Signed-off-by: Martin Storsjö <[email protected]>
2015-08-10 09:46:03 +03:00
Michael Niedermayer 46f15de8a4 avformat/gifdec: correct r_frame_rate for single frame gifs
Fixes Ticket4650

Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-10 04:45:27 +02:00
Hendrik Leppkes 3d2d672828 Merge commit 'e5997152f54f790229c99f237f8eb6b5b1ee683a'
* commit 'e5997152f54f790229c99f237f8eb6b5b1ee683a':
  asf: Use time_t where needed

Merged-by: Hendrik Leppkes <[email protected]>
2015-08-07 09:27:55 +02:00
Hendrik Leppkes b54cf4b886 Merge commit '944f60866f507e3c0850ae9c2f30dac1da54587c'
* commit '944f60866f507e3c0850ae9c2f30dac1da54587c':
  asfdec: read values properly

Merged-by: Hendrik Leppkes <[email protected]>
2015-08-07 09:27:49 +02:00
Michael Niedermayer ace8376653 avformat/matroskaenc: Avoid "for (int i" syntax for better compatibility
Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-06 01:15:08 +02:00
Sasi Inguva 31852540d4 libavformat/matroska: Write stream durations in metadata, in the format of mkvmerge.
Compute individual stream durations in matroska muxer.
Write them as string tags in the same format as mkvmerge tool does.

Signed-off-by: Sasi Inguva <[email protected]>
2015-08-05 22:29:23 +02:00
Luca Barbato e5997152f5 asf: Use time_t where needed
gmtime takes a time_t not an uint64_t.
2015-08-04 21:40:04 +02:00
Carl Eugen Hoyos 128e722bc1 lavf/swf: Fix auto-detection of compressed files.
Fixes auto-detection of compressed swf files as in
http://samples.ffmpeg.org/SWF/compressed-swf/
Reported by forum user Zard1096.
2015-08-04 21:34:00 +02:00
Alexandra Hájková 944f60866f asfdec: read values properly
The length of BOOL values is 16 bits in the Metadata Object but
32 bits in the Extended Content Description Object.

Signed-off-by: Luca Barbato <[email protected]>
2015-08-04 21:33:55 +02:00
Matthieu Bouron f6518e51b8 lavf/mxfdec: support segmented frame layout as separate fields layout
According to S377M, segmented frame layout is identical to separate
field layout except that the two fields are taken from a single scan
of the incoming image, ie: they are coincident in time. Thus the
resulting frame is progressive.

Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-04 13:03:29 +02:00
Hendrik Leppkes 190e521123 Merge commit 'fdbc544d29176ba69d67dd879df4696f0a19052e'
* commit 'fdbc544d29176ba69d67dd879df4696f0a19052e':
  asfdec: prevent the memory leak while reading metadata

Merged-by: Hendrik Leppkes <[email protected]>
2015-08-02 12:32:10 +02:00
Hendrik Leppkes 2ab827389b Merge commit '33dc1913ab7aaefc991b3e665d1d0b5d0b088672'
* commit '33dc1913ab7aaefc991b3e665d1d0b5d0b088672':
  asfdec: remove improper assignement that caused wrong timestamps

Merged-by: Hendrik Leppkes <[email protected]>
2015-08-02 10:41:56 +02:00
Hendrik Leppkes 07094e5e40 Merge commit '78491fe8cfed83d2aead95dafe26f0d3f999e961'
* commit '78491fe8cfed83d2aead95dafe26f0d3f999e961':
  asfdec: do not export empty metadata

Merged-by: Hendrik Leppkes <[email protected]>
2015-08-02 10:41:45 +02:00
Hendrik Leppkes 988ddfea5e Merge commit 'cd4d9df22738e6f147521ccb72c7930db6050914'
* commit 'cd4d9df22738e6f147521ccb72c7930db6050914':
  asfdec: free AVDictionaries properly when closing the demuxer

Merged-by: Hendrik Leppkes <[email protected]>
2015-08-02 10:34:18 +02:00
Alexandra Hájková fdbc544d29 asfdec: prevent the memory leak while reading metadata
Signed-off-by: Anton Khirnov <[email protected]>
2015-08-02 08:43:51 +02:00
Vesselin Bontchev 336822edf4 avformat/mov: fix regression in processing .aax files
Commit 0a551cbe introduced "activation_bytes" option, and not specifying
this option (while calling ffmpeg / ffprobe) causes the program to quit
early. Before this commit, ffprobe was capable of processing metadata in
.aax files.

Signed-off-by: Michael Niedermayer <[email protected]>
2015-08-02 03:40:38 +02:00
Stephan Holljes 3240e69de6 lavf/http: Implement server side network code.
add http_accept,
add http_handshake and move handshake logic there,
handle connection closing.

Signed-off-by: Stephan Holljes <[email protected]>
2015-08-01 00:58:31 +02:00
Stephan Holljes 75235a2550 lavf/tcp: increase range for listen and call the underlying socket operations accordingly
Signed-off-by: Stephan Holljes <[email protected]>
2015-08-01 00:58:31 +02:00
Stephan Holljes 21198155a7 lavf/tcp: add tcp_accept
Signed-off-by: Stephan Holljes <[email protected]>
2015-08-01 00:58:31 +02:00
Stephan Holljes 63c07a956b lavf/avio: add avio_accept and avio_handshake
Signed-off-by: Stephan Holljes <[email protected]>
2015-08-01 00:58:31 +02:00
Stephan Holljes 5125e4b53f lavf/avio: add ffurl_accept and ffurl_handshake
Signed-off-by: Stephan Holljes <[email protected]>
2015-08-01 00:58:31 +02:00
Stephan Holljes cf6c871bee lavf/network: split ff_listen_bind into ff_listen and ff_accept
Signed-off-by: Stephan Holljes <[email protected]>
2015-08-01 00:58:31 +02:00
Alexandra Hájková 33dc1913ab asfdec: remove improper assignement that caused wrong timestamps
and remove unneeded variable

Sample-Id: https://samples.libav.org/asf-wmv/asf-code-53/movn018.asf

Signed-off-by: Anton Khirnov <[email protected]>
2015-07-31 09:10:05 +02:00
Alexandra Hájková 78491fe8cf asfdec: do not export empty metadata
Signed-off-by: Anton Khirnov <[email protected]>
2015-07-31 09:09:27 +02:00
Alexandra Hájková cd4d9df227 asfdec: free AVDictionaries properly when closing the demuxer
Signed-off-by: Anton Khirnov <[email protected]>
2015-07-31 07:23:20 +02:00
Ganesh Ajjanagadde c1bfb99ff2 avformat/wavdec: add extra sample count check for G.729 files
Can be used to fix Ticket4577

Signed-off-by: Ganesh Ajjanagadde <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
2015-07-31 03:17:55 +02:00