Måns Rullgård
f19341e17a
Revert "Move the probe loop from av_open_input_file() into its own method"
...
This reverts r22296. This change made some files to fail to open.
The patch submitter has promised to investigate next week.
Originally committed as revision 22315 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
d9747e29b6
IFF: move ff_cmap_read_palette() prototype to a header file
...
Originally committed as revision 22307 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Wolfram Gloger
ae2c694388
Fix concat seeking SEEK_END case.
...
Patch by Wolfram Gloger wmglo ^ dent.med.uni-muenchen.de.
Originally committed as revision 22306 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Wolfram Gloger
35eaadcba0
Fix concat seek result.
...
Patch by Wolfram Gloger wmglo AT-SIGN dent.med.uni-muenchen DOT de.
Originally committed as revision 22302 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
e7e291e960
av_find_stream_info(): Add a workaround for backwards compatible HE-AAC signaling.
...
The sample rate, frame size, and channel count from the container are
not reliable when backwards compatible signaling is used.
Originally committed as revision 22301 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Daniel Kristjansson
663322c1b8
Fix pts->dts conversion init for non-zero initial value for pts.
...
Patch by Daniel Kristjansson, danielk cuymedia net
Originally committed as revision 22297 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Micah F. Galizia
4245c6ec4e
Move the probe loop from av_open_input_file() into its own method
...
av_probe_input_buffer() so that it can be reused. Here are a few
differences to the original way things were probed:
- maximum probe buffer size can be specified as a parameter.
- offset within the stream to probe from can be specified as a parameter.
- instead of seeking back to the start each time a probe fails, stream
data is appended to the reallocated buffer. This lowers the amount
of data read from the stream (there is no repetition) and results in
fewer closed and reopened streams (when seeking fails).
Patch by Micah F. Galizia printf("%s%s@%s.%s", "micah", "galizia", "gmail", "com").
Originally committed as revision 22296 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
38c3b6e73e
inet_aton needs _DARWIN_C_SOURCE on OS X
...
Originally committed as revision 22285 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
ac11d562e5
Localize the #define _SVID_SOURCE needed for inet_aton() to os_support.c
...
Originally committed as revision 22284 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
f3cb1cd078
1l trocadero: forgot reference operator on bytestream_get_be32() argument
...
Originally committed as revision 22277 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
457c08ba3c
Add internal.h include for av_read_frame_flush prototype
...
Fixes build with clang
Originally committed as revision 22273 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
148e8f2d29
Fix warning about incompatible pointer types
...
Originally committed as revision 22272 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
e48f7ff3cb
matroskadec: Fix a buffer overread
...
Originally committed as revision 22271 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
e16c73e67e
Move av_read_frame_flush() prototype to lavf/internal.h
...
Originally committed as revision 22268 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c26e58e32c
Add some missing #includes
...
Originally committed as revision 22258 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
5189573c6d
Set GXF fallback time-base to match the one specified for audio-only.
...
Originally committed as revision 22257 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
192c14fa55
GXF time base is always based on "fields" per second even for
...
non-interlaced video.
Should fix issue 1766.
Originally committed as revision 22256 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
814c56413d
Don't explicitly initialize networking in the tcp and udp protocols
...
Networking is always initialized when opening protocols.
Originally committed as revision 22227 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
57b5555c91
Use ff_url_join for assembling URLs, instead of snprintf
...
This ensures proper escaping of numerical IPv6 addresses.
The RTSP (de)muxer needs its own network initialization, since it isn't
a protocol and url_open hasn't been called yet.
Originally committed as revision 22226 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
780d7897a9
Add a function ff_url_join for assembling URLs
...
Originally committed as revision 22225 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
67d4b3f205
Always call ff_network_init/ff_network_close when opening protocols
...
ff_network_init is a no-op on all platforms except windows, and on
windows the performance penalty is minimal (less than 1 ms in my tests).
Originally committed as revision 22224 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
5301a05d3e
Fix memory leak in NUT muxer
...
Originally committed as revision 22222 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
886f3f2f36
Return from rtp_read when select returns an error
...
Originally committed as revision 22219 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
8b6bdb6cf3
oggdec: Parse theora headers since ogg might not mark keyframes
...
Fixes issue746
Originally committed as revision 22214 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
c2b40ac229
Check url_interrupt_cb in rtp_read, wait in select for max 100 ms before rechecking url_interrupt_cb
...
Originally committed as revision 22209 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Peter Ross
6c88dc3dbf
handle errors reported by av_get_packet() in Bink demuxer
...
Originally committed as revision 22208 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Peter Ross
4ffa6e78c2
Guard against invalid memory read
...
Originally committed as revision 22207 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
871b641b80
Ensure that we write clusters and blocks with known size when streaming
...
Too many demuxers can't cope with clusters of unknown size.
Originally committed as revision 22201 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
434a70b8f1
Fix indentation
...
Originally committed as revision 22200 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
30f06a58a0
Simplify starting and ending clusters
...
Originally committed as revision 22199 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
7a2a484081
Write the first seekhead if writing to a stream, we won't be able to seek
...
back and write it at the end
Originally committed as revision 22198 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
2529bb3019
Attempt seeking to write EBML master sizes even if streamed
...
Most EBML masters are much smaller than IO_BUFFER_SIZE and thus the size
can be updated. This makes parsing the resulting files easier.
Originally committed as revision 22197 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Anton Khirnov
690b412657
matroskaenc: use "title" tag instead of "description" in track title.
...
Patch by Anton Khirnov < whyskas at gmail >
Originally committed as revision 22187 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
68b0fd7c68
matroskadec: cosmetic indentation
...
Originally committed as revision 22185 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Joakim Plate
3e93c8ed14
matroskadec: timestamps are dts and not pts in ms vfw compatibility mode
...
original patch by elupus _at_ ecce _dot_ se
Originally committed as revision 22184 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
b9b8ed2a02
Properly pad H.264 extradata when taken from fmtp SDP attributes
...
This fixes some valgrind warnings.
Originally committed as revision 22182 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
4b83fc0fe4
Plug memory leak in NUT muxer and demuxer
...
Originally committed as revision 22174 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
1f6d0d42c5
Plug memory leak in NSV demuxer.
...
Patch by Jai Menon.
Originally committed as revision 22173 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Peter Ross
a27998010c
Support demuxing of streamed Bink files
...
Originally committed as revision 22166 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
5eef7bcd09
Plug memory leak for truncated files
...
Originally committed as revision 22154 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
38beab19ab
Plug some memory leaks for truncated files
...
Originally committed as revision 22153 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
8a4d067dfc
Revert r22119 and partially revert 22120.
...
Originally committed as revision 22135 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Anton Khirnov
e1c0b00b06
nutdec: make chapter start and length uint64_t to prevent overflows.
...
Patch by Anton Khirnov wyskas chez gmail punto com
Originally committed as revision 22127 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
11a74f3639
Explicitly set struct addrinfo to NULL if getaddrinfo failed instead of
...
assuming getaddrinfo will have done this.
Originally committed as revision 22123 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
a34fc5e23d
Make our getaddrinfo implementation initialize "struct addrinfo" return
...
value to NULL on errors.
Originally committed as revision 22122 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
27dbc47c05
Plug some memory leaks in NUT muxer and demuxer
...
Originally committed as revision 22120 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Anton Khirnov
82f50f820e
Print chapter info in dump_format().
...
Patch by Anton Khirnov, wyskas gmail
Originally committed as revision 22113 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
5692ed3ad4
Many mp3s seem to contain padding after id3 tags that is not considered in the
...
tag size. Skip this to make the format probing quicker.
Originally committed as revision 22111 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
f65919af7e
Rename RTP depacketizer files from rtp_* to rtpdec_*
...
Originally committed as revision 22109 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
1e6365b305
Include rtpdec.h, it contains prototypes for the following functions:
...
rtp_set_remote_url(), rtp_get_local_port(), rtp_get_file_handles()
Originally committed as revision 22107 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago