Ronald S. Bultje
2078ca16ee
Add handling of EAGAIN at packet boundaries. See "[PATCH] RTSP-MS 14/15:
...
ASF packet parsing" thread for discussion / reasoning.
Originally committed as revision 19509 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
63613fe615
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
...
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
84c04e2519
fix various compilation dependencies
...
Originally committed as revision 19507 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
23251d751b
fix compilation of cavsvideo demuxer
...
Originally committed as revision 19506 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
b31ac3c8dd
Register some additional AMF types in libavformat/flv.h
...
Originally committed as revision 19476 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
58ad770f92
Use globally consistent include guard names.
...
Originally committed as revision 19462 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Art Clarke
ebb82604b0
Only free '*ic_ptr' when a caller has pre-allocated a context and passed it in
...
(wherein av_open_input_file assumes memory ownership).
Patch by Art Clarke a<surname> xuggle com
Originally committed as revision 19436 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Martin Storsjö
73c1326809
Use ff_neterrno instead of errno in tcp.c.
...
If ff_neterrno() is checked instead of errno, that's probably what should be
used in the return value.
As a sideeffect, this gives better compatibility with Windows (CE), where
network errors aren't visible in errno.)
patch by Martin Storsjö, martin martin st
Originally committed as revision 19433 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
İsmail Dönmez
b504ce57ed
Only #define lseek to _lseeki64 on MinGW, not MinGW CE.
...
This fixes compilation on WinCE, which does not support _lseeki64.
patch by Ismail Dönmez, ismail namtrac org
Originally committed as revision 19425 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
647c2356a6
Make (de)muxers for format variants select the main format (de)muxer.
...
It makes little sense to enable the variant without the main format.
Originally committed as revision 19420 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Phil Rutschman
5a1e202b87
Add block_align to sox input.
...
Patch by Phil Rutschman: name.surname modsystems com
Originally committed as revision 19371 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Art Clarke
56c6cf287b
Fix mem leak when user preallocates an AVFormatContext, passes it to
...
av_open_input_file(), but the file does not exist.
Patch by Art Clarke a$(surname) xuggle com
Originally committed as revision 19370 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
df2bd71aeb
flvdec: expose metadata through the generic metadata API
...
original patch from Art Clarke aclarke _at_ xuggle _dot_ com
Originally committed as revision 19364 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
09e54e1ff8
flvdec: re-enable metadata parsing
...
duration and videodatarate values are actually useful
original patch from Art Clarke aclarke _at_ xuggle _dot_ com
Originally committed as revision 19363 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
8caa0f0651
flvdec: don't set format and codec context from metadata values
...
This has proven to be useless and even harmfull since r18460 (expect
for duration and videodatarate).
original patch from Art Clarke aclarke _at_ xuggle _dot_ com
Originally committed as revision 19362 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
96f0731a26
Check for packet_length 0, it is already treated as invalid by the padding check,
...
but that resulted in a confusing/wrong error message.
Originally committed as revision 19361 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
4eba9cdd07
fix and simplify long gop mpeg codec ul computation
...
Originally committed as revision 19339 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
df1550f081
set index duration to 0 for cbr, specifying whole container coverage
...
Originally committed as revision 19338 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
76b092e207
use ber4 length for descriptors preferred by specs
...
Originally committed as revision 19337 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
6a43aab01b
write profile and level local tag in mpeg descriptor
...
Originally committed as revision 19336 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
11d058b7b3
Replace invalid Theora frame rate by 25 FPS.
...
Avoids division by 0 due to e.g. time_base denominator being 0.
Originally committed as revision 19334 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
3dcddf82ed
Check for failed extradata malloc, fixes a crash in out-of-memory conditions
...
or with extremely large extradata.
Originally committed as revision 19333 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
5a4a4d7839
Check size of "strf" header against size of enclosing "LIST" if there is one.
...
Originally committed as revision 19332 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
b098b30905
Fix indentation
...
Originally committed as revision 19331 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
68a10b40bc
Avoid divisions by 0 in the ASF demuxer if packet_size is not valid.
...
Originally committed as revision 19330 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
e7e5d1e990
If either of num or den is 0 make both 0 in av_set_pts_info().
...
Originally committed as revision 19326 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
d218a86a0d
Make sure av_set_pts_info() does not set the fields of a timebase to
...
negative values.
Originally committed as revision 19325 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
dec14949a6
Make arguments of av_set_pts_info() unsigned.
...
Fixes issue1240/mpeg1/smclockmpeg1.avi.3.1
Originally committed as revision 19319 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
b399b932b7
cosmetics, change case and comments alignment
...
Originally committed as revision 19305 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
61f9e3c16a
correctly compute frame flags with closed gop
...
Originally committed as revision 19304 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
ad92558754
Use av_log_missing_feature in the ADTS encoder. (Pseudo reverts r19173).
...
Originally committed as revision 19299 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
38e54a75ab
Make the configure script select the input/output devices using
...
--enable-indev, --enable-outdev rather than --enable-demuxer,
--enable-muxer as before, same for disabling them.
Originally committed as revision 19293 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
d004179e19
indent
...
Originally committed as revision 19292 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
3fd5a75b07
id3v2.4.0 uses syncsafe integers for sizes of frames.
...
Fixes issue1234
Fixes regression introduced in r19275
Originally committed as revision 19291 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
2b75bde648
Remove inconsistent use of a @brief command in av_write_trailer()
...
doxy.
Originally committed as revision 19289 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
d1b9adf252
Use consistently the third person in doxy, as recommended by the
...
javadoc specs.
Originally committed as revision 19288 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
1cd4422163
Fix id3v2.2 frame size parsing.
...
Fixes issue1202.
Originally committed as revision 19276 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
47f42aec38
Fix id3v2.3/4 tag size parsing.
...
Fixes issue1106
Originally committed as revision 19275 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
57011a13d6
use AVFormatContext->probesize in av_find_stream_info and raise default to 5M
...
Originally committed as revision 19274 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
d23612efe1
Only set CODEC_ID_PROBE when a packet from a stream having a PES header
...
is read.
Originally committed as revision 19273 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
af122d6a80
limit raw packet buffer size used for codec probing
...
Originally committed as revision 19272 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
d862fce758
only set par if it does not indicates a rotation, ex iphone 3GS
...
Originally committed as revision 19271 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
91d19d471b
Remove any reference to ASFContext.packet_size and replace it with
...
AVFormatContext.packet_size. See "[PATCH] asf*.c/h: use
AVFormatContext->packet_size instead of own copy" thread on ML.
Originally committed as revision 19270 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
c1c206b343
flvdec: Build a Speex header during FLV demuxing using required and
...
default values. This is needed because FLV files with Speex do not
contain a Speex header, which is necessary for stream copy.
Originally committed as revision 19267 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
e1c1b0ff09
Reindent after last patch.
...
Originally committed as revision 19265 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
3fe4d5d4e6
mov demuxer: Track the current position also for streams that have AVDISCARD_ALL set.
...
This allows for seamless switching of e.g. audio streams, with the previous code
playback started always from the beginning when removing AVDISCARD_ALL.
Originally committed as revision 19264 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
5dc5c43bda
mov_read_packet: extract code that searches for the stream/sample to demux next
...
into a separate function.
Originally committed as revision 19263 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
a2f3851166
mov_read_packet: if dv_get_packet fails, return exactly its error value
...
instead of always -1 (makes no real difference currently since dv_get_packet
always returns -1 so far).
Originally committed as revision 19262 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
69fc436cbc
In mov_read_packet remember the AVStream we want to demux next instead of the
...
MOVStreamContext. We need the AVStream anyway and it is easier to get the
MOVStreamContext from the AVStream than the other way around.
Originally committed as revision 19261 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
6a63ff19b6
check stream existence before assignment, fix #1222
...
Originally committed as revision 19259 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago