ffmpeg.git
12 years agoMake parse_options() use parse_number_or_die().
Stefano Sabatini [Mon, 25 Feb 2008 14:15:52 +0000 (14:15 +0000)]
Make parse_options() use parse_number_or_die().
Patch by Stefano Sabatini stefano sabatini-lala poste it

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

12 years agoExport and document in cmdutils.h the function parse_number_or_die().
Stefano Sabatini [Mon, 25 Feb 2008 14:05:52 +0000 (14:05 +0000)]
Export and document in cmdutils.h the function parse_number_or_die().
Patch by Stefano Sabatini: stefano sabatini-lala poste it

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

12 years agofix mace duration
Baptiste Coudurier [Mon, 25 Feb 2008 12:59:42 +0000 (12:59 +0000)]
fix mace duration

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

12 years agoprotect malloc overflow
Baptiste Coudurier [Mon, 25 Feb 2008 12:45:59 +0000 (12:45 +0000)]
protect malloc overflow

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

12 years agoindentation
Baptiste Coudurier [Mon, 25 Feb 2008 12:44:15 +0000 (12:44 +0000)]
indentation

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

12 years agofail if extradata cannot be allocated
Baptiste Coudurier [Mon, 25 Feb 2008 12:42:32 +0000 (12:42 +0000)]
fail if extradata cannot be allocated

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

12 years ago10l, protect malloc overflow
Baptiste Coudurier [Mon, 25 Feb 2008 12:38:37 +0000 (12:38 +0000)]
10l, protect malloc overflow

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

12 years agosupport QDM2 in aiff, QDM2.aif
Baptiste Coudurier [Mon, 25 Feb 2008 12:29:34 +0000 (12:29 +0000)]
support QDM2 in aiff, QDM2.aif

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

12 years agoremove useless close function
Baptiste Coudurier [Mon, 25 Feb 2008 12:24:30 +0000 (12:24 +0000)]
remove useless close function

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

12 years agoindentation
Baptiste Coudurier [Mon, 25 Feb 2008 12:23:27 +0000 (12:23 +0000)]
indentation

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

12 years agoremove useless casts
Baptiste Coudurier [Mon, 25 Feb 2008 12:15:26 +0000 (12:15 +0000)]
remove useless casts

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

12 years agocosmetics
Baptiste Coudurier [Mon, 25 Feb 2008 12:14:15 +0000 (12:14 +0000)]
cosmetics

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

12 years agoremove useless tags, codec_get_id matches independently and qt uses lower case tags
Baptiste Coudurier [Mon, 25 Feb 2008 12:08:26 +0000 (12:08 +0000)]
remove useless tags, codec_get_id matches independently and qt uses lower case tags

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

12 years agoset bps to uncompressed original sound data for compressed audio
Baptiste Coudurier [Mon, 25 Feb 2008 12:00:31 +0000 (12:00 +0000)]
set bps to uncompressed original sound data for compressed audio
according to aiff specs, qt set it to 16 for mace and ima4,
fail if block align is not set.

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

12 years agofix duration for ima4
Baptiste Coudurier [Mon, 25 Feb 2008 11:34:26 +0000 (11:34 +0000)]
fix duration for ima4

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

12 years agoima4 in aiff support
Baptiste Coudurier [Mon, 25 Feb 2008 10:57:22 +0000 (10:57 +0000)]
ima4 in aiff support

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

12 years agopng filters
Loren Merritt [Mon, 25 Feb 2008 10:34:23 +0000 (10:34 +0000)]
png filters

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

12 years agoFix outdated comment.
Diego Biurrun [Mon, 25 Feb 2008 09:43:52 +0000 (09:43 +0000)]
Fix outdated comment.

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

12 years ago#include "libavutil/avutil.h" in swscale.h
Måns Rullgård [Mon, 25 Feb 2008 09:24:33 +0000 (09:24 +0000)]
#include "libavutil/avutil.h" in swscale.h

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

12 years agoInstall headers in $prefix/include/$libname
Måns Rullgård [Mon, 25 Feb 2008 09:22:11 +0000 (09:22 +0000)]
Install headers in $prefix/include/$libname

Install each library's headers in $prefix/include/$libname.
The installed headers use #include "lib*/*.h"; applications
are expected to do the same.

Specify only $prefix/include in .pc files.

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

12 years agoremove a memcpy
Loren Merritt [Mon, 25 Feb 2008 05:46:53 +0000 (05:46 +0000)]
remove a memcpy

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

12 years agocosmetics: Sort and prettyprint codec_wav_tags[].
Diego Biurrun [Sun, 24 Feb 2008 23:02:47 +0000 (23:02 +0000)]
cosmetics: Sort and prettyprint codec_wav_tags[].

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

12 years agofix memory leaks in vp3 decoder
Måns Rullgård [Sun, 24 Feb 2008 18:56:52 +0000 (18:56 +0000)]
fix memory leaks in vp3 decoder

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

12 years agoSet indexmem to a saner default.
Michael Niedermayer [Sun, 24 Feb 2008 16:28:35 +0000 (16:28 +0000)]
Set indexmem to a saner default.

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

12 years ago__asm __volatile -> asm volatile part 3
Reimar Döffinger [Sun, 24 Feb 2008 14:59:16 +0000 (14:59 +0000)]
__asm __volatile -> asm volatile part 3

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

12 years ago__asm __volatile -> asm volatile part 2
Reimar Döffinger [Sun, 24 Feb 2008 14:47:42 +0000 (14:47 +0000)]
__asm __volatile -> asm volatile part 2

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

12 years ago__asm __volatile -> asm volatile, improves code consistency and works
Reimar Döffinger [Sun, 24 Feb 2008 14:46:22 +0000 (14:46 +0000)]
__asm __volatile -> asm volatile, improves code consistency and works
(as far as that is possible) with the Sun C compiler.

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

12 years agoFix bug I introduced in r11962.
Vitor Sessak [Sun, 24 Feb 2008 07:47:02 +0000 (07:47 +0000)]
Fix bug I introduced in r11962.
Thanks to Uoti Urpala for spotting it and proposing the
fix.

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

12 years agoReduce initial fifo size, so as not to senselessly waste memory.
Michael Niedermayer [Sun, 24 Feb 2008 01:56:27 +0000 (01:56 +0000)]
Reduce initial fifo size, so as not to senselessly waste memory.

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

12 years agorealloc fifo
Michael Niedermayer [Sun, 24 Feb 2008 01:55:34 +0000 (01:55 +0000)]
realloc fifo

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

12 years agoFix issue357
Michael Niedermayer [Sun, 24 Feb 2008 01:04:00 +0000 (01:04 +0000)]
Fix issue357
Do what the spec says, insane or not:
"
Format 0 (uncompressed) and Format 3 (uncompressed little-endian) are similar. Both encode
uncompressed audio samples. For 8-bit samples, the two formats are identical. For 16-bit
samples, the two formats differ in byte ordering. In Format 0, 16-bit samples are encoded and
decoded according to the native byte ordering of the platform on which the encoder and Flash
Player, respectively, are running. In Format 3, 16-bit samples are always encoded in little-endian
order (least significant byte first), and are byte-swapped if necessary in Flash Player before
playback. Format 0 is clearly disadvantageous because it introduces a playback platform
dependency. For 16-bit samples, Format 3 is highly preferable to Format 0 for SWF version 4
or later.
"

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

12 years agoflv/swf do not have a big endian codec id, they only support
Michael Niedermayer [Sun, 24 Feb 2008 00:57:15 +0000 (00:57 +0000)]
flv/swf do not have a big endian codec id, they only support
little endian and native endian.

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

12 years agoRiff ids for wmapro and wmavoice, this adds support for stream copy of these codecs...
Benjamin Larsson [Sat, 23 Feb 2008 23:30:41 +0000 (23:30 +0000)]
Riff ids for wmapro and wmavoice, this adds support for stream copy of these codecs between asf,avi and wav containers.

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

12 years agouse diff -u -w in codec regression test
Måns Rullgård [Sat, 23 Feb 2008 13:15:24 +0000 (13:15 +0000)]
use diff -u -w in codec regression test

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

12 years agotreat stream_type==0x82 as AUDIO_DTS when the program has a REGISTRATION_DESCRIPTOR...
Nico Sabbi [Sat, 23 Feb 2008 10:57:38 +0000 (10:57 +0000)]
treat stream_type==0x82 as AUDIO_DTS when the program has a REGISTRATION_DESCRIPTOR with the value HDMV; approved by Mans

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

12 years agoRemove apparently unneeded and buggy align.
Michael Niedermayer [Fri, 22 Feb 2008 19:27:22 +0000 (19:27 +0000)]
Remove apparently unneeded and buggy align.

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

12 years agoAdd -lm to x264 check, it is needed on most systems.
Diego Biurrun [Fri, 22 Feb 2008 17:15:24 +0000 (17:15 +0000)]
Add -lm to x264 check, it is needed on most systems.
taken from the DOS/DJGPP port by Michael Kostylev, mik niipt ru

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

12 years agocleaner way of writing packed-byte constants.
Loren Merritt [Fri, 22 Feb 2008 16:53:26 +0000 (16:53 +0000)]
cleaner way of writing packed-byte constants.
suggested by Uoti Urpala

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

12 years agoDiscard two symbols from libswscale.
Carl Eugen Hoyos [Fri, 22 Feb 2008 08:08:19 +0000 (08:08 +0000)]
Discard two symbols from libswscale.

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

12 years agoAscii art to explain what avfilter_formats_changeref() does.
Michael Niedermayer [Thu, 21 Feb 2008 22:33:40 +0000 (22:33 +0000)]
Ascii art to explain what avfilter_formats_changeref() does.

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

12 years agocosmetic
Michael Niedermayer [Thu, 21 Feb 2008 22:26:24 +0000 (22:26 +0000)]
cosmetic

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

12 years agoBetter description (merge is too vague IMHO).
Michael Niedermayer [Thu, 21 Feb 2008 22:19:51 +0000 (22:19 +0000)]
Better description (merge is too vague IMHO).

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

12 years agoBetter description for merge_ref().
Michael Niedermayer [Thu, 21 Feb 2008 22:10:11 +0000 (22:10 +0000)]
Better description for merge_ref().

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

12 years agoDocument avfilter_formats_ref() with some ascii art.
Michael Niedermayer [Thu, 21 Feb 2008 22:02:53 +0000 (22:02 +0000)]
Document avfilter_formats_ref() with some ascii art.

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

12 years agominor English corrections
Mike Melanson [Thu, 21 Feb 2008 18:46:49 +0000 (18:46 +0000)]
minor English corrections

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

12 years agotypos
Michael Niedermayer [Thu, 21 Feb 2008 18:42:33 +0000 (18:42 +0000)]
typos

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

12 years agoExplain that libavcodec/i386/idct_mmx.c is GPLed.
Diego Biurrun [Thu, 21 Feb 2008 15:48:58 +0000 (15:48 +0000)]
Explain that libavcodec/i386/idct_mmx.c is GPLed.

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

12 years ago"General Tips" section
Michael Niedermayer [Thu, 21 Feb 2008 13:02:31 +0000 (13:02 +0000)]
"General Tips" section

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

12 years agoparse_number_or_die()
Michael Niedermayer [Thu, 21 Feb 2008 12:24:37 +0000 (12:24 +0000)]
parse_number_or_die()
Based on a patch by Stefano Sabatini.

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

12 years agoindent
Loren Merritt [Thu, 21 Feb 2008 07:55:42 +0000 (07:55 +0000)]
indent

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

12 years agopseudo-simd add_bytes and diff_bytes
Loren Merritt [Thu, 21 Feb 2008 07:54:46 +0000 (07:54 +0000)]
pseudo-simd add_bytes and diff_bytes
2x faster than scalar in 32bit, 4x faster in 64bit (as opposed to 8x in mmx)

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

12 years agosimd and unroll png_filter_row
Loren Merritt [Thu, 21 Feb 2008 07:10:46 +0000 (07:10 +0000)]
simd and unroll png_filter_row
cycles per 1000 pixels on core2:
left: 9211->5170
top: 9283->2138
avg: 12215->7611
paeth: 64024->17360
overall rgb png decoding speed: +45%
overall greyscale png decoding speed: +6%

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

12 years agoDisabling all SSE* code for old gcc to avoid alignment issues.
Michael Niedermayer [Thu, 21 Feb 2008 00:06:07 +0000 (00:06 +0000)]
Disabling all SSE* code for old gcc to avoid alignment issues.

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

12 years agorevert 12156
Michael Niedermayer [Wed, 20 Feb 2008 20:24:38 +0000 (20:24 +0000)]
revert 12156

