ffmpeg.git
11 years agoApply 'cold' attribute to init/uninit functions in libavcodec
Zuxy Meng [Fri, 21 Mar 2008 03:11:20 +0000 (03:11 +0000)]
Apply 'cold' attribute to init/uninit functions in libavcodec

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

11 years agotwo more typos spotted by Mike
Diego Biurrun [Thu, 20 Mar 2008 19:36:20 +0000 (19:36 +0000)]
two more typos spotted by Mike

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

11 years agoCreate object files in a.out (aout-emx) format on OS/2. This works around
Dave Yeo [Thu, 20 Mar 2008 19:26:24 +0000 (19:26 +0000)]
Create object files in a.out (aout-emx) format on OS/2. This works around
needed system tools like nm not understanding the OMF object format.
patch by Dave Yeo, daveryeo telus net

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

11 years agobritish_english--;
Diego Biurrun [Thu, 20 Mar 2008 19:08:42 +0000 (19:08 +0000)]
british_english--;

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

11 years agoOnly #include sys/mman.h if configure set HAVE_SYS_MMAN_H.
Diego Biurrun [Thu, 20 Mar 2008 19:07:24 +0000 (19:07 +0000)]
Only #include sys/mman.h if configure set HAVE_SYS_MMAN_H.

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

11 years agofix mpeg2 muxing, replace seq header if contained in extradata and key frame does...
Baptiste Coudurier [Thu, 20 Mar 2008 18:48:50 +0000 (18:48 +0000)]
fix mpeg2 muxing, replace seq header if contained in extradata and key frame does not contain it

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

11 years agocosmetics, move case up
Baptiste Coudurier [Thu, 20 Mar 2008 18:42:44 +0000 (18:42 +0000)]
cosmetics, move case up

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

11 years agoMore complete documentation for AVFrame.reference.
Michael Niedermayer [Thu, 20 Mar 2008 18:16:13 +0000 (18:16 +0000)]
More complete documentation for AVFrame.reference.

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

11 years agoOne non functional AVPalette chunk less, one heap overflow less.
Michael Niedermayer [Thu, 20 Mar 2008 16:29:18 +0000 (16:29 +0000)]
One non functional AVPalette chunk less, one heap overflow less.
Fixes playback of CIMOVI01.avi.

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

11 years agoremove useless debug print since now mov_build_index will do
Baptiste Coudurier [Thu, 20 Mar 2008 16:07:55 +0000 (16:07 +0000)]
remove useless debug print since now mov_build_index will do

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

11 years agofree track data asap
Baptiste Coudurier [Thu, 20 Mar 2008 16:00:45 +0000 (16:00 +0000)]
free track data asap

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

11 years agomove mov_build_index before mov_read_trak to avoid useless declaration
Baptiste Coudurier [Thu, 20 Mar 2008 15:57:11 +0000 (15:57 +0000)]
move mov_build_index before mov_read_trak to avoid useless declaration

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

11 years agomove specific end treatment when trak is detected, will be needed for fragments
Baptiste Coudurier [Thu, 20 Mar 2008 15:55:50 +0000 (15:55 +0000)]
move specific end treatment when trak is detected, will be needed for fragments

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

11 years agoHardcode register to prevent aparent miscompilation.
Michael Niedermayer [Thu, 20 Mar 2008 14:24:29 +0000 (14:24 +0000)]
Hardcode register to prevent aparent miscompilation.
Fixes regression tests with gcc 2.95.

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

11 years agoremove unused temp
Michael Niedermayer [Thu, 20 Mar 2008 14:09:31 +0000 (14:09 +0000)]
remove unused temp

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

11 years ago Additional checks for strange num_val in FLV metadata
Pascal Massimino [Thu, 20 Mar 2008 11:02:40 +0000 (11:02 +0000)]
    Additional checks for strange num_val in FLV metadata
        Avoids some "Unsupported audio codec (6)" message in FLVs, e.g.
        Example of such problematic bitstream is 'bad_codec6.flv'
        in ftp's /incoming directory.

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

11 years agoomg, fix compilation
Baptiste Coudurier [Thu, 20 Mar 2008 09:38:55 +0000 (09:38 +0000)]
omg, fix compilation

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

