Commit Graph

13234 Commits

Author SHA1 Message Date
Michael Niedermayer
b7c407449b 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
2008-03-20 16:29:18 +00:00
Baptiste Coudurier
eb61405a07 remove useless debug print since now mov_build_index will do
Originally committed as revision 12516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 16:07:55 +00:00
Baptiste Coudurier
f9900374ec free track data asap
Originally committed as revision 12515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 16:00:45 +00:00
Baptiste Coudurier
1e77810d3b move mov_build_index before mov_read_trak to avoid useless declaration
Originally committed as revision 12514 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 15:57:11 +00:00
Baptiste Coudurier
bd991df2a7 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
2008-03-20 15:55:50 +00:00
Michael Niedermayer
943032b155 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
2008-03-20 14:24:29 +00:00
Michael Niedermayer
dea00a4623 remove unused temp
Originally committed as revision 12511 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 14:09:31 +00:00
Pascal Massimino
c04c52d3a8 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
2008-03-20 11:02:40 +00:00
Baptiste Coudurier
6122b733e9 omg, fix compilation
Originally committed as revision 12509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 09:38:55 +00:00
Baptiste Coudurier
d0ed455f19 correctly set avctx->frame_size for mp3on4 and mp3adu
Originally committed as revision 12508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-20 09:36:04 +00:00
Ramiro Polla
10cac9f9c2 Add Mimic and MSN TCP Webcam streams to documentation.
Originally committed as revision 12507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 18:51:20 +00:00
Ronald S. Bultje
7e6ca34f27 Reindent after rtsp-alternate-protocol* patches.
Originally committed as revision 12506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 14:08:16 +00:00
Ronald S. Bultje
8792f52a9b 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
2008-03-19 14:07:31 +00:00
Ronald S. Bultje
8a8754d80f 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
2008-03-19 14:05:08 +00:00
Alexander Strange
b58412f106 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
2008-03-19 10:11:16 +00:00
Måns Rullgård
3540b950ec add missing #include "common.h" to libavutil headers
Originally committed as revision 12502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 08:47:31 +00:00
Zuxy Meng
e6e70d9bdc Cosmetic change: remove the whitespace after 'defined'
Originally committed as revision 12501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 07:43:43 +00:00
Zuxy Meng
0fd48faca5 'malloc' attribute isn't supported in old gcc.
Originally committed as revision 12500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 07:42:50 +00:00
Zuxy Meng
cca6d953c2 Apply "alloc_size" attribute to av_alloc, av_realloc and av_mallocz
Originally committed as revision 12499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-19 07:30:34 +00:00
Zuxy Meng
85074d3c93 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
2008-03-19 06:17:43 +00:00
Ivo van Poorten
d1928ac129 add some missing formats: lmlm4, pva, pcx and sun rasterfile.
Originally committed as revision 12497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 23:50:55 +00:00
Måns Rullgård
3662d880ed 32/64-bit agnostic x86 bswap
Originally committed as revision 12496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 22:28:33 +00:00
Diego Biurrun
c5fec7d76c Remove redundant ARCH_POWERPC #ifdef around HAVE_ALTIVEC.
Originally committed as revision 26264 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-03-18 22:14:57 +00:00
Diego Biurrun
0866c56f0a Remove redundant ARCH_POWERPC #ifdef around HAVE_ALTIVEC.
Originally committed as revision 12495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 22:14:41 +00:00
Måns Rullgård
70fa2e27ec cosmetics: sanitise asm() statements in bswap.h
Originally committed as revision 12494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 20:52:37 +00:00
Ramiro Polla
956330452b Remove useless variable since r8456.
Originally committed as revision 12493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 20:14:57 +00:00
Ramiro Polla
0f3444e17c MSN TCP Webcam stream demuxer.
Originally committed as revision 12492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 19:54:47 +00:00
Ramiro Polla
a7129de51b Mimic decoder.
Originally committed as revision 12491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 19:51:34 +00:00
Benoit Fouet
2119bb8f51 revert r12489.
Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 16:29:47 +00:00
Zuxy Meng
6544f48f03 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
2008-03-18 15:27:15 +00:00
Baptiste Coudurier
38c669d853 cosmetics, remove superflous comments
Originally committed as revision 12488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 13:13:57 +00:00
Alexander Strange
d7f0920bd7 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
2008-03-18 12:32:55 +00:00
Michael Kostylev
503d5b585f 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
2008-03-18 12:08:37 +00:00
Måns Rullgård
2081f3c619 fix extern prefix detection on mingw
Originally committed as revision 12485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 09:36:29 +00:00
Måns Rullgård
b4d96ba2a8 check for prefix on extern symbols in configure
Originally committed as revision 12484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-18 02:01:20 +00:00
Måns Rullgård
6fcc9af012 simplify ALIGN_MASK definition
Originally committed as revision 12483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 23:44:46 +00:00
Måns Rullgård
b55aa9a904 get register names from x86_cpu.h
Originally committed as revision 12482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 23:08:19 +00:00
Måns Rullgård
3c9bcb42cf add REGd definition
Originally committed as revision 12481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 23:08:17 +00:00
Måns Rullgård
a62a1c3152 use HAVE_FAST_64BIT
Originally committed as revision 12480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 23:08:14 +00:00
Måns Rullgård
ea68e33469 cosmetics: remove useless \-newline escapes
Originally committed as revision 12479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 21:00:30 +00:00
Måns Rullgård
4f54a3b8b4 indentation
Originally committed as revision 12478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 19:22:31 +00:00
Måns Rullgård
844ea46aeb clean up FFT SIMD selection
Originally committed as revision 12477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 19:22:28 +00:00
Ronald S. Bultje
53620bba51 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
2008-03-17 12:16:39 +00:00
Diego Biurrun
6fce759141 Fix previously broken x86_64 check, simplifying it in the process.
Originally committed as revision 12475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 09:43:32 +00:00
Diego Biurrun
3dddba4b5d Fix previously broken xlc checks, simplifying them in the process.
Originally committed as revision 12474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 09:40:42 +00:00
Diego Biurrun
78fe7631f8 Drop unnecessary subshell invocation from BEINCLUDES check.
Originally committed as revision 12473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 09:36:44 +00:00
Stefano Sabatini
972d628a8b 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
2008-03-17 09:33:21 +00:00
Diego Biurrun
08e89160e4 cosmetics: indentation
Originally committed as revision 12471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 09:22:39 +00:00
Diego Biurrun
edfd6975cf Simplify MANGLE macro preprocessor condition checks.
Originally committed as revision 12470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 09:22:11 +00:00
Diego Biurrun
7edd384f1d Add -q to grep invocation where appropriate.
Originally committed as revision 12469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-17 09:20:42 +00:00