Carl Eugen Hoyos
ab1572609f
10l: Add misssing CR/LF.
14 years ago
Carl Eugen Hoyos
8f2e438e52
Support channel layout when demuxing aif files.
14 years ago
Carl Eugen Hoyos
8bb5d1c39c
Support channel layout when demuxing caf files.
14 years ago
Carl Eugen Hoyos
2a2146aac0
Extend unknown CAF chunk warning message: Print size.
14 years ago
Diego Biurrun
d9dee728b8
Use av_log_ask_for_sample() to request samples from users.
14 years ago
Carl Eugen Hoyos
07f45bc988
Support Canopus SD50 with fourcc "CDV5".
...
Fixes ticket #93 .
14 years ago
Stefano Sabatini
50f43fb0e2
matroskaenc: replace AVERROR_NOTSUPP with AVERROR(EINVAL)
...
AVERROR_NOTSUPP has been dropped with the major bump. Since the
signalled error denotes a configuration problem, AVERROR(EINVAL) looks
an adequate replacement.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Martin Storsjö
fe8e039460
applehttp: Expose the stream bitrate via metadata
...
This helps callers to intelligently switch between bitrate
variants.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Stefano Sabatini
9bf81b49cf
img2: return AVERROR(EINVAL) in case of invalid filename pattern
...
In write_packet(), return AVERROR(EINVAL) rather than AVERROR(EIO) if
the provided output filename pattern is not valid. Indeed this has to
be considered a configuration error rather than an I/O error.
Allow a less confusing error report.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Stefano Sabatini
79157f400b
error: remove AVERROR_NUMEXPECTED
...
AVERROR_NUMEXPECTED is used only in the image muxer and demuxer, and
has a too much specific meaning, which is better explained through a
log message. Thus it can be replaced by AVERROR(EINVAL).
This breaks API.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Nicolas George
b9553cf4b8
avio: fix AVIO_FLAG_READ/WRITE test in ffurl_*.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
14 years ago
Michael Niedermayer
52512d0a43
oggdec: use av_freep() instead of av_free()
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Martin Storsjö
26f6b8c571
avio: Fix sanity checks in ffurl_read*
...
This fixes e.g. reading data over HTTP, where the underlying
socket is set to read/write.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Martin Storsjö
7bbb67d580
libavformat: Free AVFormatContext->streams
...
After switching this from a statically allocated array to a
dynamically allocated one in the major bump, this needs explicit
freeing.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
c60112f268
libavformat: Make protocols pass URLContext as log context where available
...
Since the libavformat major bump, URLContext contains an AVClass,
making it a usable log context.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Vladimir Pantelic
8408e1d7d6
asf: remove commented out code in asf_read_seek
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Nicolas George
90a2929416
oggparsecelt: cosmetic: order lines more logically.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
14 years ago
Nicolas George
51c1e255e5
oggparsecelt: call av_set_pts_info unconditionally.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
14 years ago
Stefano Sabatini
55815edca0
prefer avio_check() over url_exist()
...
The problem with url_exist() is that it tries to open a resource in
RDONLY mode. If the file is a FIFO and there is already a reading
client, the open() call will hang.
By using avio_check() with access mode of 0, the second reading
process will check if the file exists without attempting to open it,
thus avoiding the lock.
Fix issue #1663 .
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Stefano Sabatini
59d96941f0
avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols
...
Make AVIO_FLAG_ access constants work as flags, and in particular fix
the behavior of functions (such as avio_check()) which expect them to
be flags rather than modes.
This breaks API.
14 years ago
Anton Khirnov
32b80696e0
lavf: remove misc disabled cruft.
14 years ago
Anton Khirnov
df56d58339
lavf: remove FF_API_INDEX_BUILT cruft
14 years ago
Anton Khirnov
7f804085f1
lavf: remove FF_API_URL_CLASS cruft.
14 years ago
Anton Khirnov
5763e63913
lavf: remove FF_API_SYMVER cruft
14 years ago
Anton Khirnov
b4c5acabb9
lavf: remove FF_API_FIRST_FORMAT cruft
14 years ago
Anton Khirnov
583f6c67b6
lavf: remove FF_API_PARAMETERS_CODEC_ID cruft
14 years ago
Anton Khirnov
fc2d3a19c5
lavf: remove FF_API_LAVF_UNUSED cruft
14 years ago
Anton Khirnov
58d5ff0abf
lavf: remove FF_API_PARSE_FRAME_PARAM cruft
14 years ago
Anton Khirnov
4df001d77f
lavf: remove FF_API_ALLOC_FORMAT_CONTEXT cruft
14 years ago
Anton Khirnov
5048e36c99
lavf: remove FF_API_URL_SPLIT cruft
14 years ago
Anton Khirnov
c4efa7c229
lavf: remove FF_API_UDP_GET_FILE cruft
14 years ago
Anton Khirnov
61573bf1ba
lavf: remove FF_API_GUESS_FORMAT cruft
14 years ago
Anton Khirnov
dcd4a7b62f
lavf: remove FF_API_REGISTER_PROTOCOL cruft
14 years ago
Anton Khirnov
468644f6c1
lavf: remove FF_API_URL_RESETBUF cruft
14 years ago
Anton Khirnov
575c18da1b
lavf: remove FF_API_OLD_METADATA cruft
14 years ago
Anton Khirnov
761ad42968
lavf: remove FF_API_MAX_STREAMS cruft
14 years ago
Nicolas George
e61b83d29e
Ogg: add support for Xiph's CELT (Opus) codec.
...
This patch also introduces CODEC_ID_CELT.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
14 years ago
Carl Eugen Hoyos
133208ffb3
Be more verbose when printing the probe result.
14 years ago
Baptiste Coudurier
c22f2527ed
In mov and flv muxer, check aac bitstream validity.
14 years ago
Anton Khirnov
139f3ac42d
Bump major versions of all libraries.
...
They've accumulated enough new APIs and corresponding deprecated cruft.
This breaks API and ABI.
14 years ago
Diego Biurrun
f0a41afd8a
Replace mplayerhq.hu URLs by libav.org.
14 years ago
Diego Biurrun
0b5ae1fdd3
asfdec: Remove dead code from asf_read_close().
14 years ago
Michael Niedermayer
2d2b5a1421
10l, commit that should have been stashed into the merge.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Diego Biurrun
6001dad6e2
Replace more FFmpeg references by Libav.
14 years ago
Baptiste Coudurier
0ba8485666
In mov muxer, compute avg bitrate in esds
14 years ago
Reimar Döffinger
3c10843f15
Use av_set_pts_info to set time_base.
...
Also remove useless assignments of 0, the priv
context is initialized to 0.
14 years ago
Reimar Döffinger
f0a68a20a7
Enable header parsing for MPEG2VIDEO to get time-stamps.
...
FFmpeg can generate pts and dts on its own, but only
if we enable parsing, so do that.
This fixes ticket #46 .
14 years ago
Kostya Shishkov
2d8591c27e
make containers pass palette change in AVPacket
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Diego Biurrun
4d012eb541
xwma: Fix wrong printf format expression.
...
Also add inttypes.h #include for PRId64 macros.
This fixes the following warnings:
libavformat/xwma.c:147: warning: too many arguments for format
libavformat/xwma.c:151: warning: too many arguments for format
14 years ago
Max Horn
ef8b54fc88
xwma demuxer: typos
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago