Paul B Mahol
e4f3a9693d
lavf/apetag: move common stuff between writer and reader to single file
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
29ba3aacb1
lavf/smacker: remove bogus video from .long_name
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
c25dc1f9c7
wvenc: support for ape tags
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Paul B Mahol
bd93f96540
APE tag writer
12 years ago
Paul B Mahol
a3a0774be8
WavPack muxer
12 years ago
Anton Khirnov
c1d865d563
wv: return meaningful error codes.
12 years ago
Anton Khirnov
ccc10acb5b
wv: return AVERROR_EOF on EOF, not EIO.
12 years ago
Anton Khirnov
f73e3938ac
mp3dec: forward errors for av_get_packet().
...
Don't invent a bogus EIO error.
The code now doesn't check for ret == 0, but that check is redundant,
av_get_packet() never returns 0.
12 years ago
Anton Khirnov
67b1156fe8
mp3dec: remove a pointless local variable.
12 years ago
Anton Khirnov
61f8bb74f3
mp3dec: remove commented out cruft.
12 years ago
Anton Khirnov
efd34918ba
lavf: remove commented out cruft in avformat_find_stream_info()
12 years ago
Anton Khirnov
c4ef6a3e4b
Add missing libavutil/time.h includes.
12 years ago
Michael Niedermayer
55cdd45446
avio: Document that write_packet() is not allowed to change its input
...
Found-by: Reimar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
8ebacfb598
hls: Proceed to the next segment at any error code
...
Previously, we returned any error code except AVERROR_EOF to the
caller - only if AVERROR_EOF or 0 was returned, we proceeded to
the next segment.
With some setups of web servers, using Connection: close in https
and GnuTLS, we don't get a clean error code at the end of segments.
In those cases, just proceed to the next segment.
Tested-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
41ecbbc7aa
tls: Return AVERROR_EOF if the TLS_read/write functions return 0
...
OpenSSL returns 0 when the peer has closed the connection. GnuTLS
doesn't return that though, but returns
GNUTLS_E_UNEXPECTED_PACKET_LENGTH if the connection simply is closed
without a clean close notify packet.
Tested-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Carl Eugen Hoyos
4f2549e3d0
Fix aiff demuxer dependencies.
12 years ago
Marton Balint
3be02afb56
mxfdec: fix off by one error in d10 aes3 decoding
...
Without this fix the last sample was missing from the packet.
Signed-off-by: Marton Balint <cus@passwd.hu>
Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
jamal
c49e0d2cdd
aviobuf: Fix warning about discarded qualifier
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
316f8db2c2
SubViewer demuxer and decoder.
12 years ago
Samuel Pitoiset
8ea1459bc3
rtmp: Check the buffer length of ping packets
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Samuel Pitoiset
e49e6b6451
rtmp: Allow having more unknown data at the end of a chunk size packet without failing
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Samuel Pitoiset
2357f60687
rtmp: Prevent reading outside of an allocate buffer when receiving server bandwidth packets
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Michael Niedermayer
97c0d5357d
omadec: switch to AVSTREAM_PARSE_FULL_RAW
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9c83f3e659
loasdec: switch to AVSTREAM_PARSE_FULL_RAW
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e083a62e9d
aacdec: switch to AVSTREAM_PARSE_FULL_RAW
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
6f6182372c
hls: replace probsize=0 by noheader flag removial.
...
This fixes h264 timestamps in hls
Fixes ticket1572
Tested-by: crtmpserver
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
12d1ee6a5e
ff_add_index_entry: reject AV_NOPTS_VALUE
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
2cd491a47c
lavf: move generic index generation code to a later point
...
By moving it to a later point relative and unknown timestamps
are more likely to have been corrected
similar patch reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Conflicts:
libavformat/utils.c
13 years ago
Michael Niedermayer
2880c31660
parse_packet: use pkt.pos always instead of the avparser offset.
...
This is more correct and will be needed when the code is moved to
a later point.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
4e7f9ebdc2
wav: switch to AVSTREAM_PARSE_FULL_RAW
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
fdc371114f
ff_raw_audio_read_header: mark as AVSTREAM_PARSE_FULL_RAW
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5ea4ee7bcb
flacdec: mark as AVSTREAM_PARSE_FULL_RAW
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ea8c12c90f
mp3dec: mark as AVSTREAM_PARSE_FULL_RAW
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Piotr Bandurski
c5f23df2dd
movenc: fix remuxing of yuv2
...
Attached patch fixes remuxing of yuv2 in mov (and does not break remuxing of yuvs)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
9054f6b66b
probe_codec: fix memory corruption
...
Found-by: Tanami Ohad
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Antti Seppälä
5423e908c9
Support urlencoded http authentication credentials
...
It should be possible to specify usernames in http requests containing
urlencoded characters. This patch adds support for decoding the auth
strings.
Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
abf77a247b
rtmp: Return an error when the client bandwidth is incorrect
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
be8f949219
rtmp: Return proper error code in handle_server_bw
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
088a82bb33
rtmp: Return proper error code in handle_client_bw
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
e7ea6883bf
rtmp: Return proper error codes in handle_chunk_size
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
6d1c9945dd
rtmp: Factorize the code by adding handle_invoke
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
7be2a7d8ff
rtmp: Factorize the code by adding handle_chunk_size
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
0ffd5161c4
rtmp: Factorize the code by adding handle_ping
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
912ecc9a19
rtmp: Factorize the code by adding handle_client_bw
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
9b498148ca
rtmp: Factorize the code by adding handle_server_bw
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
758377a2b7
rtmp: Add a new option 'rtmp_pageurl'
...
This option specifies the URL of the web page in which the media
was embedded.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
63ffa154e9
rtmp: Make the description of the rtmp_tcurl option more generic
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Jordi Ortiz
ecfff0e992
sctp: add port missing error message
...
Without this patch a user a bit absent-minded may not notice that
the connection doesn't work because the port is missing.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Jordi Ortiz
f9a9a14862
tcp: add port missing error message
...
Without this patch a user a bit absent-minded may not notice that
the connection doesn't work because the port is missing.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
3005122485
hls: call avformat_find_stream_info()
...
This is needed to correctly demux h264 in ts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago