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
Peter Holik
7995ed8e69
Add support for "chunked" data blocks. Patch by Peter Holik (peter holik at).
...
Originally committed as revision 19256 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Daniel Verkamp
1a40491ef2
Add ff_ prefixes to exported symbols in libavformat/riff.h.
...
patch by Daniel Verkamp, aniel drv nu
Originally committed as revision 19254 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
92400be255
Change packet_size from signed to unsigned, since it never has a negative
...
value. Currently, this is only used in qcp.c and mpegenc.c, and they are
practically unaffected by this change.
See "[PATCH] make packet_size in AVFormatContext unsigned" thread on ML.
Originally committed as revision 19250 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
87b4dd3b96
oggenc: Change error log text. An error here does not necessarily mean
...
corrupted data.
Originally committed as revision 19248 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
3f2eadf4fe
oggenc: return error value from ogg_build_flac_headers()
...
Originally committed as revision 19247 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
4315aa8b05
cosmetics: spacing and comments
...
Originally committed as revision 19246 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
e9a32230c3
oggenc: check for failed av_mallocz()
...
Originally committed as revision 19245 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
a481293f13
Revert unintended hunk of r19241.
...
Originally committed as revision 19242 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
df028e8c6a
Revert r19239: It broke four conformance tests.
...
Originally committed as revision 19241 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Yoshihisa Uchida
3f3f3ba799
Fix onMetaData property count in flv files (issue 1206).
...
Patch by Yoshihisa Uchida, yoshihisa D uchida A gmail
Originally committed as revision 19236 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jai Menon
9ed3afcb7f
Print meaningful error messages when url_fopen fails.
...
Originally committed as revision 19230 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Wolfram Gloger
896f2b3212
add 0-termination in table, patch by Wolfram Gloger, wmglo at dent dot med dot uni-muenchen dot de
...
Originally committed as revision 19229 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Brian Brice
8a4ea200e1
fix dvcprohd 720p channels 3 and 4 audio timestamps, patch by Brian Brice, bbrice at gmail dot com
...
Originally committed as revision 19228 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Patrick Dehne
d52b90bdb4
Add support for id3 tag parsing for ADTS AAC streams
...
Patch by Patrick Dehne ( patrick mysonicweb com )
Originally committed as revision 19225 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Patrick Dehne
50fcd5be36
Move id3v1/id3v2 handling code from mp3.c to id3v[12].c.
...
patch by Patrick Dehne, patrick mysonicweb com
Originally committed as revision 19224 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
2a04d6e772
Add support for muxing XSUB subtitles to AVI muxer.
...
Originally committed as revision 19223 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jason Garrett-Glaser
bc7ea1e5cf
Add fourcc 0x10000004, seems to actually be MPEG4. Fixes a problematic AVI file.
...
Originally committed as revision 19219 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
71ee651559
Print why av_find_stream_info() failed, this is a rather common question
...
during debugging ...
Originally committed as revision 19217 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
f4ca612fbd
Set restrictions on packet_size, as per ISO-11172 / H-222 specifications
...
(max packet size should fit in 13 bits as a kB value, so 1<<23, plus the
header which is 10 bytes), and as per mpegenc.c internal assumptions
(min packet size is 20 bytes). See "[PATCH] make packet_size in
AVFormatContext unsigned" thread.
Originally committed as revision 19215 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
61ac77f1af
Remove a test on an always false condition.
...
Originally committed as revision 19214 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago