Baptiste Coudurier
25f5f17fbd
cosmetics, cleanup tables, add pcm 24/32 le tags
...
Originally committed as revision 8204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 14:33:55 +00:00
Baptiste Coudurier
b0c59da234
partial avid meridien uncompressed support
...
Originally committed as revision 8203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 14:11:45 +00:00
Panagiotis Issaris
3217cb424c
Move the libavformat public API comments to avformat.h. The comments are
...
unmodified.
Originally committed as revision 8202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 12:23:20 +00:00
Benjamin Larsson
e9509536a9
Set FLV_SAMPLESSIZE_16BIT for ADPCM.
...
Originally committed as revision 8201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 09:16:38 +00:00
Måns Rullgård
700b971156
write DTS, based on patch by Luca Abeni, lucabe72 email it
...
Originally committed as revision 8196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 21:47:24 +00:00
Kristian Amlie
0cbff0275b
replace the auto array "duration_error" with a malloced array.
...
prevents stack overflow on some plateforms
patch by Kristian Amlie %kristian A gridmedia P com %
Original thread:
Date: Mar 1, 2007 11:29 PM
Subject: [Ffmpeg-devel] Stack overflow patch
Originally committed as revision 8194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 13:23:06 +00:00
Baptiste Coudurier
57d4d6e733
avid imx support
...
Originally committed as revision 8193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 12:33:59 +00:00
Baptiste Coudurier
9a63497b0f
support for mjpeg bottom field first in mov
...
Originally committed as revision 8192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 12:26:07 +00:00
Baptiste Coudurier
014a510282
use generic atom to extradata reading function
...
Originally committed as revision 8191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 12:12:29 +00:00
Baptiste Coudurier
dd8a46d9df
support for adpcm swf, pcm
...
Originally committed as revision 8189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 10:32:08 +00:00
Aurelien Jacobs
3c58dc0b3c
don't rely on a specific appearance order for ebml elements at the same level
...
Originally committed as revision 8181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 00:14:53 +00:00
Aurelien Jacobs
0cc5ea2e95
add support for simple blocks (ie. matroska v2)
...
Originally committed as revision 8180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 00:06:03 +00:00
Aurelien Jacobs
de7779b5fd
cosmetics: fix indentation of the new matroska_parse_block() function
...
Originally committed as revision 8179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 23:50:31 +00:00
Aurelien Jacobs
1afdcdf1fc
split a matroska_parse_block() function from matroska_parse_blockgroup()
...
Originally committed as revision 8178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 23:46:14 +00:00
Aurelien Jacobs
ebfcf31ddf
fix an off-by-one error in probing function
...
this prevented correct detection of Mushishi24-head.mkv
Originally committed as revision 8177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 23:36:39 +00:00
Baptiste Coudurier
3922c59fc4
don't parse whole swf file in header, can now play ffserver swf streams
...
Originally committed as revision 8176 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 19:02:21 +00:00
Baptiste Coudurier
024c7378c3
factorize
...
Originally committed as revision 8175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 17:05:11 +00:00
Baptiste Coudurier
dfc1313d28
remove nonsense time base code, use swf ms per frame, only video frames contains pts
...
Originally committed as revision 8174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 16:59:59 +00:00
Baptiste Coudurier
497244a897
check for any seeking failure during probe
...
Originally committed as revision 8173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 16:40:48 +00:00
Baptiste Coudurier
c828c70916
quicktime 'raw ' support
...
Originally committed as revision 8168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 13:03:33 +00:00
Luca Barbato
558b86a5d0
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
...
Originally committed as revision 8158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 03:40:23 +00:00
Luca Barbato
9fca9c0316
Reverting stray commit part I
...
Originally committed as revision 8157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 03:37:54 +00:00
Luca Barbato
bb0eb714bd
get_packetheader() forgot to read the header_checksum in big packets
...
patch from Clemens Ladisch cladisch AT fastmail dot net
(stray base64 patch reverted in the next commits)
Originally committed as revision 8156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 03:28:31 +00:00
Diego Biurrun
f5a90186d7
Add missing license headers.
...
Originally committed as revision 8149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 16:05:19 +00:00
Baptiste Coudurier
3fdb6af943
use avcodec_decode_audio2
...
Originally committed as revision 8146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 13:07:38 +00:00
Diego Biurrun
3cee76e6c9
Remove useless conditional.
...
Originally committed as revision 8139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 00:18:38 +00:00
Diego Biurrun
eca06097d3
Add LGPL header as requested by Oded.
...
Originally committed as revision 8126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 19:23:14 +00:00
Alex Beregszaszi
950d94ad3b
use AV_RB32, swf_mp3_info may be replaced with mpa_decoder_header
...
Originally committed as revision 8123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-25 14:13:12 +00:00
Michael Niedermayer
0a3692cd82
be less noisy
...
Originally committed as revision 8107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-24 01:51:37 +00:00
François Revol
13e4dba690
BeOS only: we don't have SA_RESTART. #define to 0 and emit a warning. I don't plan on hosting a streaming tv anyway but it gets ffserver building.
...
Originally committed as revision 8103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 23:35:42 +00:00
Benjamin Larsson
34cee63432
Complete the video format enum.
...
Originally committed as revision 8100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 21:09:50 +00:00
Benjamin Larsson
a0536d22b3
Cosmetics.
...
Originally committed as revision 8099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-23 21:08:43 +00:00
Alex Beregszaszi
b5cccea088
change PF_INET to AF_INET to be consistent in the whole project. PF_INET is deprecated, while AF_INET is referred by the POSIX standards
...
Originally committed as revision 8073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 13:34:36 +00:00
Alex Beregszaszi
038a1243a2
codec_tag settable via VideoTag, and transmit codec_tag in ffm
...
Originally committed as revision 8071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 13:23:38 +00:00
Marc Hoffman
db0ed93e22
Fix compilation on Mac OS X, patch by Marc Hoffman, mmh pleasantst com.
...
Originally committed as revision 8067 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 08:40:33 +00:00
Diego Biurrun
804de96a83
cosmetics: fix usefuLL --> usefuL typo
...
Originally committed as revision 8061 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-22 00:07:42 +00:00
Ryan Martell
0e3b6a6f55
Add the stream_bitrate GUID to the asf parsing code, and set stream bitrate
...
properties accordingly.
Patch by Ryan Martell, rdm4 % martellventures com.
Originally committed as revision 8046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 23:44:11 +00:00
Michael Niedermayer
9376710d06
warn if bps from user and what will be stored missmatches
...
Originally committed as revision 8044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 16:20:08 +00:00
Michael Niedermayer
a185f52a86
try to fill in missing bits_per_sample
...
Originally committed as revision 8043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 16:18:59 +00:00
Michel Bardiaux
5b77a81a8d
Remove code duplicated between adpcm.c and riff.c
...
Originally committed as revision 8042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 14:31:43 +00:00
Michel Bardiaux
346a655d46
Add support for MS-GSM codec
...
Originally committed as revision 8039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 11:09:47 +00:00
Alex Beregszaszi
89cf4098aa
spit an error message in case of invalid chunk
...
Originally committed as revision 8014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-18 00:47:13 +00:00
Michael Niedermayer
49c8132b17
not checking error return, resulting double free
...
returning uninitalized pointers
Originally committed as revision 8002 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-17 02:46:47 +00:00
François Revol
457b101e42
Make sure we don't try to emulate poll() when it's there if --disable-ffserver... 10l
...
Originally committed as revision 7991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15 15:39:39 +00:00
François Revol
36c07acd59
MinGW patch by <koyama AT infocity DOT co DOT jp>, reworked. Removed placeholder for winsock.
...
Originally committed as revision 7990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15 13:32:06 +00:00
François Revol
b0c858d834
poll() emulation for BeOS, and maybe MinGW.
...
Originally committed as revision 7987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15 07:44:10 +00:00
Måns Rullgård
afde41b414
rename video4linux[2] variables to v4l[2], consistent with --disable options
...
Originally committed as revision 7984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 22:12:49 +00:00
Ramiro Polla
cc58300e30
implement new grabbing interface, as described here:
...
ttp://thread.gmane.org/gmane.comp.video.ffmpeg.devel/42920
patch by Ramiro Polla % ramiro A lisha P ufsc P br %
Original thread:
Date: Jan 31, 2007 8:56 PM
Subject: [Ffmpeg-devel] [PATCH] New grabbing interface
Originally committed as revision 7983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 17:01:32 +00:00
Baptiste Coudurier
2012121363
fix dts adjusting
...
Originally committed as revision 7982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 14:54:20 +00:00
Luca Abeni
41536a6078
Pass the v4l2 buffer into the AVPacket, instead of allocating a new buffer
...
and copying the frame into it (remove a memcpy())
Originally committed as revision 7981 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 13:25:24 +00:00
Baptiste Coudurier
a492ad9f63
100l
...
Originally committed as revision 7980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 11:23:11 +00:00
Baptiste Coudurier
8d97aedbaa
indentation
...
Originally committed as revision 7979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 11:18:34 +00:00
Baptiste Coudurier
400615b68b
use aiff when we can, some players only support aiff
...
Originally committed as revision 7978 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 11:01:05 +00:00
Diego Biurrun
eb526fa6dd
Remove unused file.
...
Originally committed as revision 7973 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-14 09:16:02 +00:00
Diego Biurrun
1367cffd66
Ogg is not Vorbis.
...
Originally committed as revision 7966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 23:20:35 +00:00
François Revol
8fa36ae09d
This fixes error handling for BeOS, removing the need for some ifdefs.
...
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed.
Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code.
This also removes the need for berrno.h.
Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 18:26:14 +00:00
Carl Eugen Hoyos
034ef0e8c3
Move base64.[ch] to libavutil.
...
patch by Carl Eugen Hoyos, cehoyos ag.or at
Originally committed as revision 7963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 08:21:47 +00:00
Michael Niedermayer
6d29fba950
support yet another broken avi (filedoesitbetter.avi) which has a wrong stream count
...
Originally committed as revision 7961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 00:38:16 +00:00
Michael Niedermayer
1d7d9935b2
always use audio spread (instead of "video no spread" for audio ...)
...
Originally committed as revision 7960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 23:32:55 +00:00
Michael Niedermayer
a98d3e829a
increaseing preroll time to the minimum of the asf files i have
...
Originally committed as revision 7955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 22:55:09 +00:00
Michael Niedermayer
0d9f863340
dont set the keyframe flag for audio as microshitty doesnt do it and some things have problems with our asfs, maybe that has a positive effect?
...
Originally committed as revision 7952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 19:24:53 +00:00
Michel Bardiaux
d794d388a6
Add FACT chunk for non-PCM wav formats
...
Originally committed as revision 7950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 15:57:21 +00:00
Luca Abeni
c7238c72cb
Pass a proper context to av_log()
...
Originally committed as revision 7946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 13:38:14 +00:00
Reimar Döffinger
80a289b9bf
mxf aes decryption support, patch by Reimar, simplified to only look for first crypto context, will be extended once we get files with multiple cryptocontext, and hope that they won't have broken container ul
...
Originally committed as revision 7925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 12:50:33 +00:00
Reimar Döffinger
c964c2c745
add key field to AVFormatContext for de/encryption support, patch by Reimar
...
Originally committed as revision 7924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 12:37:28 +00:00
Måns Rullgård
74476a3a98
#include detected soundcard.h instead of testing for OpenBSD
...
Originally committed as revision 7912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-10 22:25:52 +00:00
Michael Niedermayer
559a55ad52
use dvr-ms timestamps
...
Originally committed as revision 7905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-10 03:36:12 +00:00
Michael Niedermayer
2d241e6687
fix broken memset(padding, 0) code
...
add a few asserts
Originally committed as revision 7903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 20:49:12 +00:00
Nico Sabbi
cf10ee184f
demux VC1 in mpegts
...
Originally committed as revision 7902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 20:34:24 +00:00
Kostya Shishkov
7bb5c2a6ea
Raw VC-1 demuxer
...
Originally committed as revision 7896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 12:10:15 +00:00
Diego Biurrun
f2390590e0
Remove obsolete imgformat1 leftovers.
...
Originally committed as revision 7894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 08:37:56 +00:00
Diego Biurrun
f248d017a7
Remove commented-out NUT muxer entry, can be added once we have a native muxer.
...
Originally committed as revision 7893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 08:32:04 +00:00
Diego Biurrun
7a7a6486aa
cosmetics: Reorder NUT entries.
...
Originally committed as revision 7892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 08:30:51 +00:00
Diego Biurrun
d7c592475d
Properly separate native and libnut NUT (de)muxers.
...
Originally committed as revision 7891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 08:28:47 +00:00
Justin Ruggles
7156aeb98a
add read_probe function to raw ac3 demuxer
...
Originally committed as revision 7887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-08 23:41:08 +00:00
Reimar Döffinger
a0bbb2e977
Use av_set_pts_info and set some arbitrary timebase fallback
...
Originally committed as revision 7883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-08 20:54:12 +00:00
Michael Niedermayer
ff5b8d8360
remove senseless and wrong direct access to ByteIOContext internals
...
Originally committed as revision 7881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 23:32:51 +00:00
Reimar Döffinger
51bd81f64d
set pts_wrap_bits to 32 since timestamps in packets are 32 bit
...
Originally committed as revision 7880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 23:22:53 +00:00
Michael Niedermayer
190972a06e
iam pretty sure send time is dts and not pts ...
...
Originally committed as revision 7879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 23:06:13 +00:00
Reimar Döffinger
2a1c3b8b90
10l, forgot to skip payload description in UMF packet parsing
...
Originally committed as revision 7878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 22:51:42 +00:00
Michael Niedermayer
9bc932294f
muxing packets with unknown timestamps is not allowed
...
Originally committed as revision 7877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 22:26:48 +00:00
Michael Niedermayer
d09ea618ed
supporting files with A,V,I,0x19 header
...
Originally committed as revision 7876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 17:56:31 +00:00
Diego Biurrun
71e445fca3
Replace deprecated PIX_FMT names by the newer variants.
...
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 01:48:09 +00:00
Michael Niedermayer
aad512b4ec
Revised patch for HD DVD .EVO demuxing by (Ian Caulfield <lowercase name seperated by . place at here gmail place a dot here com>)
...
Originally committed as revision 7853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 19:14:16 +00:00
Michael Niedermayer
4323b09d38
indent
...
Originally committed as revision 7845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 23:16:01 +00:00
Michael Niedermayer
ded3c7da61
dynamic index building so forward and backward seeking in avi without an index is possible
...
Originally committed as revision 7842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 23:06:08 +00:00
Michael Niedermayer
e9b78eeba2
better generic index building and seeking code
...
Originally committed as revision 7841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 23:04:48 +00:00
Wolfram Gloger
9ecf7fada3
Fix audio corruption when cutting.
...
Patch by Wolfram Gloger, wmglo dent dot med dot uni-muenchen dot de.
Originally committed as revision 7818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 02:08:57 +00:00
Ramiro Polla
42572ef53f
move networking #includes into separate file
...
patch by Ramiro Polla angustia =a= arrozcru =d= no-ip =d= org
Originally committed as revision 7817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-04 17:05:44 +00:00
Panagiotis Issaris
ca4544409e
Make x11grab output its warning that it couldn't find the mouse pointer only
...
once. This prevents flooding of the terminal when grabbing from a different
X-screen.
Originally committed as revision 7808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 17:54:50 +00:00
Zuxy Meng
a836a2c8b2
Set correct aspect ratio (it's sample aspect, not display aspect)
...
Patch by Zuxy Meng
(mail = `echo "Zuxy Meng" | tr "[A-Z] " "[a-z]." | sed "s/$/@gmail.com/"`)
Originally committed as revision 7806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 14:33:25 +00:00
Michael Niedermayer
5a461d8e11
packets must be correctly interleaved
...
Originally committed as revision 7805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 11:19:58 +00:00
Michael Niedermayer
30e88789c9
extract aspect ratio
...
Originally committed as revision 7791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 23:32:01 +00:00
Michael Niedermayer
8643594ce3
10l to whoever wrote this (wrong fps, fixes nirvana.nuv)
...
Originally committed as revision 7781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 11:24:04 +00:00
Michel Bardiaux
f0ee3ea619
Add some context to av_log calls.
...
patch by Michel Bardiaux, mbardiaux mediaxim be
Originally committed as revision 7774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 08:29:24 +00:00
Ronald S. Bultje
68fcdbf1e5
Fix misbehaviour in url_fseek() when seeking fails.
...
The return value of the seek function is -1 on error, not -EPIPE (the return value in url_seek() if no seek function pointer is set)
Patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net %
Original thread:
date: Dec 31, 2006 9:25 PM
subject: [Ffmpeg-devel] Re: [PATCH] file length handling
Originally committed as revision 7766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 10:48:39 +00:00
Ronald S. Bultje
eabbae730c
protect the size=seek(SEEK_END,-1)+1 results with an if (.. < 0), else the
...
return value may still end up being zero (if the seek returns -1, which is
e.g. what file.c will return on error), which is a valid (but incorrect)
filesize.
Patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net %
Original thread:
date: Jan 2, 2007 2:11 AM
subject: [Ffmpeg-devel] Re: [PATCH] file length handling
Originally committed as revision 7765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 10:37:52 +00:00
Luca Barbato
a58b82f874
Missing prototype added
...
Originally committed as revision 7760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 15:02:57 +00:00
Michael Niedermayer
f8f0a0bdfd
fix seeking in wma
...
Originally committed as revision 7759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 14:54:55 +00:00
Kostya Shishkov
49561f992e
Seeking support in WavPack
...
Originally committed as revision 7750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 17:23:28 +00:00
François Revol
66d49636c7
an alloc func failing should give ENOMEM anyway.
...
Originally committed as revision 7737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 09:07:49 +00:00
Ronald S. Bultje
8f42f5238e
proper error handling in file size retrieval, patch by Ronald S. Bultje rbultje at ronald bitfreak net
...
Originally committed as revision 7736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 02:38:02 +00:00
Michael Niedermayer
de3ae9596b
stealing a few field names from mplayers asf demuxer
...
Originally committed as revision 7725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 12:07:16 +00:00
Baptiste Coudurier
4abc097146
remove void * used in arithmetic warnings
...
Originally committed as revision 7716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-26 12:32:23 +00:00
Baptiste Coudurier
72fd40bd3a
add waveformatextensible support
...
Originally committed as revision 7714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 21:56:06 +00:00
Guillaume Poirier
706c0d6509
use more portable PRIu64
...
Originally committed as revision 7707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 10:01:28 +00:00
Diego Biurrun
722dabcc94
Move conditional CFLAGS and OBJS setting to common place.
...
Originally committed as revision 7699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 00:34:38 +00:00
Diego Biurrun
bf50703313
cosmetics: sort
...
Originally committed as revision 7697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 00:10:10 +00:00
Baptiste Coudurier
e809d7e50a
remove some printf warnings
...
Originally committed as revision 7691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 15:59:58 +00:00
Baptiste Coudurier
01aa1937cf
make vars unsigned
...
Originally committed as revision 7690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 15:57:41 +00:00
Baptiste Coudurier
649348777e
stop if current sample is higher than sample count
...
Originally committed as revision 7689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 15:46:59 +00:00
Baptiste Coudurier
560588b717
replace strcpy by memcpy
...
Originally committed as revision 7685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 12:49:24 +00:00
Baptiste Coudurier
a20a37e69a
remove useless field
...
Originally committed as revision 7682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 10:57:38 +00:00
Baptiste Coudurier
69e7070da6
remove obsolete comment
...
Originally committed as revision 7681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 10:56:45 +00:00
Baptiste Coudurier
44d3fea53b
make some fields unsigned
...
Originally committed as revision 7680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 10:55:07 +00:00
Baptiste Coudurier
dfcf8d57c5
add sanity checks
...
Originally committed as revision 7679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 10:44:24 +00:00
Daniel Kristjansson
e995cfca28
mpegts-documentation-only.patch -- adds documentation patch by Daniel Kristjansson / danielk mrl.nyu edu
...
yes another 1 year old patch, this one though has one failed hunk
Originally committed as revision 7676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 21:47:32 +00:00
Måns Rullgård
bb2864fb21
remove unused files
...
Originally committed as revision 7675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 21:42:36 +00:00
Daniel Kristjansson
2ddb79befd
"converts printf's to avlog's" patch by Daniel Kristjansson / danielk mrl.nyu edu
...
another 1 year old patch forgoten by mans
trailing whitespace removial by me
Originally committed as revision 7674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 21:41:30 +00:00
Daniel Kristjansson
105e517df3
"removes definition for old crc func" patch by Daniel Kristjansson / danielk mrl.nyu edu
...
patch ~ 1year old, apparently forgotten by our mpeg-ts demuxer maintainer
Originally committed as revision 7673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 21:36:32 +00:00
Michael Niedermayer
0fd9e6f34a
make the asf demuxer resistant against insertion/deletion errors
...
Originally committed as revision 7672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 21:25:06 +00:00
Michael Niedermayer
79a5b35c05
remove padding to 16bit code, i dont think this change can break anything and it makes the broken MPEG2-pub.avi from http://www.albx79.it/stuff/ playable other players arent that picky either ...
...
Originally committed as revision 7670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 18:37:23 +00:00
Michael Niedermayer
a44b3c4da8
make av_find_stream_info() duration user selectable
...
Originally committed as revision 7669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 17:34:26 +00:00
Michael Niedermayer
683ab79ca0
flv follows in movs footsteps and has random trash in the width/height fields
...
Originally committed as revision 7668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 15:38:07 +00:00
Michael Niedermayer
742482290f
improve probe and give it the max score
...
Originally committed as revision 7667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 15:23:41 +00:00
Michel Bardiaux
373c32c711
Fix wrong comment, patch by Michel Bardiaux mbardiaux mediaxim be.
...
Originally committed as revision 7659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 09:24:41 +00:00
Michael Niedermayer
f7835507cb
consistant error return for asf_get_packet()
...
Originally committed as revision 7657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:38:33 +00:00
Michael Niedermayer
92216453db
better padsize check
...
Originally committed as revision 7656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:33:26 +00:00
Michael Niedermayer
0b93103a31
more correct error message
...
Originally committed as revision 7655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:31:40 +00:00
Michael Niedermayer
ceba96cb26
replace wrong return 0 by -1
...
Originally committed as revision 7654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:28:56 +00:00
Michael Niedermayer
13f7e4b966
check to detect nonsense fragment size
...
Originally committed as revision 7653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:17:54 +00:00
Michael Niedermayer
1ae7518dda
inden(ta)tion
...
Originally committed as revision 7652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 17:06:46 +00:00
Michael Niedermayer
200026aae4
replace nonsense code by something which makes at least some sense
...
Originally committed as revision 7651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 17:01:01 +00:00
Michael Niedermayer
4c71d72701
check fragment offset and size
...
yes this too could have been exploitable ...
Originally committed as revision 7650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 16:37:45 +00:00
Michael Niedermayer
ae60a85780
move frame header reading into its own function
...
Originally committed as revision 7649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 12:55:23 +00:00
Michael Niedermayer
b04d5d3116
more correct packet alignment check and correction
...
Originally committed as revision 7648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 12:52:49 +00:00
Michael Niedermayer
5e2a485507
10l
...
Originally committed as revision 7647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 12:33:10 +00:00
Michael Niedermayer
4c6f7440af
doxygenize comments
...
Originally committed as revision 7646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 11:15:30 +00:00
Michael Niedermayer
4e15cc8ba3
cosmetics (aligne stuff nicely)
...
Originally committed as revision 7645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 11:04:55 +00:00
Michael Niedermayer
d045b8c14b
get rid of some sensless malloc/free
...
Originally committed as revision 7644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 11:03:47 +00:00
Michael Niedermayer
916bb12c90
simplify
...
Originally committed as revision 7643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 11:01:27 +00:00
Michael Niedermayer
6bb2a2dfb9
remove a few unused and duplicated variables
...
Originally committed as revision 7642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 10:53:57 +00:00
Michael Niedermayer
0521946359
adding a few checks to the audio packet descrambling, this should hopefully catch all related out of array accesses
...
note, the original code might have been exploitable
Originally committed as revision 7640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 03:19:00 +00:00
Michael Niedermayer
b83e83b915
cosmetic
...
Originally committed as revision 7639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 01:21:16 +00:00
Diego Biurrun
9688979c51
Fix some more license headers.
...
Originally committed as revision 7637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 01:16:42 +00:00
Michael Niedermayer
fc9eb13732
these variables seem to be unused on the demuxer side so theres no sense in setting them
...
Originally committed as revision 7636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 00:20:58 +00:00
Michael Niedermayer
236116cb4c
get rid of a few idiotic asserts()
...
Originally committed as revision 7632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 23:03:09 +00:00
Michael Niedermayer
b586d9eac3
useless &0x80
...
Originally committed as revision 7631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 22:46:14 +00:00
Aurelien Jacobs
4014fe37a3
remove now useless codec_tag setting code in voc muxer
...
Originally committed as revision 7628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 22:41:37 +00:00
Diego Biurrun
9ba6004993
Remove useless #ifdef.
...
Originally committed as revision 7625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 22:02:12 +00:00