ffmpeg.git
11 years agohuffman: pass hnode_first as a flag instead of as an argument on its own
Aurelien Jacobs [Sat, 8 Mar 2008 17:57:13 +0000 (17:57 +0000)]
huffman: pass hnode_first as a flag instead of as an argument on its own

Originally committed as revision 12373 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoPut network-related code under #ifdef
Ramiro Polla [Sat, 8 Mar 2008 17:43:53 +0000 (17:43 +0000)]
Put network-related code under #ifdef

Originally committed as revision 12372 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoGroup network-related code together
Ramiro Polla [Sat, 8 Mar 2008 17:43:10 +0000 (17:43 +0000)]
Group network-related code together

Originally committed as revision 12371 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix unused variable warnings.
Mark Cox [Sat, 8 Mar 2008 17:18:28 +0000 (17:18 +0000)]
Fix unused variable warnings.
patch by mark cox, melbournemark+ffmpeg gmail.com

Originally committed as revision 12370 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agocosmetics: prettyprinting
Diego Biurrun [Sat, 8 Mar 2008 16:19:46 +0000 (16:19 +0000)]
cosmetics: prettyprinting

Originally committed as revision 12369 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoInstall libavfilter if it has been enabled.
Diego Biurrun [Sat, 8 Mar 2008 16:19:03 +0000 (16:19 +0000)]
Install libavfilter if it has been enabled.

Originally committed as revision 12368 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoThe videohook target does not depend on .libs.
Diego Biurrun [Sat, 8 Mar 2008 15:19:07 +0000 (15:19 +0000)]
The videohook target does not depend on .libs.

Originally committed as revision 12367 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMake ffplay use parse_number_or_die instead of atoi.
Diego Biurrun [Sat, 8 Mar 2008 15:06:43 +0000 (15:06 +0000)]
Make ffplay use parse_number_or_die instead of atoi.
Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 12366 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agocosmetics: Remove useless empty line.
Diego Biurrun [Sat, 8 Mar 2008 14:54:36 +0000 (14:54 +0000)]
cosmetics: Remove useless empty line.

Originally committed as revision 26201 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agocosmetics: Remove useless empty line.
Diego Biurrun [Sat, 8 Mar 2008 14:54:15 +0000 (14:54 +0000)]
cosmetics: Remove useless empty line.

Originally committed as revision 12365 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agocosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.
Diego Biurrun [Sat, 8 Mar 2008 14:40:18 +0000 (14:40 +0000)]
cosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.

Originally committed as revision 26200 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agocosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.
Diego Biurrun [Sat, 8 Mar 2008 14:39:43 +0000 (14:39 +0000)]
cosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.

Originally committed as revision 12364 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years ago__stdcall -> WINAPI
Ramiro Polla [Fri, 7 Mar 2008 19:47:44 +0000 (19:47 +0000)]
__stdcall -> WINAPI
Windows x64 has no __stdcall.
It is not yet supported, but someday it might...

Originally committed as revision 12363 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agosimplify library version handling
Måns Rullgård [Fri, 7 Mar 2008 19:27:17 +0000 (19:27 +0000)]
simplify library version handling

Originally committed as revision 12362 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoreplace -f pgmyuv with -f image2 -vcodec pgmyuv
Måns Rullgård [Fri, 7 Mar 2008 19:27:14 +0000 (19:27 +0000)]
replace -f pgmyuv with -f image2 -vcodec pgmyuv

Originally committed as revision 12361 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSimplify do_video_encoding() in regression.sh
Måns Rullgård [Fri, 7 Mar 2008 19:27:10 +0000 (19:27 +0000)]
Simplify do_video_encoding() in regression.sh

All calls of this function use pgmyuv input format; hence
no need to specify it explicitly.

Originally committed as revision 12360 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agosimplify library version handling
Måns Rullgård [Fri, 7 Mar 2008 19:27:08 +0000 (19:27 +0000)]
simplify library version handling

Originally committed as revision 26193 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agoRemove mp4psp regression test
Måns Rullgård [Fri, 7 Mar 2008 19:27:07 +0000 (19:27 +0000)]
Remove mp4psp regression test

The PSP MP4 format requires an AAC audio stream, so until
we have an AAC encoder we cannot test this format.

The existing test is broken and does not actually use the
PSP format.

Originally committed as revision 12359 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd 'disposition' bitfield to AVStream and use it for both muxing and demuxing
Evgeniy Stepanov [Fri, 7 Mar 2008 19:25:09 +0000 (19:25 +0000)]
Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing
of matroska and nut.

Originally committed as revision 12358 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agofix AVClass for avfilter
Måns Rullgård [Fri, 7 Mar 2008 09:08:28 +0000 (09:08 +0000)]
fix AVClass for avfilter

Originally committed as revision 12357 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoindentation
Baptiste Coudurier [Thu, 6 Mar 2008 23:10:47 +0000 (23:10 +0000)]
indentation

Originally committed as revision 12356 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agodo not display par and dar if not available
Baptiste Coudurier [Thu, 6 Mar 2008 23:09:16 +0000 (23:09 +0000)]
do not display par and dar if not available

Originally committed as revision 12355 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoconsolidate CFLAGS, LDFLAGS, EXTRALIBS assignment
Måns Rullgård [Thu, 6 Mar 2008 20:44:47 +0000 (20:44 +0000)]
consolidate CFLAGS, LDFLAGS, EXTRALIBS assignment

Originally committed as revision 26186 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agoconsolidate CFLAGS, LDFLAGS, EXTRALIBS assignment
Måns Rullgård [Thu, 6 Mar 2008 20:44:44 +0000 (20:44 +0000)]
consolidate CFLAGS, LDFLAGS, EXTRALIBS assignment

Originally committed as revision 12354 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agodo not reset duration_error for all streams, only reset current stream, fix wrong_fps.gxf
Baptiste Coudurier [Thu, 6 Mar 2008 17:44:42 +0000 (17:44 +0000)]
do not reset duration_error for all streams, only reset current stream, fix wrong_fps.gxf

Originally committed as revision 12353 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMake av_class a pointer to a const AVClass. Addresses one warning in
Panagiotis Issaris [Thu, 6 Mar 2008 17:41:31 +0000 (17:41 +0000)]
Make av_class a pointer to a const AVClass. Addresses one warning in
imgresample.c.

Originally committed as revision 12352 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoDon't use unchecked data from the bitstream.
Benjamin Larsson [Thu, 6 Mar 2008 14:22:02 +0000 (14:22 +0000)]
Don't use unchecked data from the bitstream.

Originally committed as revision 12351 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agosupport AVDISCARD_ALL
Baptiste Coudurier [Thu, 6 Mar 2008 13:40:29 +0000 (13:40 +0000)]
support AVDISCARD_ALL

Originally committed as revision 12350 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agochange sws_format_name to return const char*, supress many warnings
Baptiste Coudurier [Thu, 6 Mar 2008 11:32:25 +0000 (11:32 +0000)]
change sws_format_name to return const char*, supress many warnings

Originally committed as revision 26183 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agoremove redundant SwScaler text since av_log uses AVClass context
Baptiste Coudurier [Thu, 6 Mar 2008 09:51:25 +0000 (09:51 +0000)]
remove redundant SwScaler text since av_log uses AVClass context

Originally committed as revision 26182 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agofix interlaced decoding, original patch from reimar
Baptiste Coudurier [Thu, 6 Mar 2008 09:45:59 +0000 (09:45 +0000)]
fix interlaced decoding, original patch from reimar

Originally committed as revision 12349 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoIMA ADPCM encoder - QT variant
Kostya Shishkov [Thu, 6 Mar 2008 07:30:41 +0000 (07:30 +0000)]
IMA ADPCM encoder - QT variant

Originally committed as revision 12348 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSkip over unknown extended_content_header tags.
Michael Niedermayer [Thu, 6 Mar 2008 00:26:48 +0000 (00:26 +0000)]
Skip over unknown extended_content_header tags.
fixes issue358

Originally committed as revision 12347 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agosimplify
Michael Niedermayer [Thu, 6 Mar 2008 00:20:49 +0000 (00:20 +0000)]
simplify

Originally committed as revision 12346 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomake compilation of mpeg12* and mpegvideo conditional
Aurelien Jacobs [Wed, 5 Mar 2008 21:43:30 +0000 (21:43 +0000)]
make compilation of mpeg12* and mpegvideo conditional

