Carl Eugen Hoyos
31f00274f8
id3v1: change filesize to int64_t.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Carl Eugen Hoyos
13eadbaca4
id3v1: Seek back to old position after reading.
FFmpeg did not seek back to the original position, but to "0", making
reading a VBR tag impossible.
(issue 2645)
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Kostya Shishkov
42315dabce
Chronomaster DFA decoder
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Tyler
bc61920d89
http: header field names are case insensitive
Amazon S3 sends header field names all lowercase.
This is actually acceptable according to the HTTP standard.
http://tools.ietf.org/html/rfc2616#section-4.2
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Ilya
907783f221
Use strtoul to parse rtptime and seq values.
strtol could return negative values, leading to various error messages,
mainly "non-monotonically increasing dts".
14 years ago
Stefano Sabatini
ca1a2a4711
lavf: make compute_pkt_fields2() return meaningful error values
14 years ago
Peter Ross
f55dd6c60d
nut format: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BE
14 years ago
Justin Ruggles
eb81cf860c
mov: set audio service type for AC-3 from bitstream mode in the 'dac3' atom.
14 years ago
Justin Ruggles
c70a6a41dd
Use audio_service_type to set stream disposition.
14 years ago
Michael Niedermayer
1c0a472630
Revert "matroskadec: set default duration for simple block"
This reverts commit 98a7d560b4
.
This has been implemented differently by aurel already
14 years ago
John Stebbins
98a7d560b4
matroskadec: set default duration for simple block
When a normal Block is parsed, duration is initialized to
AV_NOPTS_VALUE. If it is not changed, then the track's default
duration is used. But for SimpleBlock, duration is initialized to
0 instead of AV_NOPTS_VALUE. This is due to the difference in how
EBML_NEST vs EBML_PASS are processed. Setting duration to 0 leads
eventually to wrongly estimate the frame duration in util.c
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Ronald S. Bultje
cd256c3b89
ffmetadec.c: fix compiler warnings.
14 years ago
Aurelien Jacobs
00dc0206cb
matroskaenc: make sure we don't produce invalid file with no codec ID
Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>
14 years ago
Aurelien Jacobs
75f4d1fadf
matroskaenc: add missing new line in av_log() call
Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>
14 years ago
Aurelien Jacobs
2851b1f656
matroskadec: check that pointers were initialized before accessing them
fix ticket #14
Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>
14 years ago
Anton Khirnov
4ec153bb66
avio: make udp_set_remote_url/get_local_port internal.
14 years ago
Vladimir Pantelic
4377fafda1
asfdec: also subtract preroll when reading simple index object
This was missed when ASF was changed to return timestamps
without preroll.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
264935c962
matroskaenc: remove a variable that's unused after bc17bd9
.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
491653ed90
avio: cosmetics - nicer vertical alignment.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Martin Storsjö
28e9c42afb
rtsp: Don't use a locale dependent format string
In this particular case, we aren't ever printing anything else than
0.000 anyway.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Tomas Härdin
1b7ecc1662
Add xd55 codec tag for XDCAM HD422 720p25 CBR files.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
bc17bd90f5
matroskaenc: simplify get_aac_sample_rates by using ff_mpeg4audio_get_config
This also fixes broken SBR detection, which produced files with double
sample rate since 8ae0fa2
.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Carl Eugen Hoyos
78e99e0f32
Do not use format string "%0.3f" for RTSP Range field.
The format string was locale-depending.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Carl Eugen Hoyos
4952afff75
Do not use format string "%0.3f" for RTSP Range field.
Fixes ticket 10.
The format string was locale-depending.
14 years ago
Anton Khirnov
c5f4c0fd5c
id3v2: skip broken tags with invalid size
fixes issue2649.
14 years ago
Anton Khirnov
1885488757
id3v2: don't explicitly skip padding
It's pointless, since there's a seek to the end of tag later.
14 years ago
Martin Storsjö
af79dd36f3
amr: Set the AVFMT_GENERIC_INDEX flag
This makes the amr demuxer support seeking, closing roundup
issue 2593.
14 years ago
Martin Storsjö
026fa81de4
amr: Set the pkt->pos field properly to the start of the packet
Previously, the field pointed to the second byte of the packet
(which is the first byte of the actual AMR payload).
14 years ago
Martin Storsjö
2890cba8b5
amr: Set the codec->bit_rate field based on the last packet
This allows libavformat to guess an estimated duration for
amr files.
For streams with varying bit rates (or with silence descriptors
or "no frame" blocks) the guess is, of course, inaccurate.
14 years ago
Martin Storsjö
895678f823
rtsp: Specify unicast for TCP interleaved streams, too
According to the RFC, the default is multicast if nothing is
specified, which doesn't make sense for TCP.
According to a bug report, some Axis camera models give a
"400 Bad Request" error if this is omitted.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Martin Storsjö
dc8b73c069
applehttp: Change the variable for stream position in seconds into int64_t
A similar variable for the total stream duration was changed to
int64_t in b79c3df08807c96a945, due to overflows in some odd
streams.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Anton Khirnov
eb1e7f78ea
id3v2: simplify error handling.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
bca6dee386
id3v2: explicitly seek to the end of the tag after reading
Current code might stop in the middle of an invalid tag.
fixes issue2650
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
933e90a69a
avio: make av_url_read_fseek/fpause internal.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Tomas Härdin
139313827c
Add xd55 codec tag for XDCAM HD422 720p25 CBR files.
14 years ago
Carl Eugen Hoyos
88f8805f3e
Allow demuxing of APE files with metadata tags.
Fixes ticket 11.
14 years ago
Anton Khirnov
8d9769a77b
avio: deprecate url_fileno
It's an evil hack that assumes an AVIOContext is always based on top of
an URLContext.
It's also not used anywhere.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
447fe33691
rmenc: replace avio_seek(0) with avio_tell()
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
e42500cb4f
lavf: replace some more avio_seek(SEEK_CUR) with avio_skip
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Michael Niedermayer
133055c5e4
reverts parts of commit de11ee906e
. The author of this patch has a poor understanding of the code
14 years ago
Stefano Sabatini
12bcfe05b4
lavf: fix function name in compute_pkt_fields2 av_dlog message
14 years ago
Michael Niedermayer
afbfb2a81d
Revert "jvdec: don't use deprecated url_feof()"
This reverts commit 1dac4d5547
.
14 years ago
Michael Niedermayer
e528cdac8a
Revert "replace FFMPEG with LIBAV in FFMPEG_CONFIGURATION"
This reverts commit 29ba091136
.
14 years ago
Michael Niedermayer
0cb88628fb
Revert "use LIBAV_LICENSE and LIBAV_VERSION instead of FFMPEG_*"
This reverts commit a03be6e1ba
.
14 years ago
Anton Khirnov
2cface71ca
nutenc: fix a memleak
This fixes a minor memory leak introduced in 073f8b1
.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Vladimir Pantelic
de11ee906e
asfdec: subtract the preroll value and thus output 0 based timestamps
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Martin Storsjö
f1f60f5252
lavf: Make make_absolute_url a lavf internal function
This is shared by both applehttp demuxer and protocol.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Martin Storsjö
bc040cb3e2
applehttp: Fix a typo in a comment
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
68d875addc
lavf: make av_interleave_packet() return meaningful error codes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit c5dcb3d493
)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
14 years ago