Log:
Make timestamp interpolation work with mpeg2 field pictures.
Cleaner/simpler solutions are welcome.
----
A IMHO cleaner solution has been implemented.

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

12 years agoForgot this, which is needed for merging field pics too.
Michael Niedermayer [Wed, 20 Feb 2008 19:48:25 +0000 (19:48 +0000)]
Forgot this, which is needed for merging field pics too.

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

12 years agoMake find_frame_end() merge 2 mpeg2 field pictures. This should make mpeg2
Michael Niedermayer [Wed, 20 Feb 2008 19:45:38 +0000 (19:45 +0000)]
Make find_frame_end() merge 2 mpeg2 field pictures. This should make mpeg2
field pictures much more digestable.

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

12 years ago10l: Correctly use preprocessor conditionals.
Eddie Pang [Wed, 20 Feb 2008 18:48:49 +0000 (18:48 +0000)]
10l: Correctly use preprocessor conditionals.
patch by Eddie Pang, eddpang gmail com

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

12 years agoFix computation of the "NTP time" field in RTCP SR packets, and do not
Luca Abeni [Wed, 20 Feb 2008 10:19:35 +0000 (10:19 +0000)]
Fix computation of the "NTP time" field in RTCP SR packets, and do not
export times with microsecond precision

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

12 years agoGet rid of a fake timestamp discontinuity at the begin of V.VOB.
Michael Niedermayer [Wed, 20 Feb 2008 03:40:07 +0000 (03:40 +0000)]
Get rid of a fake timestamp discontinuity at the begin of V.VOB.
This solution is not really correct but it is quite simple. Correct would
be to do a second pass over the packets after all the headers have been
collected.

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

12 years agoMake timestamp interpolation work with mpeg2 field pictures.
Michael Niedermayer [Wed, 20 Feb 2008 03:20:06 +0000 (03:20 +0000)]
Make timestamp interpolation work with mpeg2 field pictures.
Cleaner/simpler solutions are welcome.

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

12 years ago#include avutil.h in postprocess.h
Måns Rullgård [Wed, 20 Feb 2008 01:23:04 +0000 (01:23 +0000)]
#include avutil.h in postprocess.h

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

12 years agoClean up lib* version definitions
Måns Rullgård [Tue, 19 Feb 2008 22:52:28 +0000 (22:52 +0000)]
Clean up lib* version definitions

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

12 years agoClean up lib* version definitions
Måns Rullgård [Tue, 19 Feb 2008 22:50:28 +0000 (22:50 +0000)]
Clean up lib* version definitions

Updating version numbers now requires changing only one place.

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

12 years agoFix ;;
Michael Niedermayer [Tue, 19 Feb 2008 22:09:08 +0000 (22:09 +0000)]
Fix  ;;

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

12 years agoAdd some const, fixes warnings:
Reimar Döffinger [Tue, 19 Feb 2008 22:07:48 +0000 (22:07 +0000)]
Add some const, fixes warnings:
rtpenc_h264.c:69: warning: assignment discards qualifiers from pointer target type
rtpenc_h264.c:74: warning: assignment discards qualifiers from pointer target type

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

12 years agoMissing const, fix warnings:
Reimar Döffinger [Tue, 19 Feb 2008 21:58:54 +0000 (21:58 +0000)]
Missing const, fix warnings:
sdp.c:115: warning: assignment discards qualifiers from pointer target type
sdp.c:120: warning: assignment discards qualifiers from pointer target type

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

12 years agoFix warnings:
Reimar Döffinger [Tue, 19 Feb 2008 21:55:13 +0000 (21:55 +0000)]
Fix warnings:
i386/vp3dsp_sse2.c:805: warning: cast discards qualifiers from pointer target type
i386/vp3dsp_sse2.c:806: warning: cast discards qualifiers from pointer target type

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

12 years agoRemove duplicate ;
Reimar Döffinger [Tue, 19 Feb 2008 21:46:40 +0000 (21:46 +0000)]
Remove duplicate ;

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

12 years agoAdd casts to avoid warnings:
Reimar Döffinger [Tue, 19 Feb 2008 21:42:10 +0000 (21:42 +0000)]
Add casts to avoid warnings:
fraps.c:102: warning: passing argument 1 of ‘s->dsp.bswap_buf’ from incompatible pointer type
fraps.c:102: warning: passing argument 2 of ‘s->dsp.bswap_buf’ from incompatible pointer type

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