Originally committed as revision 12345 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomove ff_mpeg1_dc_scale_table to mpegvideo.c
Aurelien Jacobs [Wed, 5 Mar 2008 21:29:15 +0000 (21:29 +0000)]
move ff_mpeg1_dc_scale_table to mpegvideo.c

Originally committed as revision 12344 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoallow vpath search only for source files
Måns Rullgård [Wed, 5 Mar 2008 21:27:58 +0000 (21:27 +0000)]
allow vpath search only for source files

Originally committed as revision 12343 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agosimplify processing of some --disable-* options
Måns Rullgård [Wed, 5 Mar 2008 19:56:54 +0000 (19:56 +0000)]
simplify processing of some --disable-* options

Originally committed as revision 12342 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd correct version number to shared libavfilter
Vitor Sessak [Wed, 5 Mar 2008 19:43:07 +0000 (19:43 +0000)]
Add correct version number to shared libavfilter

Originally committed as revision 12341 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix avfilter compilation with --enable-shared and no libswscaler
Vitor Sessak [Wed, 5 Mar 2008 18:26:44 +0000 (18:26 +0000)]
Fix avfilter compilation with --enable-shared and no libswscaler

Originally committed as revision 12340 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoadd dependencies for matroska audio and nut muxers over lavc
Aurelien Jacobs [Wed, 5 Mar 2008 16:34:47 +0000 (16:34 +0000)]
add dependencies for matroska audio and nut muxers over lavc

Originally committed as revision 12339 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSet TCP protocol to is_streamed=1 as seeking is not possible.
Diego Biurrun [Wed, 5 Mar 2008 15:29:10 +0000 (15:29 +0000)]
Set TCP protocol to is_streamed=1 as seeking is not possible.
Björn Axelsson, bjorn.axelsson intinor se

Originally committed as revision 12338 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agodoxyfy frame type comments and add some more comments
Aurelien Jacobs [Wed, 5 Mar 2008 15:23:54 +0000 (15:23 +0000)]
doxyfy frame type comments and add some more comments

Originally committed as revision 12337 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agodefine BI frame type along with other frame types
Aurelien Jacobs [Wed, 5 Mar 2008 15:19:26 +0000 (15:19 +0000)]
define BI frame type along with other frame types

Originally committed as revision 12336 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agocosmetic: align
Aurelien Jacobs [Wed, 5 Mar 2008 15:15:07 +0000 (15:15 +0000)]
cosmetic: align

Originally committed as revision 12335 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoremove some unneeded artificial dependencies from configure
Aurelien Jacobs [Wed, 5 Mar 2008 14:50:42 +0000 (14:50 +0000)]
remove some unneeded artificial dependencies from configure

Originally committed as revision 12334 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoadd some required objects dependencies
Aurelien Jacobs [Wed, 5 Mar 2008 14:49:43 +0000 (14:49 +0000)]
add some required objects dependencies

Originally committed as revision 12333 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAvoid linking with h263 and mpeg4 find_frame_end()
Aurelien Jacobs [Wed, 5 Mar 2008 14:46:51 +0000 (14:46 +0000)]
Avoid linking with h263 and mpeg4 find_frame_end()
when those codecs are not enabled.

Originally committed as revision 12332 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd some information about the stream bitrate, if available
Luca Abeni [Wed, 5 Mar 2008 13:31:24 +0000 (13:31 +0000)]
Add some information about the stream bitrate, if available

Originally committed as revision 12331 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSubtitle support. (untested)
Michael Niedermayer [Wed, 5 Mar 2008 13:06:49 +0000 (13:06 +0000)]
Subtitle support. (untested)