11 years agocorrectly set avctx->frame_size for mp3on4 and mp3adu
Baptiste Coudurier [Thu, 20 Mar 2008 09:36:04 +0000 (09:36 +0000)]
correctly set avctx->frame_size for mp3on4 and mp3adu

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

11 years agoAdd Mimic and MSN TCP Webcam streams to documentation.
Ramiro Polla [Wed, 19 Mar 2008 18:51:20 +0000 (18:51 +0000)]
Add Mimic and MSN TCP Webcam streams to documentation.

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

11 years agoReindent after rtsp-alternate-protocol* patches.
Ronald S. Bultje [Wed, 19 Mar 2008 14:08:16 +0000 (14:08 +0000)]
Reindent after rtsp-alternate-protocol* patches.

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

11 years agoChange protocol_mask into protocol, since we always just try a single one per
Ronald S. Bultje [Wed, 19 Mar 2008 14:07:31 +0000 (14:07 +0000)]
Change protocol_mask into protocol, since we always just try a single one per
iteration in make_setup_request(), and cycling between the different protocols
is now done in the calling function, therefore the need for a mask goes away.
This also makes the function somewhat simpler to read.

Discussed and approved in "[PATCH] RTSP alternate protocol 3/4".

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

11 years agoAllow cycling between different protocols (TCP, UDP or multicast) so that if
Ronald S. Bultje [Wed, 19 Mar 2008 14:05:08 +0000 (14:05 +0000)]
Allow cycling between different protocols (TCP, UDP or multicast) so that if
one doesn't work, we can try the next one (i.e. trial-error protocol auto-
probing).

Discussed and approved in "[PATCH] RTSP alternate protocol 2-3/3".

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

11 years agoCheck for sys/mman.h and set appropriate definitions.
Alexander Strange [Wed, 19 Mar 2008 10:11:16 +0000 (10:11 +0000)]
Check for sys/mman.h and set appropriate definitions.
patch by Alexander Strange, astrange ithinksw com

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

11 years agoadd missing #include "common.h" to libavutil headers
Måns Rullgård [Wed, 19 Mar 2008 08:47:31 +0000 (08:47 +0000)]
add missing #include "common.h" to libavutil headers

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

11 years agoCosmetic change: remove the whitespace after 'defined'
Zuxy Meng [Wed, 19 Mar 2008 07:43:43 +0000 (07:43 +0000)]
Cosmetic change: remove the whitespace after 'defined'

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

11 years ago'malloc' attribute isn't supported in old gcc.
Zuxy Meng [Wed, 19 Mar 2008 07:42:50 +0000 (07:42 +0000)]
'malloc' attribute isn't supported in old gcc.

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

11 years agoApply "alloc_size" attribute to av_alloc, av_realloc and av_mallocz
Zuxy Meng [Wed, 19 Mar 2008 07:30:34 +0000 (07:30 +0000)]
Apply "alloc_size" attribute to av_alloc, av_realloc and av_mallocz

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

11 years agoReapply r12489: Add pure, const and malloc attributes to proper functions
Zuxy Meng [Wed, 19 Mar 2008 06:17:43 +0000 (06:17 +0000)]
Reapply r12489: Add pure, const and malloc attributes to proper functions
                in libavutil.
Fix a compilation failure in r12489.

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

11 years agoadd some missing formats: lmlm4, pva, pcx and sun rasterfile.
Ivo van Poorten [Tue, 18 Mar 2008 23:50:55 +0000 (23:50 +0000)]
add some missing formats: lmlm4, pva, pcx and sun rasterfile.

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

11 years ago32/64-bit agnostic x86 bswap
Måns Rullgård [Tue, 18 Mar 2008 22:28:33 +0000 (22:28 +0000)]
32/64-bit agnostic x86 bswap

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

11 years agoRemove redundant ARCH_POWERPC #ifdef around HAVE_ALTIVEC.
Diego Biurrun [Tue, 18 Mar 2008 22:14:57 +0000 (22:14 +0000)]
Remove redundant ARCH_POWERPC #ifdef around HAVE_ALTIVEC.

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

11 years agoRemove redundant ARCH_POWERPC #ifdef around HAVE_ALTIVEC.
Diego Biurrun [Tue, 18 Mar 2008 22:14:41 +0000 (22:14 +0000)]
Remove redundant ARCH_POWERPC #ifdef around HAVE_ALTIVEC.

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

11 years agocosmetics: sanitise asm() statements in bswap.h
Måns Rullgård [Tue, 18 Mar 2008 20:52:37 +0000 (20:52 +0000)]
cosmetics: sanitise asm() statements in bswap.h

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

11 years agoRemove useless variable since r8456.
Ramiro Polla [Tue, 18 Mar 2008 20:14:57 +0000 (20:14 +0000)]
Remove useless variable since r8456.

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

11 years agoMSN TCP Webcam stream demuxer.
Ramiro Polla [Tue, 18 Mar 2008 19:54:47 +0000 (19:54 +0000)]
MSN TCP Webcam stream demuxer.

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

11 years agoMimic decoder.
Ramiro Polla [Tue, 18 Mar 2008 19:51:34 +0000 (19:51 +0000)]
Mimic decoder.

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

11 years agorevert r12489.
Benoit Fouet [Tue, 18 Mar 2008 16:29:47 +0000 (16:29 +0000)]
revert r12489.

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

11 years agoPure, const and malloc attributes to libavutil.
Zuxy Meng [Tue, 18 Mar 2008 15:27:15 +0000 (15:27 +0000)]
Pure, const and malloc attributes to libavutil.
Patch by Zuxy Meng: zuxy meng gmail com
Original thread:
[FFmpeg-devel] [PATCH] Pure, const and malloc attributes to libavutil
Date: 03/18/2008 6:09 AM

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

11 years agocosmetics, remove superflous comments
Baptiste Coudurier [Tue, 18 Mar 2008 13:13:57 +0000 (13:13 +0000)]
cosmetics, remove superflous comments

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

11 years agoCheck for and set HAVE_MMX2, it is used in several places.
Alexander Strange [Tue, 18 Mar 2008 12:32:55 +0000 (12:32 +0000)]
Check for and set HAVE_MMX2, it is used in several places.
patch by Alexander Strange, astrange ithinksw com

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

11 years agofix extern prefix detection when cross compiling.
Michael Kostylev [Tue, 18 Mar 2008 12:08:37 +0000 (12:08 +0000)]
fix extern prefix detection when cross compiling.
Patch by Michael Kostylev: mik niipt ru

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

11 years agofix extern prefix detection on mingw
Måns Rullgård [Tue, 18 Mar 2008 09:36:29 +0000 (09:36 +0000)]
fix extern prefix detection on mingw

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

11 years agocheck for prefix on extern symbols in configure
Måns Rullgård [Tue, 18 Mar 2008 02:01:20 +0000 (02:01 +0000)]
check for prefix on extern symbols in configure

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

11 years agosimplify ALIGN_MASK definition
Måns Rullgård [Mon, 17 Mar 2008 23:44:46 +0000 (23:44 +0000)]
simplify ALIGN_MASK definition

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

11 years agoget register names from x86_cpu.h
Måns Rullgård [Mon, 17 Mar 2008 23:08:19 +0000 (23:08 +0000)]
get register names from x86_cpu.h

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

11 years agoadd REGd definition
Måns Rullgård [Mon, 17 Mar 2008 23:08:17 +0000 (23:08 +0000)]
add REGd definition

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

11 years agouse HAVE_FAST_64BIT
Måns Rullgård [Mon, 17 Mar 2008 23:08:14 +0000 (23:08 +0000)]
use HAVE_FAST_64BIT

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

11 years agocosmetics: remove useless \-newline escapes
Måns Rullgård [Mon, 17 Mar 2008 21:00:30 +0000 (21:00 +0000)]
cosmetics: remove useless \-newline escapes

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

11 years agoindentation
Måns Rullgård [Mon, 17 Mar 2008 19:22:31 +0000 (19:22 +0000)]
indentation

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

11 years agoclean up FFT SIMD selection
Måns Rullgård [Mon, 17 Mar 2008 19:22:28 +0000 (19:22 +0000)]
clean up FFT SIMD selection

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

11 years agoSplit the SETUP request into a separate function, as a prelude into allowing
Ronald S. Bultje [Mon, 17 Mar 2008 12:16:39 +0000 (12:16 +0000)]
Split the SETUP request into a separate function, as a prelude into allowing
multiple SETUPs to be send to cycle protocols rather than bailing if one
fails.

Discussed and approved in "[PATCH] RTSP alternate protocol 1/3".

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

11 years agoFix previously broken x86_64 check, simplifying it in the process.
Diego Biurrun [Mon, 17 Mar 2008 09:43:32 +0000 (09:43 +0000)]
Fix previously broken x86_64 check, simplifying it in the process.

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

11 years agoFix previously broken xlc checks, simplifying them in the process.
Diego Biurrun [Mon, 17 Mar 2008 09:40:42 +0000 (09:40 +0000)]
Fix previously broken xlc checks, simplifying them in the process.

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

11 years agoDrop unnecessary subshell invocation from BEINCLUDES check.
Diego Biurrun [Mon, 17 Mar 2008 09:36:44 +0000 (09:36 +0000)]
Drop unnecessary subshell invocation from BEINCLUDES check.

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

11 years agoProvide a context to parse_time_or_die().
Stefano Sabatini [Mon, 17 Mar 2008 09:33:21 +0000 (09:33 +0000)]
Provide a context to parse_time_or_die().
Patch by Stefano Sabatini: stefano sabatini-lala poste it

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

11 years agocosmetics: indentation
Diego Biurrun [Mon, 17 Mar 2008 09:22:39 +0000 (09:22 +0000)]
cosmetics: indentation

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

11 years agoSimplify MANGLE macro preprocessor condition checks.
Diego Biurrun [Mon, 17 Mar 2008 09:22:11 +0000 (09:22 +0000)]
Simplify MANGLE macro preprocessor condition checks.

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

11 years agoAdd -q to grep invocation where appropriate.
Diego Biurrun [Mon, 17 Mar 2008 09:20:42 +0000 (09:20 +0000)]
Add -q to grep invocation where appropriate.

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

11 years agoFix MANGLE macro on Mac OS X.
İsmail Dönmez [Mon, 17 Mar 2008 07:49:03 +0000 (07:49 +0000)]
Fix MANGLE macro on Mac OS X.
Allows compiling a 64 bit FFmpeg on Mac OS X without using --disable-mmx.
patch by İsmail Dönmez  ismail namtrac org

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

11 years agoFix a typo that causes an assertion to always fail.
Zuxy Meng [Mon, 17 Mar 2008 06:01:58 +0000 (06:01 +0000)]
Fix a typo that causes an assertion to always fail.
Reported by Alexander Bokovikov (openworld AT uralweb DOT ru)

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

11 years agompegvideo_armv5te.o belongs to OBJS, not ASM_OBJS
Måns Rullgård [Mon, 17 Mar 2008 02:33:08 +0000 (02:33 +0000)]
mpegvideo_armv5te.o belongs to OBJS, not ASM_OBJS

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

11 years agotypo: add missing \ in multi-line macro
Måns Rullgård [Mon, 17 Mar 2008 02:33:05 +0000 (02:33 +0000)]
typo: add missing \ in multi-line macro

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

11 years agofix typo ARCH_PPC -> ARCH_POWERPC
Måns Rullgård [Mon, 17 Mar 2008 02:33:02 +0000 (02:33 +0000)]
fix typo ARCH_PPC -> ARCH_POWERPC

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

11 years agojust skip klv packet, when no corresponding stream is found
Baptiste Coudurier [Sun, 16 Mar 2008 17:54:36 +0000 (17:54 +0000)]
just skip klv packet, when no corresponding stream is found

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

11 years agoMove functions that are only used when libswscale is not compiled in below
Diego Biurrun [Sun, 16 Mar 2008 17:34:31 +0000 (17:34 +0000)]
Move functions that are only used when libswscale is not compiled in below
the appropriate #ifdef. This avoids a bunch of "defined but not used" warnings
when compiling with libswscale enabled.

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

11 years agoEscape \1 and \2 in sed expressions written to config.mak to avoid mangling.
Diego Biurrun [Sun, 16 Mar 2008 15:51:47 +0000 (15:51 +0000)]
Escape \1 and \2 in sed expressions written to config.mak to avoid mangling.

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

11 years agoReturn of the living typo II: VHOOKDEPEND_CMD --> VHOOK_DEPEND_CMD
Diego Biurrun [Sun, 16 Mar 2008 15:27:18 +0000 (15:27 +0000)]
Return of the living typo II: VHOOKDEPEND_CMD --> VHOOK_DEPEND_CMD

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

11 years agosimplify, flags is 24bits according to specs
Baptiste Coudurier [Sun, 16 Mar 2008 15:13:40 +0000 (15:13 +0000)]
simplify, flags is 24bits according to specs

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

11 years agofucked up alphabetical order again, sorry
Baptiste Coudurier [Sun, 16 Mar 2008 13:40:21 +0000 (13:40 +0000)]
fucked up alphabetical order again, sorry

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

11 years agoipod/iphone compatible mp4 muxer
Baptiste Coudurier [Sun, 16 Mar 2008 13:36:36 +0000 (13:36 +0000)]
ipod/iphone compatible mp4 muxer

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

11 years agoimprove precision in mdct.c using double for some temporaries
Måns Rullgård [Sun, 16 Mar 2008 13:15:42 +0000 (13:15 +0000)]
improve precision in mdct.c using double for some temporaries

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

11 years ago10l: Fix stupid typo, VHOOKDEPEND_CMD --> VHOOK_DEPEND_CMD.
Diego Biurrun [Sun, 16 Mar 2008 11:24:22 +0000 (11:24 +0000)]
10l: Fix stupid typo, VHOOKDEPEND_CMD --> VHOOK_DEPEND_CMD.

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

11 years agoMerge binary generation rules.
Diego Biurrun [Sat, 15 Mar 2008 19:57:09 +0000 (19:57 +0000)]
Merge binary generation rules.

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

11 years agofix DEPEND_CMD for out of tree builds
Måns Rullgård [Sat, 15 Mar 2008 19:24:08 +0000 (19:24 +0000)]
fix DEPEND_CMD for out of tree builds

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

11 years agoset SRC_DIR in top-leve Makefile
Måns Rullgård [Sat, 15 Mar 2008 19:24:05 +0000 (19:24 +0000)]
set SRC_DIR in top-leve Makefile

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

11 years agorename LIBSRC to SRC_DIR, add quotes where SRC_DIR was used
Måns Rullgård [Sat, 15 Mar 2008 19:24:03 +0000 (19:24 +0000)]
rename LIBSRC to SRC_DIR, add quotes where SRC_DIR was used

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

11 years agoUse $< to simplify a few lines.
Diego Biurrun [Sat, 15 Mar 2008 19:14:07 +0000 (19:14 +0000)]
Use $< to simplify a few lines.

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

11 years agocosmetics: #include config.h before all other FFmpeg headers.
Diego Biurrun [Sat, 15 Mar 2008 16:17:02 +0000 (16:17 +0000)]
cosmetics: #include config.h before all other FFmpeg headers.

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

11 years agotypo fixes
Diego Biurrun [Sat, 15 Mar 2008 16:15:47 +0000 (16:15 +0000)]
typo fixes

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

11 years agotypo
Diego Biurrun [Sat, 15 Mar 2008 16:13:24 +0000 (16:13 +0000)]
typo

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

11 years agoProperly check for AltiVec CFLAGS instead of guessing based on compiler vendor.
Diego Biurrun [Sat, 15 Mar 2008 15:54:20 +0000 (15:54 +0000)]
Properly check for AltiVec CFLAGS instead of guessing based on compiler vendor.

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

11 years agoAdd attribute_align_arg to os2thread.c.
Dave Yeo [Sat, 15 Mar 2008 12:28:35 +0000 (12:28 +0000)]
Add attribute_align_arg to os2thread.c.
Patch by Dave Yeo.

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

11 years agoTypo
Ramiro Polla [Sat, 15 Mar 2008 12:24:31 +0000 (12:24 +0000)]
Typo

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