12 years agoMissing const
Reimar Döffinger [Tue, 19 Feb 2008 21:37:53 +0000 (21:37 +0000)]
Missing const

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

12 years agoFix misplaced const, avoids a cast-discards-qualifiers warning
Reimar Döffinger [Tue, 19 Feb 2008 16:18:17 +0000 (16:18 +0000)]
Fix misplaced const, avoids a cast-discards-qualifiers warning

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

12 years agoconst
Michael Niedermayer [Tue, 19 Feb 2008 16:08:52 +0000 (16:08 +0000)]
const

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

12 years agoReduce the number of senselessly scanned bytes.
Michael Niedermayer [Tue, 19 Feb 2008 15:55:14 +0000 (15:55 +0000)]
Reduce the number of senselessly scanned bytes.

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

12 years agoarg 10000l. Fix wrong fix committed in r12141
Guillaume Poirier [Tue, 19 Feb 2008 07:24:00 +0000 (07:24 +0000)]
arg 10000l. Fix wrong fix committed in r12141

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

12 years agofix broken indentation
Guillaume Poirier [Tue, 19 Feb 2008 07:20:03 +0000 (07:20 +0000)]
fix broken indentation

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

12 years ago10l: fix always false test: Binary & has lower precedence than ==
Guillaume Poirier [Tue, 19 Feb 2008 07:19:15 +0000 (07:19 +0000)]
10l: fix always false test: Binary & has lower precedence than ==

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

12 years agoRefactor vcprm and vcii macros by using the AVV macro.
Diego Biurrun [Mon, 18 Feb 2008 23:01:26 +0000 (23:01 +0000)]
Refactor vcprm and vcii macros by using the AVV macro.

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

12 years agoRefactor the FOUROF macro using the AVV macro.
Diego Biurrun [Mon, 18 Feb 2008 22:26:46 +0000 (22:26 +0000)]
Refactor the FOUROF macro using the AVV macro.

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

12 years agoRemove stray #undef.
Diego Biurrun [Mon, 18 Feb 2008 22:22:17 +0000 (22:22 +0000)]
Remove stray #undef.

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

12 years agofix crash on non-AltiVec powered machines: MPV_common_init_altivec doesn't check...
Alexander Strange [Mon, 18 Feb 2008 21:35:31 +0000 (21:35 +0000)]
fix crash on non-AltiVec powered machines: MPV_common_init_altivec doesn't check mm_flags
Patch by Alexander Strange %astrange A ithinksw PP com %

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

12 years agoRemove a superfluous call to atoi in ffmpeg.c:opt_verbose
Stefano Sabatini [Mon, 18 Feb 2008 15:30:56 +0000 (15:30 +0000)]
Remove a superfluous call to atoi in ffmpeg.c:opt_verbose

Patch by Stefano Sabatini ( stefano sabatini-lala poste it )
[FFmpeg-devel] [PATCH] Cosmetics: remove a superfluos call to atoi in
ffmpeg.c:opt_verbose

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

12 years agoAdd notes where known timestamp issues remain.
Michael Niedermayer [Sun, 17 Feb 2008 21:31:39 +0000 (21:31 +0000)]
Add notes where known timestamp issues remain.

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

12 years agoSet initial next_pts to unknown, this avoids the nonsense timestamp
Michael Niedermayer [Sun, 17 Feb 2008 20:12:44 +0000 (20:12 +0000)]
Set initial next_pts to unknown, this avoids the nonsense timestamp
discontinuity at the start. I hope this has no sideeffects, if it does
send a bugreport!
fixes issue137

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

12 years agoPrint a warning if a decoder produces more than 1 frame of output for
Michael Niedermayer [Sun, 17 Feb 2008 19:38:47 +0000 (19:38 +0000)]
Print a warning if a decoder produces more than 1 frame of output for
a single frame it got from the demuxer+parser.

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

12 years agoSet next_pts to pts if it is unknown and pkt->dts is not known either. This
Michael Niedermayer [Sun, 17 Feb 2008 19:08:15 +0000 (19:08 +0000)]
Set next_pts to pts if it is unknown and pkt->dts is not known either. This
is needed because next_pts is used to calculate the next pts and adding
to AV_NOPTS_VALUE does not achieve the intended result.

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