Originally committed as revision 12330 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoThe last flag fix fixed mpeg4-qprd (there the flags ended up being trashed
Michael Niedermayer [Wed, 5 Mar 2008 12:45:32 +0000 (12:45 +0000)]
The last flag fix fixed mpeg4-qprd (there the flags ended up being trashed
through lrintf(), that is gcc put the 32bit int flags in a 32bit float
which caused some to be lost ...).
I wonder why FATE did not pick this up?

Originally committed as revision 12329 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoset block align for mace3/6
Baptiste Coudurier [Wed, 5 Mar 2008 12:06:57 +0000 (12:06 +0000)]
set block align for mace3/6

Originally committed as revision 12328 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agocorrectly compute bit rate for compressed audio, should fix seeking in aiff
Baptiste Coudurier [Wed, 5 Mar 2008 12:02:32 +0000 (12:02 +0000)]
correctly compute bit rate for compressed audio, should fix seeking in aiff

Originally committed as revision 12327 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agofix the WC3 Xan decoder by correcting the frame accounting logic
Mike Melanson [Wed, 5 Mar 2008 06:58:20 +0000 (06:58 +0000)]
fix the WC3 Xan decoder by correcting the frame accounting logic

Originally committed as revision 12326 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoOne more (forgotten) fix for fixing sws_flags.
Michael Niedermayer [Wed, 5 Mar 2008 04:03:44 +0000 (04:03 +0000)]
One more (forgotten) fix for fixing sws_flags.

Originally committed as revision 26166 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agosws_flags is unsigned.
Michael Niedermayer [Wed, 5 Mar 2008 04:02:04 +0000 (04:02 +0000)]
sws_flags is unsigned.
This together with the last commit fixes the strange behavior of -sws_flags.
(issue229)

Originally committed as revision 12325 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix handling flags with the MSB set.
Michael Niedermayer [Wed, 5 Mar 2008 03:59:07 +0000 (03:59 +0000)]
Fix handling flags with the MSB set.

Originally committed as revision 12324 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoTurn ancient V offset numerical constants into named ones.
Michael Niedermayer [Wed, 5 Mar 2008 03:00:25 +0000 (03:00 +0000)]
Turn ancient V offset numerical constants into named ones.
Add a check that checks that the width is within the choosen constant.
This might have been exploitable.

Originally committed as revision 26165 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agoremove more useless mpegvideo.h includes
Aurelien Jacobs [Wed, 5 Mar 2008 00:43:11 +0000 (00:43 +0000)]
remove more useless mpegvideo.h includes

Originally committed as revision 12323 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomove EDGE_WIDTH definition allong with draw_edges where it belongs
Aurelien Jacobs [Wed, 5 Mar 2008 00:38:14 +0000 (00:38 +0000)]
move EDGE_WIDTH definition allong with draw_edges where it belongs

Originally committed as revision 12322 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoremove #include "mpegvideo.h" where it is not needed
Aurelien Jacobs [Wed, 5 Mar 2008 00:07:53 +0000 (00:07 +0000)]
remove #include "mpegvideo.h" where it is not needed

Originally committed as revision 12321 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomove relevant declarations to mpeg12data.h
Aurelien Jacobs [Wed, 5 Mar 2008 00:06:09 +0000 (00:06 +0000)]
move relevant declarations to mpeg12data.h

Originally committed as revision 12320 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomove run length table constants to rl.h
Aurelien Jacobs [Tue, 4 Mar 2008 23:58:12 +0000 (23:58 +0000)]
move run length table constants to rl.h

Originally committed as revision 12319 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomove ff_emulated_edge_mc() to dsputil
Aurelien Jacobs [Tue, 4 Mar 2008 23:10:47 +0000 (23:10 +0000)]
move ff_emulated_edge_mc() to dsputil

Originally committed as revision 12318 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove unused elements from tables.
Michael Niedermayer [Tue, 4 Mar 2008 22:09:54 +0000 (22:09 +0000)]
Remove unused elements from tables.

Originally committed as revision 12317 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoDetect and prevent reading over the end of counts_*. We pass the error
Michael Niedermayer [Tue, 4 Mar 2008 21:58:34 +0000 (21:58 +0000)]
Detect and prevent reading over the end of counts_*. We pass the error
through a context variable as this is simpler and i think also faster, but
the return value of functions could be used instead of course.
The code also ensures as a side effect that the AC decoder state does not
become invalid.
This fixes all known crashes. And outputs nothing in case of an error instead
of random noise.

Originally committed as revision 12316 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoPrevent segfault due to reading over the end of the input buffer.
Michael Niedermayer [Tue, 4 Mar 2008 21:39:21 +0000 (21:39 +0000)]
Prevent segfault due to reading over the end of the input buffer.

Originally committed as revision 12315 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agofix wmv3 dependencies
Aurelien Jacobs [Tue, 4 Mar 2008 18:38:32 +0000 (18:38 +0000)]
fix wmv3 dependencies

Originally committed as revision 12314 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix compilation on powerpc.
Aurelien Jacobs [Tue, 4 Mar 2008 18:35:12 +0000 (18:35 +0000)]
Fix compilation on powerpc.
DECLARE_ALIGNED_8 is not defined at that point, but this code is powerpc
only, so it's really equivalent to DECLARE_ALIGNED(16...

Originally committed as revision 12313 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoremove old draw_edges declaration cruft
Aurelien Jacobs [Tue, 4 Mar 2008 10:54:51 +0000 (10:54 +0000)]
remove old draw_edges declaration cruft

Originally committed as revision 12312 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomove ff_init_scantable() into dsputil
Aurelien Jacobs [Tue, 4 Mar 2008 10:26:56 +0000 (10:26 +0000)]
move ff_init_scantable() into dsputil

Originally committed as revision 12311 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoIgnore flags after pts/dts if there are no bytes left.
Michael Niedermayer [Tue, 4 Mar 2008 01:31:15 +0000 (01:31 +0000)]
Ignore flags after pts/dts if there are no bytes left.
Fixes decoding of vdr-radio.vdr. (issue198)

Originally committed as revision 12310 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomove draw_edges() into dsputil
Aurelien Jacobs [Tue, 4 Mar 2008 00:07:41 +0000 (00:07 +0000)]
move draw_edges() into dsputil

Originally committed as revision 12309 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agodsputil.h is a local header
Aurelien Jacobs [Mon, 3 Mar 2008 23:14:25 +0000 (23:14 +0000)]
dsputil.h is a local header

Originally committed as revision 12308 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoinclude required header
Aurelien Jacobs [Mon, 3 Mar 2008 23:10:13 +0000 (23:10 +0000)]
include required header

Originally committed as revision 12307 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoinclude required headers for int64_t and AV_RB16()
Aurelien Jacobs [Mon, 3 Mar 2008 23:00:48 +0000 (23:00 +0000)]
include required headers for int64_t and AV_RB16()

Originally committed as revision 12306 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoavi.h does not use anything from avcodec.h.
Aurelien Jacobs [Mon, 3 Mar 2008 22:56:07 +0000 (22:56 +0000)]
avi.h does not use anything from avcodec.h.

Originally committed as revision 12305 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix endian test with grep not handling non-text files
Måns Rullgård [Mon, 3 Mar 2008 22:01:15 +0000 (22:01 +0000)]
Fix endian test with grep not handling non-text files

POSIX grep is not required to support non-text files.

Idea by Rich Felker.

Originally committed as revision 12304 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoremove invalid free() forgotten in r12300
Måns Rullgård [Mon, 3 Mar 2008 21:54:18 +0000 (21:54 +0000)]
remove invalid free() forgotten in r12300

Originally committed as revision 12303 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoremove unnecessary backslashes
Måns Rullgård [Mon, 3 Mar 2008 21:48:24 +0000 (21:48 +0000)]
remove unnecessary backslashes

Originally committed as revision 12302 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix libavfilter compilation and make it more in line
Vitor Sessak [Mon, 3 Mar 2008 20:53:15 +0000 (20:53 +0000)]
Fix libavfilter compilation and make it more in line
with the other libav*.

Originally committed as revision 12301 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoProvide non null class name to avoid crash with ffmpeg -h.
Michael Niedermayer [Mon, 3 Mar 2008 19:53:27 +0000 (19:53 +0000)]
Provide non null class name to avoid crash with ffmpeg -h.

Originally committed as revision 12300 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoForce DOS users to enable memalign hack when needed,
Ramiro Polla [Mon, 3 Mar 2008 17:06:48 +0000 (17:06 +0000)]
Force DOS users to enable memalign hack when needed,
the same way it's done for MinGW.

Originally committed as revision 12299 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSupport setting the debuglevel (-g level) with --enable-debug=#
Benjamin Larsson [Mon, 3 Mar 2008 16:59:53 +0000 (16:59 +0000)]
Support setting the debuglevel (-g level) with --enable-debug=#

Originally committed as revision 12298 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix decoding of interlaced gif, e.g. http://samples.mplayerhq.hu/GIF/7up.gif
Reimar Döffinger [Mon, 3 Mar 2008 13:16:29 +0000 (13:16 +0000)]
Fix decoding of interlaced gif, e.g. samples.mplayerhq.hu/GIF/7up.gif

Originally committed as revision 12297 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUse block_align as the avi spec says.
Michael Niedermayer [Mon, 3 Mar 2008 01:27:15 +0000 (01:27 +0000)]
Use block_align as the avi spec says.
fix issue274

Originally committed as revision 12296 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoPrint slightly more useful info.
Michael Niedermayer [Mon, 3 Mar 2008 01:23:18 +0000 (01:23 +0000)]
Print slightly more useful info.

Originally committed as revision 12295 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFallback to sample rate if bit rate is 0. This avoids 0 timebases in nut.
Michael Niedermayer [Sun, 2 Mar 2008 23:47:30 +0000 (23:47 +0000)]
Fallback to sample rate if bit rate is 0. This avoids 0 timebases in nut.

Originally committed as revision 12294 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agofactorize
Michael Niedermayer [Sun, 2 Mar 2008 23:13:07 +0000 (23:13 +0000)]
factorize

Originally committed as revision 12293 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agosubtitles (codec tag tables still missing ...)
Michael Niedermayer [Sun, 2 Mar 2008 23:11:36 +0000 (23:11 +0000)]
subtitles (codec tag tables still missing ...)

Originally committed as revision 12292 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUse "disable" helper function
Ramiro Polla [Sun, 2 Mar 2008 20:13:47 +0000 (20:13 +0000)]
Use "disable" helper function

Originally committed as revision 12291 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoStore aspect ratio in avis.
Michael Niedermayer [Sun, 2 Mar 2008 19:51:31 +0000 (19:51 +0000)]
Store aspect ratio in avis.

Originally committed as revision 12290 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove INFINITY as suggested by rich.
Michael Niedermayer [Sat, 1 Mar 2008 23:59:14 +0000 (23:59 +0000)]
Remove INFINITY as suggested by rich.

Originally committed as revision 12289 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove INFINITY.
Michael Niedermayer [Sat, 1 Mar 2008 23:36:27 +0000 (23:36 +0000)]
Remove INFINITY.

Originally committed as revision 12288 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agouse scale factor instead of sum for downmix level adjustment. avoids division
Justin Ruggles [Sat, 1 Mar 2008 16:10:19 +0000 (16:10 +0000)]
use scale factor instead of sum for downmix level adjustment. avoids division
inside downmix loop. 7% faster 5.1-to-stereo downmixing.

Originally committed as revision 12287 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agopre-calculate downmix coefficient sums. 2% faster 5.1-to-stereo downmixing.
Justin Ruggles [Sat, 1 Mar 2008 15:48:18 +0000 (15:48 +0000)]
pre-calculate downmix coefficient sums. 2% faster 5.1-to-stereo downmixing.

Originally committed as revision 12286 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoDo not add deprecated -no-cpp-precomp to CFLAGS on Darwin.
İsmail Dönmez [Sat, 1 Mar 2008 11:56:09 +0000 (11:56 +0000)]
Do not add deprecated -no-cpp-precomp to CFLAGS on Darwin.
patch by İsmail Dönmez, ismail namtrac org

Originally committed as revision 12285 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUse 24-bit fixed-point transform coefficients until just before MDCT. This
Justin Ruggles [Sat, 1 Mar 2008 04:39:39 +0000 (04:39 +0000)]
Use 24-bit fixed-point transform coefficients until just before MDCT. This
gives 7% faster decoding on average.

Originally committed as revision 12284 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agofix wc3movie demuxer to conform to the PTS API
Mike Melanson [Sat, 1 Mar 2008 02:28:47 +0000 (02:28 +0000)]
fix wc3movie demuxer to conform to the PTS API

Originally committed as revision 12283 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomore aspect ratios added in one of the ammendments
Loren Merritt [Sat, 1 Mar 2008 01:58:25 +0000 (01:58 +0000)]
more aspect ratios added in one of the ammendments

Originally committed as revision 12282 to svn://svn.ffmpeg.org/ffmpeg/trunk