Commit Graph

8702 Commits

Author SHA1 Message Date
Limin Wang
07cbff39a7 As avcodec_decode_audio() is deprecated, replace it with avcodec_decode_audio2().
Patch by Limin Wang, lance lmwang % gmail com.

Originally committed as revision 8294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 11:58:50 +00:00
Michael Niedermayer
2ed76c08c3 bitrate sanity check (fixes assertion failure)
Originally committed as revision 8293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 10:25:06 +00:00
Benoit Fouet
c4f452fd03 Remove useless casts as recommended by Måns Rullgård.
Patch by Benoit Fouet, benoit fouet % purplelabs com.

Originally committed as revision 8292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 10:21:35 +00:00
Benoit Fouet
be6753c07f Cosmetics in amr.c.
- remove carriage returns where (i find it) unneeded
 - don't break lines when defining variables
 - break line between variable definition and the rest of the code
Patch by Ben Fouet, benoit fouet % purplelabs com.

Originally committed as revision 8291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 10:11:31 +00:00
Benoit Fouet
e7a5854d23 Move the initialization on context definition. In amr.c, only the
amr_wb_encode_frame function initialized its context on a different line as it
defined it.
Patch by Benoit Fouet, benoit fouet % purplelabs com.

Originally committed as revision 8290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 10:06:59 +00:00
Karl H. Beckers
6cbac7ed3a Add PIX_FMT_PAL8 to isPacked().
patch by "Karl H. Beckers", karl.h.beckers gmx net

Originally committed as revision 22487 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-03-08 10:02:49 +00:00
Måns Rullgård
7f0f6e13a7 include only files actually built in SRCS
Originally committed as revision 8289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 00:24:14 +00:00
Panagiotis Issaris
5438308f3b Update the documentation to be consistent with the new unit for the "ab"
parameter.

Originally committed as revision 8288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 18:17:16 +00:00
Limin Wang
4e780252f4 Remove unnecessary the_end label.
patch by Limin Wang, lance.lmwang gmail com

Originally committed as revision 8287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 10:45:41 +00:00
Michael Niedermayer
6289025d8c add a -ab with default of 64k
change -b to only apply to video
this returns -ab/-b to the old defautls and old behavior regarding ordering of them

Originally committed as revision 8286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 09:51:45 +00:00
Michael Niedermayer
54cc9c46e6 set defaults based on CodecType by using avcodec_get_context_defaults2()
Originally committed as revision 8285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 09:50:05 +00:00
Limin Wang
8e532e681e remove unused variables
patch by Limin Wang % lance P lmwang A gmail P com %
Original thread:
Subj: [Ffmpeg-devel] [PATCH] remove unused variables
Date: 2007-03-07-07:37 AM

Originally committed as revision 8284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 09:38:08 +00:00
Michael Niedermayer
29301573af add avcodec_get_context_defaults2() / avcodec_alloc_context2() which take CodecType as an additional parameter
also mark them as NOT part of the public API yet, so we can change their argument to CodecID if we decide to do so

Originally committed as revision 8283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 09:29:44 +00:00
Michael Niedermayer
2d0aefd626 only store command line parameters in contexts with matching codec_type
Originally committed as revision 8282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 08:34:52 +00:00
Piero Bugoni
289a8e4d28 Add watermark and drawtext descriptions, plus some random fixes.
patch by Piero Bugoni, crboca32 yahoo com

