Vitor Sessak [Sat, 24 May 2008 16:38:48 +0000 (16:38 +0000)]
Use an intermediate variable for overflow testing
Originally committed as revision 13283 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sat, 24 May 2008 16:20:37 +0000 (16:20 +0000)]
Handle the case where we do not have enough input
Originally committed as revision 13282 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sat, 24 May 2008 12:58:20 +0000 (12:58 +0000)]
Anoter try to make +- behave sanely.
Originally committed as revision 13281 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Sat, 24 May 2008 12:56:05 +0000 (12:56 +0000)]
cosmetics: indentation
Originally committed as revision 13280 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Sat, 24 May 2008 12:55:36 +0000 (12:55 +0000)]
remove useless title check
Originally committed as revision 13279 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sat, 24 May 2008 12:33:00 +0000 (12:33 +0000)]
Simplify eq()
Originally committed as revision 13278 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sat, 24 May 2008 09:20:09 +0000 (09:20 +0000)]
Simplify final()
Originally committed as revision 13277 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sat, 24 May 2008 09:19:21 +0000 (09:19 +0000)]
Simplify rms()
Originally committed as revision 13276 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sat, 24 May 2008 09:17:30 +0000 (09:17 +0000)]
More simplifications of ra144_decode_frame()
Originally committed as revision 13275 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sat, 24 May 2008 09:15:01 +0000 (09:15 +0000)]
Make wavtable a table instead of an array
Originally committed as revision 13274 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Sat, 24 May 2008 07:19:12 +0000 (07:19 +0000)]
Fix compilation for buggy icc.
Originally committed as revision 13273 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sat, 24 May 2008 02:34:19 +0000 (02:34 +0000)]
better error message
Originally committed as revision 13272 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sat, 24 May 2008 02:19:46 +0000 (02:19 +0000)]
latest libavc svn requires at least this value for bit_rate_tolerance, not using av_q2d because of float
Originally committed as revision 13271 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sat, 24 May 2008 00:03:00 +0000 (00:03 +0000)]
simplify, remove useless vars
Originally committed as revision 13270 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 23 May 2008 22:02:29 +0000 (22:02 +0000)]
add new h264 and aac flv ids
Originally committed as revision 13269 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 23 May 2008 21:51:33 +0000 (21:51 +0000)]
in flv this field is dts finally
Originally committed as revision 13268 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 23 May 2008 21:47:30 +0000 (21:47 +0000)]
flv use 32 bit pts
Originally committed as revision 13267 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 18:15:13 +0000 (18:15 +0000)]
Pass time_base as argument to new_chapter() as well.
This fixes the wrong timebase the matroska demuxer had after my previous commits.
Maybe we should reduce new_chapter() to just (AVFormatContext, int id) ?
Originally committed as revision 13266 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 17:56:45 +0000 (17:56 +0000)]
Document pts/dts.
Originally committed as revision 13265 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 17:52:42 +0000 (17:52 +0000)]
Warn user about invalid timestamps.
Originally committed as revision 13264 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 13:52:54 +0000 (13:52 +0000)]
Chapter demuxing support. (untested as I have no nuts with chapters)
Isn't that much simpler than Matroska?
Originally committed as revision 13263 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 13:14:11 +0000 (13:14 +0000)]
Make ff_new_chapter() return AVChapter instead of int so its consistant with
av_new_program() and its simpler to set other fields in AVChapter which arent
set by ff_new_chapter().
Originally committed as revision 13262 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 13:08:44 +0000 (13:08 +0000)]
nb_chapters should be unsigned
Originally committed as revision 13261 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 13:07:58 +0000 (13:07 +0000)]
s/num_chapters/nb_chapters/ all other similar variables are called nb_*.
Originally committed as revision 13260 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 13:04:12 +0000 (13:04 +0000)]
vertical align
Originally committed as revision 13259 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 13:03:52 +0000 (13:03 +0000)]
indent
Originally committed as revision 13258 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 13:03:32 +0000 (13:03 +0000)]
remove useless title check
Originally committed as revision 13257 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 13:03:04 +0000 (13:03 +0000)]
indent
Originally committed as revision 13256 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 13:02:27 +0000 (13:02 +0000)]
Add id to AVChapter, untested (where do i find matroska files with chapters?).
Originally committed as revision 13255 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 12:45:03 +0000 (12:45 +0000)]
clarify start/end timebase
Originally committed as revision 13254 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 12:44:12 +0000 (12:44 +0000)]
align comments
Originally committed as revision 13253 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 12:43:33 +0000 (12:43 +0000)]
chapter id and timebase
Originally committed as revision 13252 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 12:37:52 +0000 (12:37 +0000)]
indent
Originally committed as revision 13251 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 12:37:32 +0000 (12:37 +0000)]
make av_strdup(NULL) return NULL
Originally committed as revision 13250 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Fri, 23 May 2008 11:47:11 +0000 (11:47 +0000)]
don't set a dummy chapter title when title is unknown
Originally committed as revision 13249 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Fri, 23 May 2008 11:46:05 +0000 (11:46 +0000)]
cosmetics: indentation
Originally committed as revision 13248 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Fri, 23 May 2008 11:45:30 +0000 (11:45 +0000)]
allows adding chapters with NULL title
Originally committed as revision 13247 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Fri, 23 May 2008 07:15:56 +0000 (07:15 +0000)]
Add -formats option to ffplay.
Patch by Stefano Sabatini stefano sabatini-lala poste it
Originally committed as revision 13246 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Fri, 23 May 2008 07:14:28 +0000 (07:14 +0000)]
Add -formats option to ffserver.
Patch by Stefano Sabatini stefano sabatini-lala poste it
Originally committed as revision 13245 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vladimir Voroshilov [Fri, 23 May 2008 03:10:27 +0000 (03:10 +0000)]
adaptive and fixed codebook vector operations for ACELP-based codecs
Originally committed as revision 13244 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 May 2008 00:29:21 +0000 (00:29 +0000)]
Fix + - bug with non flags.
Originally committed as revision 13243 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Thu, 22 May 2008 23:04:02 +0000 (23:04 +0000)]
matroskadec: allows inserting chapters with unspecified end
Originally committed as revision 13242 to svn://svn.ffmpeg.org/ffmpeg/trunk
Anton Khirnov [Thu, 22 May 2008 22:07:09 +0000 (22:07 +0000)]
demux chapters out of matroska
patch by Anton Khirnov wyskas _at_ gmail _dot_ com
Originally committed as revision 13241 to svn://svn.ffmpeg.org/ffmpeg/trunk
Anton Khirnov [Thu, 22 May 2008 22:00:21 +0000 (22:00 +0000)]
add support for chapters definition in lavf
patch by Anton Khirnov wyskas _at_ gmail _dot_ com
Originally committed as revision 13240 to svn://svn.ffmpeg.org/ffmpeg/trunk
Benjamin Larsson [Thu, 22 May 2008 19:42:02 +0000 (19:42 +0000)]
Update copyright and text
Originally committed as revision 13239 to svn://svn.ffmpeg.org/ffmpeg/trunk
Maxim Poliakovski [Thu, 22 May 2008 19:16:28 +0000 (19:16 +0000)]
Fix decoding of 01-Untitled(1).oma, patch by Maxim Poliakovski
Originally committed as revision 13238 to svn://svn.ffmpeg.org/ffmpeg/trunk
Albert Astals Cid [Thu, 22 May 2008 17:16:12 +0000 (17:16 +0000)]
free moov and cmov when error occurs, fix memleak, patch by Albert Astals Cid, aastals at tv-wan dot es
Originally committed as revision 13237 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 May 2008 12:55:35 +0000 (12:55 +0000)]
Move show_formats() to cmdutils.c.
Patch by: Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13236 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 May 2008 09:49:18 +0000 (09:49 +0000)]
Implement ffplay -L.
Patch by: Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13235 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 22 May 2008 09:48:34 +0000 (09:48 +0000)]
Implement ffserver -version.
Patch by: Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13234 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 21 May 2008 23:41:17 +0000 (23:41 +0000)]
Get rid of more senseless wrapper functions and use OPT_EXIT instead.
Originally committed as revision 13233 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 21 May 2008 23:36:32 +0000 (23:36 +0000)]
Do not pass program_name as argument to show_version(), this allows some
future simplifications.
Originally committed as revision 13232 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 21 May 2008 23:27:50 +0000 (23:27 +0000)]
OPT_EXIT
Originally committed as revision 13231 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 21 May 2008 22:54:36 +0000 (22:54 +0000)]
remove useless var
Originally committed as revision 13230 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 21 May 2008 22:53:52 +0000 (22:53 +0000)]
10l, fix compilation
Originally committed as revision 13229 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 21 May 2008 22:52:21 +0000 (22:52 +0000)]
use duration from pkt
Originally committed as revision 13228 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 21 May 2008 22:49:48 +0000 (22:49 +0000)]
simplify
Originally committed as revision 13227 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 21 May 2008 22:48:33 +0000 (22:48 +0000)]
simplify
Originally committed as revision 13226 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 21 May 2008 21:24:32 +0000 (21:24 +0000)]
no need to sleep to hide crashes
Originally committed as revision 13225 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 21 May 2008 21:04:42 +0000 (21:04 +0000)]
check pkt stream index before returning packet, prevent segfault
Originally committed as revision 13224 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 21 May 2008 20:56:22 +0000 (20:56 +0000)]
open logfile in append mode, don't overwrite it
Originally committed as revision 13223 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 21 May 2008 20:50:41 +0000 (20:50 +0000)]
do not forget to free packet, fix memleak
Originally committed as revision 13222 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 21 May 2008 19:24:17 +0000 (19:24 +0000)]
Make gbuf2 a table instead of an array
Originally committed as revision 13221 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 21 May 2008 19:23:15 +0000 (19:23 +0000)]
Remove unneeded var from context
Originally committed as revision 13220 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Wed, 21 May 2008 17:55:54 +0000 (17:55 +0000)]
Make ffserver use parse_options().
Patch by Stefano Sabatini stefano sabatini-lala poste it
Originally committed as revision 13219 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Wed, 21 May 2008 17:50:42 +0000 (17:50 +0000)]
Improve parse_primary() error message.
Patch by Stefano Sabatini and Michael Niedermayer
Originally committed as revision 13218 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Bolt [Wed, 21 May 2008 17:44:51 +0000 (17:44 +0000)]
Print timestamp with increased precision.
Patch by David Bolt
Originally committed as revision 13217 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 21 May 2008 16:53:20 +0000 (16:53 +0000)]
Cosmetics: indentation
Originally committed as revision 13216 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 21 May 2008 16:43:33 +0000 (16:43 +0000)]
Simplify irms()
Originally committed as revision 13215 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 21 May 2008 16:43:05 +0000 (16:43 +0000)]
Simplify add_wav()
Originally committed as revision 13214 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 21 May 2008 16:41:58 +0000 (16:41 +0000)]
Only one out of two values of gbuf1 is actually used. Make it half the size.
Originally committed as revision 13213 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 21 May 2008 16:38:44 +0000 (16:38 +0000)]
Make etable1 and etable2 tables instead of arrays.
Originally committed as revision 13212 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 21 May 2008 16:36:19 +0000 (16:36 +0000)]
Simplify ra144_decode_frame() by unrolling a senseless
loop.
Thanks mkhdor for suggesting this patch.
Originally committed as revision 13211 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 21 May 2008 16:33:49 +0000 (16:33 +0000)]
Use ff_sqrt() function instead of using a table
Originally committed as revision 13210 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ben Littler [Wed, 21 May 2008 15:51:04 +0000 (15:51 +0000)]
update adding codec docs
Originally committed as revision 13209 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Wed, 21 May 2008 14:12:45 +0000 (14:12 +0000)]
Let ffplay support "-version".
Patch by: Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13208 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Wed, 21 May 2008 07:05:08 +0000 (07:05 +0000)]
Do not loop endlessly if converting into dv with timestamps Jan 1st not
immediately following a lapyear.
Patch by babupillai.
Fixes issue 443.
Originally committed as revision 13207 to svn://svn.ffmpeg.org/ffmpeg/trunk
Lars Täuber [Wed, 21 May 2008 02:26:42 +0000 (02:26 +0000)]
support dvd pcm 20/24 bits, patch by Lars Täuber, lars.taeuber gmx net
Originally committed as revision 13206 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 20 May 2008 23:39:07 +0000 (23:39 +0000)]
remove useless/obsolete comments
Originally committed as revision 13205 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 20 May 2008 23:32:22 +0000 (23:32 +0000)]
remove useless close function
Originally committed as revision 13204 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 20 May 2008 23:31:10 +0000 (23:31 +0000)]
split swf de/muxer
Originally committed as revision 13203 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 20 May 2008 02:24:02 +0000 (02:24 +0000)]
only print debug info when sample is actually added
Originally committed as revision 13202 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 20 May 2008 02:22:44 +0000 (02:22 +0000)]
warn about multiple fourcc
Originally committed as revision 13201 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 20 May 2008 02:21:29 +0000 (02:21 +0000)]
demux all stsd ids if codec is the same, fix premature_mov_ending.mov, closes #451
Originally committed as revision 13200 to svn://svn.ffmpeg.org/ffmpeg/trunk
Mike Melanson [Mon, 19 May 2008 04:57:57 +0000 (04:57 +0000)]
correct build documentation for qt-faststart utility
Originally committed as revision 13199 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sat, 17 May 2008 14:51:49 +0000 (14:51 +0000)]
Cosmetics: move function to remove forward declarations
Originally committed as revision 13198 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sat, 17 May 2008 14:42:55 +0000 (14:42 +0000)]
Minor simplification of rotate_block()
Originally committed as revision 13197 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sat, 17 May 2008 14:40:36 +0000 (14:40 +0000)]
Cosmetics: indentation
Originally committed as revision 13196 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sat, 17 May 2008 14:39:47 +0000 (14:39 +0000)]
Cosmetics: rename variable
Originally committed as revision 13195 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sat, 17 May 2008 14:38:12 +0000 (14:38 +0000)]
Simplify ra144_decode_frame()
Originally committed as revision 13194 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sat, 17 May 2008 14:36:44 +0000 (14:36 +0000)]
Simplify vsad16_mmx2().
Originally committed as revision 13193 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sat, 17 May 2008 14:35:45 +0000 (14:35 +0000)]
Remove a useless temporary buffer
Originally committed as revision 13192 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sat, 17 May 2008 14:35:14 +0000 (14:35 +0000)]
Simplify vsad16_mmx().
Originally committed as revision 13191 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sat, 17 May 2008 14:34:55 +0000 (14:34 +0000)]
Convert ra144.h tables from hex to decimal
Originally committed as revision 13190 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sat, 17 May 2008 14:33:01 +0000 (14:33 +0000)]
Simplify vsad_intra16_mmx2()
Originally committed as revision 13189 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sat, 17 May 2008 14:31:10 +0000 (14:31 +0000)]
Simplify vsad_intra16_mmx()
Originally committed as revision 13188 to svn://svn.ffmpeg.org/ffmpeg/trunk
Lars Täuber [Sat, 17 May 2008 11:42:03 +0000 (11:42 +0000)]
LPCM 24 bits support, patch by Lars Täuber, lars.taeuber gmx net
Originally committed as revision 13187 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Sat, 17 May 2008 11:38:30 +0000 (11:38 +0000)]
The MPEG4AAC codec is provided by an external library and will be disabled
with the next libavcodec major version bump.
Originally committed as revision 13186 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Sat, 17 May 2008 10:20:01 +0000 (10:20 +0000)]
missing codec long names by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13185 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 16 May 2008 21:28:55 +0000 (21:28 +0000)]
Avoid using log2() freebsd does not support it.
Originally committed as revision 13184 to svn://svn.ffmpeg.org/ffmpeg/trunk