11 years agoRemove the unused function roundToInt16. It is a duplicate of the same function
Diego Biurrun [Sat, 15 Mar 2008 10:04:19 +0000 (10:04 +0000)]
Remove the unused function roundToInt16. It is a duplicate of the same function
in swscale.c. Fixes the warning:
yuv2rgb_altivec.c:751: 'roundToInt16' defined but not used

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

11 years agoOnly check for altivec.h when not using Apple gcc and not adding -faltivec to
Diego Biurrun [Sat, 15 Mar 2008 09:47:49 +0000 (09:47 +0000)]
Only check for altivec.h when not using Apple gcc and not adding -faltivec to
CFLAGS. This avoids a couple of warnings of the type
'#warning: Ignoring <altivec.h> because "-faltivec" specified'.

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

11 years agocosmetics: Reformat Apple cc check.
Diego Biurrun [Sat, 15 Mar 2008 09:45:06 +0000 (09:45 +0000)]
cosmetics: Reformat Apple cc check.

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

11 years agotypos
Diego Biurrun [Fri, 14 Mar 2008 21:50:23 +0000 (21:50 +0000)]
typos

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

11 years agoUse correct t printf modifier for pointer differences.
Diego Biurrun [Fri, 14 Mar 2008 13:19:39 +0000 (13:19 +0000)]
Use correct t printf modifier for pointer differences.

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

11 years agouseless null
Baptiste Coudurier [Fri, 14 Mar 2008 13:10:49 +0000 (13:10 +0000)]
useless null

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

11 years agoremove useless img_write_trailer func
Baptiste Coudurier [Fri, 14 Mar 2008 12:48:13 +0000 (12:48 +0000)]
remove useless img_write_trailer func

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

11 years agoBuild ffserver_g as well as ffserver, consistent with the other binaries.
Diego Biurrun [Fri, 14 Mar 2008 12:44:07 +0000 (12:44 +0000)]
Build ffserver_g as well as ffserver, consistent with the other binaries.

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

11 years agolog aspect ratio forbidden value, and fail if error resilience is high
Baptiste Coudurier [Fri, 14 Mar 2008 09:33:38 +0000 (09:33 +0000)]
log aspect ratio forbidden value, and fail if error resilience is high

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

11 years agonew attempt at portable endian test
Måns Rullgård [Thu, 13 Mar 2008 23:28:57 +0000 (23:28 +0000)]
new attempt at portable endian test

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

11 years agohopefully portable endian test
Måns Rullgård [Thu, 13 Mar 2008 22:46:34 +0000 (22:46 +0000)]
hopefully portable endian test

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

11 years ago#include stddef.h instead of sys/types.h, the former is a standard C header.
Diego Biurrun [Thu, 13 Mar 2008 18:30:07 +0000 (18:30 +0000)]
#include stddef.h instead of sys/types.h, the former is a standard C header.

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

11 years agodo not fail badly if aspect ratio is 0/forbidden, fix issue 369
Baptiste Coudurier [Thu, 13 Mar 2008 18:26:53 +0000 (18:26 +0000)]
do not fail badly if aspect ratio is 0/forbidden, fix issue 369

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

11 years ago#include stdint.h instead of inttypes.h like all libavutil headers do.
Diego Biurrun [Thu, 13 Mar 2008 18:17:03 +0000 (18:17 +0000)]
#include stdint.h instead of inttypes.h like all libavutil headers do.

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

11 years agoThis file does not use size_t, so no need to #include <sys/types.h>.
Diego Biurrun [Thu, 13 Mar 2008 18:10:58 +0000 (18:10 +0000)]
This file does not use size_t, so no need to #include <sys/types.h>.

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

11 years agoAdd #include "config.h" to headers that need it.
Diego Biurrun [Thu, 13 Mar 2008 18:04:21 +0000 (18:04 +0000)]
Add #include "config.h" to headers that need it.

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

11 years agoIf consumed does not match nalsize, favor nalsize.
Michael Niedermayer [Thu, 13 Mar 2008 01:49:19 +0000 (01:49 +0000)]
If consumed does not match nalsize, favor nalsize.
Fixes issue385.

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