12 years agosimplify (next_)pts code
Michael Niedermayer [Sun, 17 Feb 2008 17:55:53 +0000 (17:55 +0000)]
simplify (next_)pts code

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

12 years agoUse next_pts if pkt->dts is unknown. In an ideal world this would not be needed
Michael Niedermayer [Sun, 17 Feb 2008 17:41:32 +0000 (17:41 +0000)]
Use next_pts if pkt->dts is unknown. In an ideal world this would not be needed
but sadly there are cases where the timestamps cannot be found without decoding.

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

12 years agoremove duplicate AV_STRINGIFY() definition
Måns Rullgård [Sun, 17 Feb 2008 03:54:07 +0000 (03:54 +0000)]
remove duplicate AV_STRINGIFY() definition

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

12 years agoremove duplicate AV_STRINGIFY() definition
Måns Rullgård [Sun, 17 Feb 2008 03:44:47 +0000 (03:44 +0000)]
remove duplicate AV_STRINGIFY() definition

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

12 years agoprettify lib* version number extraction
Måns Rullgård [Sun, 17 Feb 2008 00:00:10 +0000 (00:00 +0000)]
prettify lib* version number extraction

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

12 years agoprettify encoder/decoder/muxer/... list extraction
Måns Rullgård [Sun, 17 Feb 2008 00:00:06 +0000 (00:00 +0000)]
prettify encoder/decoder/muxer/... list extraction

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

12 years agoclean up definition of DECLARE_ALIGNED_8 and STRIDE_ALIGN
Måns Rullgård [Sat, 16 Feb 2008 19:18:30 +0000 (19:18 +0000)]
clean up definition of DECLARE_ALIGNED_8 and STRIDE_ALIGN

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

12 years agoFLAT objects cannot have multiple sections, so using the L1 attributes breaks
Mike Frysinger [Sat, 16 Feb 2008 15:17:59 +0000 (15:17 +0000)]
FLAT objects cannot have multiple sections, so using the L1 attributes breaks
linking. The FDPIC relocs also break for any other format. Thus check the
compiler environment and select the appropriate sections/relocs.
patch by Mike Frysinger, vapier.adi a gmail d com

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

12 years agoFLAT objects cannot have multiple sections, so using the L1 attributes breaks
Mike Frysinger [Sat, 16 Feb 2008 15:17:31 +0000 (15:17 +0000)]
FLAT objects cannot have multiple sections, so using the L1 attributes breaks
linking. The FDPIC relocs also break for any other format. Thus check the
compiler environment and select the appropriate sections/relocs.
patch by Mike Frysinger, vapier.adi a gmail d com

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

12 years agoThis shell script is not bash-specific.
Diego Biurrun [Sat, 16 Feb 2008 14:42:44 +0000 (14:42 +0000)]
This shell script is not bash-specific.

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

12 years agoRemove check for the availability of the -u diff flag, we require it in
Diego Biurrun [Sat, 16 Feb 2008 14:37:23 +0000 (14:37 +0000)]
Remove check for the availability of the -u diff flag, we require it in
other places without checking for its availability already.

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

12 years agoThe Blackfin toolchains will automatically select FDPIC according to the
Mike Frysinger [Sat, 16 Feb 2008 14:21:53 +0000 (14:21 +0000)]
The Blackfin toolchains will automatically select FDPIC according to the
toolchain/tuple, so there is no need (and indeed this is unwanted)
to force -mfdpic into the compile/linker flags.
patch by Mike Frysinger, vapier.adi a gmail d com

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

12 years agodo not run ldconfig after installing shared libraries
Måns Rullgård [Sat, 16 Feb 2008 14:13:23 +0000 (14:13 +0000)]
do not run ldconfig after installing shared libraries

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

12 years agoRemove unneeded function.
Vitor Sessak [Fri, 15 Feb 2008 22:15:13 +0000 (22:15 +0000)]
Remove unneeded function.

Commited in SoC by Vitor Sessak on 2008-02-12 20:54:11

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

12 years agoOops
Vitor Sessak [Fri, 15 Feb 2008 22:15:09 +0000 (22:15 +0000)]
Oops
Commited in SoC by Vitor Sessak on 2008-02-12 20:43:49

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