| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
This also allows for removing some of the Vorbis-related hacks.
|
|
|
|
|
|
|
| |
This allows it to be used with get_bits without the thread of overreads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
|
|
|
|
|
| |
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
|
|
|
|
|
| |
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
|
| |
|
|
|
|
|
|
| |
It's not supposed to be set by demuxers.
Set avg_frame_rate and r_frame_rate instead.
|
|
|
|
|
|
|
|
| |
The container has no timestamps and the framerate isn't stored in the
data either.
The decoder sets codec timebase to experimentally found value 1/15. Do
the same for the demuxer too, it should at least be better than the
default 1/90000.
|
| |
|
|
|
|
| |
Demuxers are not supposed to set it.
|
|
|
|
|
|
| |
Demuxers are not supposed to set it.
Set stream timebase and framerates instead (this is a cfr container with
no timestamps).
|
|
|
|
|
| |
Demuxers are not supposed to set it.
Set r_frame_rate and avg_frame_rate instead.
|
|
|
|
|
|
|
|
| |
The fields "Number of Bytes" and "Number of Frames" are mixed up. "Bytes"
come first, "Frames" behind.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Alex Converse <alex.converse@gmail.com>
|
|
|
|
| |
libavformat/rmdec.c:383: warning: format ‘%d’ expects type ‘int’, but argument 7 has type ‘int64_t’
|
|
|
|
|
|
|
| |
This makes the packetization spec compliant for cases where one single
GOB doesn't fit into an RTP packet.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
| |
|
| |
|
| |
|
|
|
|
| |
Otherwise the values are overwritten.
|
|
|
|
|
|
|
| |
This fixes cases where the user had specified one desired MTU
via an option, and the protocol indicates another one.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
| |
support.
|
| |
|
|
|
|
| |
It will be need by new functions called from mp3_write_trailer().
|
|
|
|
| |
Unused so far.
|
|
|
|
|
|
|
| |
Frame sizes in ID3v2.3 are not synchsafe, they are simply 32be numbers.
In practice this bug is not noticeable unless the frame size takes more
than 7 bits (which is almost never for text frames).
|
|
|
|
|
| |
This will allow writing the tag in several steps, needed for writing
attached pictures.
|
|
|
|
| |
It has no need of full AVFormatContext.
|
|
|
|
| |
Rename ff_id3v2_read_all to ff_id3v2_read().
|
| |
|
| |
|
| |
|
|
|
|
| |
it will be useful for attached pictures in ID3v2
|
|
|
|
|
|
| |
It is not supposed to be set outside of lavc.
Fixes a divide by zero when the stored framerate is 0.
|
|
|
|
|
| |
It's currently only used as temporary storage by the mov demuxer. Make
it use a local variable instead.
|
|
|
|
| |
Deprecate corresponding AVCodecContext fields.
|
|
|
|
|
|
|
|
|
| |
Seeking back on EOF will reset the EOF flag, causing us to re-enter
the loop to find the next marker in the ASF file, thus potentially
causing an infinite loop.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
|
|
|
|
|
|
|
| |
They cause various issues further down in demuxing.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
|
|
|
|
|
| |
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
|
| |
|
|
|
|
|
|
|
|
| |
Provide a way to wrap around the segment index so pseudostreaming
live through a web server and html5 browser is simpler.
Also ensure that 0 (disable) is a valid value across the options
providing wrap around.
|
| |
|
|
|
|
|
|
| |
The index validation identifies these indexes as broken.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
|
|
|
|
|
| |
By validating the index entries while reading, we don't need to
seek at startup to validate the entries. If the error in the
index entries is not pointing to (our definition of) the start
of packets, and there is an index entry pointing at some of the
first packets after the metadata, the invalid index can be discarded
almost immediately.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This returns 200 OK for OPTIONS requests and 501 Not Implemented
for all other requests.
Even though this doesn't do much actual handling of the requests,
it makes the code properly identify server requests as such, instead
of interpreting it as a reply to the client's request as it did
before.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
| |
For encoding, AVCodecContext.frame_size is the number of input samples to
send to the encoder and does not necessarily correspond directly to the
timestamps of the output packets.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Neither of those is guaranteed to be connected to framerate in any way
(if it even exists).
Fixes bug 56.
|
|
|
|
| |
It's not supposed to be set outside of lavc.
|
| |
|