Anton Khirnov
451d566f4b
lavf: postpone removal of public metadata conversion API
...
It's been deprecated only a few months ago, long after 0.6.
14 years ago
Anton Khirnov
548e62c5ae
lavf: postpone removal of deprecated avio functions
...
They've been deprecated very recently.
14 years ago
Martin Storsjö
a92a7ddc25
applehttp: Only check the discard flags if v->ctx actually is initialized
...
This code could be executed if the demuxer reads more than one
segment before returning from av_open_input_stream.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Anton Khirnov
86a89ae3f2
lavf: bump minor and add an APIChanges entry for the last avio changes
14 years ago
Anton Khirnov
4bde56d1af
avio: deprecate url_exist in favor of avio_check.
14 years ago
Stefano Sabatini
313176565c
file: implement url_check() callback in the file and pipe protocols
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Stefano Sabatini
175389c854
avio: add avio_check()
...
The new function is more flexible than url_exist(), as it allows to
specify which access flags to check, and does not require an explicit
open of the checked resource.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
cbea3ac820
avio: left-shift AVIO_ flags on next bump
...
Now AVIO_RDONLY is defined as 0, so it's not usable as a flag.
14 years ago
Michael Niedermayer
d6f79edb6e
flv demuxer: dont error out due to index problems, but inform the user about it.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Vitor Sessak
96573c0d76
lavf/utils.c: Order packets with identical PTS by stream index.
...
This allows for more reproducible results when using multi-threading.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Martin Storsjö
578d6861a7
flvdec: Allow parsing keyframes metadata without seeking in most cases
...
Stop the avio input at a point where amf_parse_object can
continue parsing the end of the object seamlessly, when all
data is available.
If unsupported data is encountered within the keyframes object,
try seeking to the start of the keyframes object - if the seek
back was successful, the caller can continue parsing the rest
of the AMF data.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Anton Khirnov
ff1ec0c3f8
avio: undeprecate av_url_read_fseek/fpause under nicer names
...
It seems their replacements won't be ready anytime soon.
14 years ago
Kharkov Alexander
b5304f7b2e
flvdec: Fix support for flvtool2 "keyframes based" generated index
...
Current keyframes data parser unconditionally rewind metadata to
the end at the end of function. As result ALL metadata located
after keyframes index not parsed, and as metadata object can have
ANY placement inside metadata it can lead to unpredictable result
(bitrate can not be found, etc.). As result FLV movie will not
play at all in such situation.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Diego Biurrun
70ad9842a5
Fix compilation of timefilter test program.
...
The printf function is forbidden in library code, but not in test programs,
so #undefine the printf macro that disables the system printf function.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Michael Niedermayer
c104a6e902
oggdec: use av_freep() instead of av_free()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Anton Khirnov
d1c5fdf892
avio: add more documentation for AVIOContext.
14 years ago
Alberto Delmás
768c525114
Parse sprite data for WMVP and WVP2, and decode sprites for the latter
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
c1a9012d62
avio: document some members of AVIOContext.
14 years ago
Anton Khirnov
e782a0c6da
avio: document avio_close().
14 years ago
Anton Khirnov
893816ba1e
avio: cosmetics, vertically align comments.
14 years ago
Anton Khirnov
72d4405b66
avio: cosmetics, group the reading functions.
14 years ago
Anton Khirnov
37744e3282
avio: cosmetics, merge all the FF_API_OLD_AVIO blocks.
14 years ago
Anton Khirnov
fafa7290f1
avio: cosmetics, move AVIOContext to start of the file.
14 years ago
Anton Khirnov
6084ee5dc5
avio: update file header.
14 years ago
Clément Bœsch
47dec30edb
oggdec: fix demuxing chained audio streams
...
Chained ogg served by icecast and mpd should demux
properly now.
Fixes issue2337
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Alex Converse
347b375a80
daud: Don't write packets that are too large to have their size expressed in the bytestream.
14 years ago
Reimar Döffinger
d459d8e28d
Abort Ogg header parsing when we encounter a data packet.
...
Fixes ticket #15 .
14 years ago
Anton Khirnov
17ca374c7d
avformat.h: fix a misplaced #endif
14 years ago
Michael Niedermayer
c0577ceb55
flv: Only parse keyframe index when the underlaying protocol allows seeking as we need to seek to read the index
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Kharkov Alexander
ba667e600f
Fix support for flvtool2 "keyframes based" generated index in FLV format decoder
...
Current keyframes data parser unconditionally rewind metadata to the end
at the end of function. As result ALL metadata located after keyframes
index not parsed,
and as metadata object can have ANY placement inside metadata it can
lead to unpredictable result
(bitrate can not be found, etc.). As result FLV movie will not play at
all in such situation.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Anton Khirnov
0c68c80419
lavf: bump minor and add an APIChanges entry for avformat cleanup
14 years ago
Anton Khirnov
3ee53dabcf
lavf: get rid of ffm-specific stuff in avformat.h
14 years ago
Anton Khirnov
cdc6a87f19
avio: deprecate av_protocol_next().
14 years ago
Anton Khirnov
f8270bbf8c
avio: add a function for iterating though protocol names.
14 years ago
Anton Khirnov
c234d40bd9
lavf: rename a parameter of av_sdp_create from buff->buf
...
This is more consistent with the rest of the API.
14 years ago
Anton Khirnov
c3675dfe1e
lavf: rename avf_sdp_create to av_sdp_create.
...
The new name is more consistent with the rest of the API.
14 years ago
Anton Khirnov
a9bf9d8e53
lavf: make av_guess_image2_codec internal
...
It doesn't look very useful as a public function.
14 years ago
Anton Khirnov
5593f03148
avio: make URLProtocol internal.
14 years ago
Anton Khirnov
c486dade95
avio: make URLContext internal.
14 years ago
Anton Khirnov
c5704b2b9a
lavf: mark av_pkt_dump(_log) for remove on $next+1 bump.
14 years ago
Anton Khirnov
f35ff97f2e
lavf: use designated initializers for all protocols
...
This is more readable and makes it easier to reorder URLProtocol
members.
14 years ago
Anton Khirnov
a6aa7a1a14
applehttp: don't use deprecated url_ functions.
14 years ago
Anton Khirnov
d6bbe76124
avio: move two ff_udp_* functions from avio_internal to url.h
14 years ago
Anton Khirnov
acaceca2f1
asfdec: remove a forgotten declaration of nonexistent function
14 years ago
Anton Khirnov
026e175775
avio: deprecate the typedef for URLInterruptCB
...
There's no particular reason to pollute the namespace with a typedef for
it.
14 years ago
Luca Barbato
a2031251c7
proto: include os_support.h in network.h
...
Fix compilation on systems without poll()
14 years ago
Anton Khirnov
9181976348
matroskaenc: don't write an empty Cues element.
14 years ago
Anton Khirnov
5cec897105
avio: move extern url_interrupt_cb declaration from avio.h to url.h
14 years ago
Anton Khirnov
8e76a19b63
avio: make av_register_protocol2 internal.
14 years ago
Anton Khirnov
80c6e238b0
avio: avio_ prefix for url_set_interrupt_cb.
14 years ago