Originally committed as revision 8281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 08:34:43 +00:00
Michael Niedermayer
20e708cbbe add av_opt_set_defaults2() which sets just defaults from AVOptions whos flags match a user specified & mask = flags
Originally committed as revision 8280 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 02:21:35 +00:00
Michael Niedermayer
bc2a1c340a make av_find_opt() available to the public and add a mask+flags parameter to search for specific AVOptions
Originally committed as revision 8279 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 02:03:44 +00:00
Alex Beregszaszi
3caa0d9343 move preroll_time from static variable into definition, might be a good idea moving this into the context and making user-settable
Originally committed as revision 8278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 02:03:32 +00:00
Alex Beregszaszi
031311cbd1 workaround for broken flvtoolized files
Originally committed as revision 8277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 01:52:08 +00:00
Diego Biurrun
9ff85412ad Fix UNKOWN --> UNKNOWN typo
Originally committed as revision 8276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 00:49:49 +00:00
Alex Beregszaszi
fd9a71acaa simplification
Originally committed as revision 8275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 00:29:51 +00:00
Alex Beregszaszi
cbc09a7d5a typo: unkown->unknown
Originally committed as revision 8274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 00:27:23 +00:00
Alex Beregszaszi
73d6ca4fee 10l, audio_fifo is a static array
Originally committed as revision 8273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-06 18:19:31 +00:00
Alex Beregszaszi
7b19aa64dc handle http error codes
Originally committed as revision 8272 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-06 13:38:41 +00:00
Alex Beregszaszi
d0a5513b88 disconnect new feeder if feed is already being received
Originally committed as revision 8271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-06 13:29:04 +00:00
Alex Beregszaszi
c6e3365c81 add little endian 24bit read/write
Originally committed as revision 8270 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-06 13:05:38 +00:00
Alex Beregszaszi
1586238717 add little endian 24bit read/write
Originally committed as revision 8269 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-06 13:04:47 +00:00
Michael Niedermayer
cb50328dbb free opt_names at the end of main() based on a patch by Limin Wang
Originally committed as revision 8268 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 21:08:03 +00:00
Michael Niedermayer
4dcc383a4d indention
Originally committed as revision 8267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 21:02:14 +00:00
Michael Niedermayer
4913b231a7 remove usless if() before av_free()
Originally committed as revision 8266 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 21:01:49 +00:00
Michael Niedermayer
75b213ed54 prevent audio packets from being fragmented, wmp mac doesnt seem to like that and microshitty also doesnt seem to ever fragment them
Originally committed as revision 8265 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 17:54:49 +00:00
Panagiotis Issaris
cf29452b63 Clarify doxygen description.
Originally committed as revision 8264 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 16:12:29 +00:00
Panagiotis Issaris
15786dc471 Cleanup doxygen comment.
Originally committed as revision 8263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 16:10:05 +00:00
Panagiotis Issaris
90c07b56e0 Fix a typo in a doxygen tag.
Originally committed as revision 8262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 15:36:43 +00:00
Panagiotis Issaris
c3316802da Convert all the comment sections into Doxygen compatible comments, same for
warning and notes.

Originally committed as revision 8261 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 15:18:50 +00:00
Michael Niedermayer
ff0e0b62a2 update forgotten regression test chcksums for
====
Author: michael
Date: Mon Mar  5 03:41:49 2007
New Revision: 8240

Modified:
   trunk/libavformat/asf-enc.c

Log:
   create codec_comment_header which looks more like what M$ creates, sane or not ...

Originally committed as revision 8260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 14:54:06 +00:00
Panagiotis Issaris
c306748c29 Move avio.h's url_get_max_packet_size() comment from source to header file.
Remove the comment section of url_set_interrupt_cb() which was a duplicate as it
appeared identically in both the header and the source file.

Originally committed as revision 8259 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 14:26:50 +00:00
Panagiotis Issaris
a8c5ab2707 Move aviobuf.c comments to avio.h. By moving the aviobuf.c comments to avio.h,
these comments can be extracted by Doxygen by only accessing the installed
headers.

Originally committed as revision 8258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:55:45 +00:00
Panagiotis Issaris
50c5f1598d Make rtsp_set_callback() comments available to Doxygen
Originally committed as revision 8257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:54:15 +00:00
Panagiotis Issaris
0af4407d35 Move unaltered rtsp.c comments to the header file.
Originally committed as revision 8256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:53:42 +00:00
Panagiotis Issaris
37d2210ae9 Doxygenize comments in rtsp.h
Originally committed as revision 8255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:53:00 +00:00
Panagiotis Issaris
391fbb656c Convert macro+enum into a simple enum: Currently the enum was filled using a
macro that also contained a description for every field, but, that description
was not being used anywhere. This changes it, to make the description available
as a Doxygen comment. Furthermore, it is now easily parsable by Doxygen, while
before it messed up the documentation.

Originally committed as revision 8254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:52:14 +00:00
Panagiotis Issaris
d7f654692a Move unaltered av_freep() comments to the header file.
Originally committed as revision 8253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:51:03 +00:00
Panagiotis Issaris
f690ee715d Move unaltered av_free() comments to the header file.
Originally committed as revision 8252 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:50:03 +00:00
Panagiotis Issaris
d6def91a3b Move unaltered av_realloc() comments to the header file.
Originally committed as revision 8251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:46:47 +00:00
Panagiotis Issaris
9a07029916 Move unaltered av_malloc() comments to the header file.
Originally committed as revision 8250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:45:52 +00:00
Panagiotis Issaris
bdd54e3758 Doxygenize the unaltered comments for the AUHeaders structure.
Originally committed as revision 8249 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:43:16 +00:00
Panagiotis Issaris
01f132a126 Doxygenize the unaltered comments for the rtp_payload_data_s struct.
Originally committed as revision 8248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 13:42:33 +00:00
Panagiotis Issaris
190e507be3 Doxygenize the unaltered comments for the RTP_MAX_SDES definition.
Originally committed as revision 8247 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 12:15:32 +00:00
Panagiotis Issaris
01c9c33a59 Doxygenize the existing comments without altering the actual contents of the
comment.

Originally committed as revision 8246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-05 12:14:29 +00:00