Commit Graph

2365 Commits

Author SHA1 Message Date
Michael Niedermayer
d1a4544de9 remove unneeded buf_size check (see AVPROBE_PADDING_SIZE)
Originally committed as revision 10060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 16:12:50 +00:00
Michael Niedermayer
e020dbd2a1 flac probe
closes issue83

Originally committed as revision 10059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 16:06:18 +00:00
Aurelien Jacobs
9c3e2f78a0 ensure that negative block_time are properly checked
(workaround unsigned comparison)

Originally committed as revision 10058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 15:37:55 +00:00
Michael Niedermayer
0a5790d1a9 ensure that the aspect ratio is spec compliant
Originally committed as revision 10056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 14:23:18 +00:00
Luca Barbato
272872e44b fix the packetization mode parsing
Originally committed as revision 10055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 13:34:56 +00:00
Michael Niedermayer
1b0353be6d disable TRACE
Originally committed as revision 10053 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 13:04:45 +00:00
Michael Niedermayer
a17e046a42 muxer should now be spec compliant (though it likely still contains bugs!)
Originally committed as revision 10052 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 13:04:16 +00:00
Michael Niedermayer
14b3f9961f header repetition
Originally committed as revision 10051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 12:59:17 +00:00
Michael Niedermayer
ead1939f69 info packet
Originally committed as revision 10050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 11:52:28 +00:00
Aurelien Jacobs
63f8165914 merge some REGISTER_MUXER/DEMUXER into REGISTER_MUXDEMUX
Originally committed as revision 10048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 01:44:50 +00:00
Ramiro Polla
a12df245a4 10l: removed pipe_close instead of pipe_read
Originally committed as revision 10047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 01:39:26 +00:00
Michael Niedermayer
caeeefd7a4 more FIXME
Originally committed as revision 10044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 00:13:50 +00:00
Michael Niedermayer
41b7c75db3 enable nut muxer
Originally committed as revision 10043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 00:12:54 +00:00
Michael Niedermayer
100d8eb8dc muxer is not yet fully compliant so prevent people from mistakenly using it
while believing it already is

Originally committed as revision 10042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-10 00:11:36 +00:00
Ramiro Polla
ee7db7b0b9 Make the pipe URLProtocol share read and write functions with the file URLProtocol
Originally committed as revision 10041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 23:41:59 +00:00
Ramiro Polla
1642cb6b2e Add initialization and cleanup functions for Winsock
Originally committed as revision 10040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 23:39:05 +00:00
Michael Niedermayer
7c04134fa1 set back ptr properly
Originally committed as revision 10039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 23:29:58 +00:00
Michael Niedermayer
4a3b5fe16a move syncpoint cache related stuff to common file
Originally committed as revision 10038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 23:24:02 +00:00
Michael Niedermayer
073811cdd2 fix forw_ptr crc check
not really beautiful but i did not find a nice solution
note, untested

Originally committed as revision 10037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:35:13 +00:00
Michael Niedermayer
f0a9978c92 fix header_checksum
Originally committed as revision 10036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:20:17 +00:00
Michael Niedermayer
bd533e6cbc store headers twice (getting closer to spec compliance ...)
Originally committed as revision 10035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:14:00 +00:00
Michael Niedermayer
7e506494b1 move header writing into its own function
Originally committed as revision 10034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:10:11 +00:00
Michael Niedermayer
7a26da44b0 get rid of printf
Originally committed as revision 10033 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:04:10 +00:00
Michael Niedermayer
e1249ba92f write frames and syncpoints
Originally committed as revision 10032 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 21:01:22 +00:00
Michael Niedermayer
491216c672 put_t()
Originally committed as revision 10031 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 20:56:42 +00:00
Michael Niedermayer
6e6cf116d8 100l
Originally committed as revision 10030 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 20:55:09 +00:00
Michael Niedermayer
34f8cc3802 2 FIXME comments
Originally committed as revision 10029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 20:54:17 +00:00
Michael Niedermayer
0fcfa8eb36 add a universal fallback frame code for the case that no other applies
Originally committed as revision 10028 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 20:52:49 +00:00
Michael Niedermayer
f13ea4e00c move lsb2full to common file
Originally committed as revision 10025 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 18:37:28 +00:00
Baptiste Coudurier
9031aeb1cd take care to use video track field number as duration
Originally committed as revision 10024 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 17:18:59 +00:00
Michael Niedermayer
5c2198b184 move crc wrapper to slightly better spot
Originally committed as revision 10022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 16:46:48 +00:00
Michael Niedermayer
874abace12 move syncpoint timestamp resetting code to a common file
Originally committed as revision 10020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 16:29:30 +00:00
Michael Niedermayer
44f46a698e remove old unused nut (de)muxer
Originally committed as revision 10018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 16:15:50 +00:00
Michael Niedermayer
47772399ec check forw_ptr CRC
Originally committed as revision 10017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:51:08 +00:00
Michael Niedermayer
6c666941eb forw_ptr CRC
Originally committed as revision 10016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:48:52 +00:00
Michael Niedermayer
8d9a3f7e21 use a dynamic ByteIOContext instead of using the lavf buffer
this makes the code work with big packets, it is also simpler and saves
a byte or 2

Originally committed as revision 10015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:38:24 +00:00
Michael Niedermayer
0809b51e52 move stream header writing into its own function
Originally committed as revision 10014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:25:58 +00:00
Michael Niedermayer
97d5eb11db move main header writing into its own function
Originally committed as revision 10013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 12:22:02 +00:00
Michael Niedermayer
e999435a60 write correct time_base
Originally committed as revision 10011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 11:06:54 +00:00
Michael Niedermayer
efd8f22a16 make StreamContext.time_base a pointer
Originally committed as revision 10010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 11:04:43 +00:00
Michael Niedermayer
4d75168f17 variables needed for muxer
Originally committed as revision 10009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 10:57:10 +00:00
Michael Niedermayer
dcc9bde010 write stream headers
Originally committed as revision 10008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 10:45:19 +00:00
Michael Niedermayer
70ea1e6922 trying to finally get the nut muxer back uptodate
this one only writes the framecode table and mainheader though they should be
compliant to the current spec

Originally committed as revision 10006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-09 01:12:48 +00:00
Alex Beregszaszi
3cf9ea7f48 use proper closesocket defines
Originally committed as revision 9992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 20:25:32 +00:00
Ramiro Polla
6ff3f3e7ce Check for winsock2.h instead of __MINGW32__
Originally committed as revision 9988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 19:18:10 +00:00
Ramiro Polla
85060fe6b4 MinGW returns EAGAIN instead of EINPROGRESS
Originally committed as revision 9982 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08 12:08:16 +00:00
Michael Niedermayer
c7385375bc ensure that the codec_id detection in av_find_stream_info() does not
destroy the first dts values

Originally committed as revision 9965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 21:14:29 +00:00
Michael Niedermayer
b43387d447 more verbose error
Originally committed as revision 9964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 20:37:45 +00:00
Michael Niedermayer
371bf80642 ignore preroll, it is generally not what AVStream.start_time should contain
Originally committed as revision 9963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-06 20:36:55 +00:00
Luca Abeni
8767b80f5f Change avf_sdp_create() to get a pre-allocated buffer as input, and to
return an integer (0 if the SDP has been succesfully created, < 0 in case
of error)

Originally committed as revision 9947 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-05 13:44:56 +00:00