Commit Graph

6093 Commits

Author SHA1 Message Date
Michael Niedermayer
b2aba2e6e7 Comment about weird warning prevention.
Originally committed as revision 11690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 02:13:53 +00:00
Michael Niedermayer
b34130ae61 fix "uninitalized" warning, the alternative way.
I hope this is valid C, flame me if not.
md5sum of h263.o doesnt change, so this doesnt cause a slowdown.

Originally committed as revision 11689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 01:38:00 +00:00
Baptiste Coudurier
961c25b588 revert r11677, it is considered speed critical
Originally committed as revision 11688 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 01:25:29 +00:00
Baptiste Coudurier
8943802849 add parenthesis, fix warning: snow.c:2413: warning: suggest parentheses around && within ||
Originally committed as revision 11687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:57:48 +00:00
Baptiste Coudurier
f0a7084088 Add const qualifier, fix warnings:
snow.c:2292: warning: assignment discards qualifiers from pointer target type
snow.c:2294: warning: assignment discards qualifiers from pointer target type
snow.c:2300: warning: assignment discards qualifiers from pointer target type

Originally committed as revision 11686 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:56:29 +00:00
Baptiste Coudurier
4a9dfdc1c9 add parenthesis, fix warning: qtrleenc.c:257: warning: suggest parentheses around && within ||
Originally committed as revision 11685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:50:21 +00:00
Andreas Öman
1710856cb1 Fix the following warnings:
h264.c:2093: warning: unused variable 's'
h264.c:2406: warning: suggest parentheses around arithmetic in operand of ^
h264.c:2412: warning: suggest parentheses around arithmetic in operand of ^

Originally committed as revision 11680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:15:24 +00:00
Baptiste Coudurier
774c84770f cast to correct type, fix warning: apedec.c:859: warning: passing argument 1 of 's->dsp.bswap_buf' from incompatible pointer type
Originally committed as revision 11679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:10:56 +00:00
Baptiste Coudurier
d83085cd5a fix indentation
Originally committed as revision 11678 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:06:54 +00:00
Baptiste Coudurier
3fbe36d4d0 init to 0, fix warning: h263.c:4730: warning: 'dc_pred_dir' may be used uninitialized in this function
Originally committed as revision 11677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:05:44 +00:00
Baptiste Coudurier
7f4d2d8308 cast to dest type, fix warning: 4xm.c:304: warning: initialization from incompatible pointer type
Originally committed as revision 11676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:01:16 +00:00
Baptiste Coudurier
e151e272a0 cast to dest type, fix warning imgconvert.c:1958: warning: assignment from incompatible pointer type
Originally committed as revision 11675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-31 00:00:08 +00:00
Baptiste Coudurier
29e15adc34 add const, fix warning: cook.c:276: warning: passing argument 2 of 'maybe_reformat_buffer32' discards qualifiers from pointer target type
Originally committed as revision 11674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 23:58:44 +00:00
Baptiste Coudurier
066e0cc50d add parenthesis, fix warning: i386/dsputil_mmx.c:2618: warning: suggest parentheses around arithmetic in operand of |
Originally committed as revision 11673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 23:54:59 +00:00
Baptiste Coudurier
afa4778989 fix prototypes, remove warning: i386/dsputil_mmx.c:3594: warning: assignment from incompatible pointer type
Originally committed as revision 11672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-30 23:52:42 +00:00
Reimar Döffinger
234c6ed76d Add bitstream filter to convert between mov and plain text subtitles
Originally committed as revision 11659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 21:24:09 +00:00
Jeff Downs
79db7ac6ef Fix memory leak in h264 decoder. allocated_edge_emu_buffer was being allocated
in both mpegvideo and h264 decoder. Fixed by allowing all (master and duplicate)
contexts to fully initialize in MPV_frame_start and copying these into
H264Contexts.

Mailing list discussion:
[FFmpeg-devel] Memory leak in h264
Tue, 22 Jan 2008 15:22:55

Originally committed as revision 11657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-28 21:12:38 +00:00
Diego Biurrun
bca9e0bcf1 Move common test program infrastructure to common.mak.
Originally committed as revision 11645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 23:28:56 +00:00
Diego Biurrun
fe34942e92 Move some lines in preparation for an upcoming commit.
Originally committed as revision 11644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 23:27:13 +00:00
Reimar Döffinger
766324fc49 Add and use DECLARE_ASM_CONST for constants used in assembler code.
Should make it easier to work around compilation problems with e.g. ICC.

Originally committed as revision 11641 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 20:50:16 +00:00
Reimar Döffinger
038f0f9b34 Use DECLARE_ALIGNED in yet another place
Originally committed as revision 11640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 20:45:49 +00:00
Reimar Döffinger
6a1a2fa0fe Use DECLARE_ALIGNED and remove unneeded attribute_used
Originally committed as revision 11639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 19:59:11 +00:00
Reimar Döffinger
cc8c2c6ab3 Add CODEC_ID_MOV_TEXT and use it instead of modifying the stream in the mov demuxer.
Originally committed as revision 11638 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 19:57:04 +00:00
Diego Biurrun
cf6cb7c562 typo
Originally committed as revision 11637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 18:02:27 +00:00
Diego Biurrun
eba6ba4a74 Add $(EXESUF) where necessary.
Originally committed as revision 11636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 17:50:59 +00:00
Evgeniy Stepanov
f8d7c9d373 Add support for Matroska attachments.
patch by eugeni _dot_ stepanov _at_ gmail.com and myself

Originally committed as revision 11635 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 15:43:17 +00:00
Diego Biurrun
1260eb4a68 whitespace and sorting cosmetics
Originally committed as revision 11632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 14:52:58 +00:00
Diego Biurrun
f98869bcec Add generic rule for all tests.
Originally committed as revision 11631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 14:50:29 +00:00
Reimar Döffinger
27215c6bf4 Use DECLARE_ALIGNED
Originally committed as revision 11630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 14:46:56 +00:00
Guillaume Poirier
d761f08987 fix indentation that was messed up by r11628
Originally committed as revision 11629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 08:37:28 +00:00
Siarhei Siamashka
13686bc2cd fix lowres decoding support on ARM CPUs
Original thread:
date: Jan 27, 2008 12:03 AM
subject: [FFmpeg-devel] [PATCH] Fix for lowres decoding support on ARM
Patch by Siarhei Siamashka $ siarhei P siamashka A gmail P com $

Originally committed as revision 11628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-27 08:36:50 +00:00
Diego Biurrun
64e13d6914 Do not group libamr_nb and libamr_wb together as libamr.
Also fixes --enable-libamr being recognized as configure parameter.

Originally committed as revision 11616 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-26 12:46:46 +00:00
Måns Rullgård
7b0dee28d2 clean up dynamic loading of libfaad
Originally committed as revision 11609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-25 21:14:17 +00:00
Zdenek Kabelac
e2fdba650d Correctly clean up IntraX8Context upon codec close.
patch by Zdenek Kabelac, zdenek d kabelac a gmail d com

Originally committed as revision 11608 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-25 07:37:46 +00:00
Måns Rullgård
0f44edaa1c cosmetic: libfaad.c indentation
Originally committed as revision 11607 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-24 19:51:31 +00:00
Måns Rullgård
dbbc573253 fix dynamic loading of libfaad 2.6
Originally committed as revision 11606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-24 19:51:29 +00:00
Michael Niedermayer
cb077b7aa3 Fix crash for CAVLC->CABAC switch caused by writing into NULL tables.
(iam not sure if this might have been exploitable)
fixes issue332 / CVCANLMA2_Sony_C.jsv
Other solutions which waste a few bytes less are welcome ...

Originally committed as revision 11605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-24 19:31:59 +00:00
Diego Biurrun
6bf398a030 Add #undef printf and disable non-functional code to make test program compile.
Originally committed as revision 11604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-23 21:27:07 +00:00
Diego Biurrun
07ad12ecdd Fix test program compilation: Add missing #include and update the call
of ff_init_cabac_states() to account for API changes.

Originally committed as revision 11602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-23 10:23:24 +00:00
Diego Biurrun
c46e28746c Put some disabled functions that are only used in the test program in cabac.c
under TEST as preprocessor conditional, same as the test program.

Originally committed as revision 11601 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-23 10:19:39 +00:00
Diego Biurrun
79bfd0ef76 Add #undef random and call the right function to fix test program compilation.
Originally committed as revision 11600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-23 10:18:08 +00:00
Diego Biurrun
6a339972af Remove unused variables in test code.
Originally committed as revision 11599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-22 23:47:59 +00:00
Diego Biurrun
e5b10e3174 Fix warnings in test code:
eval.c:454: warning: return type defaults to 'int'
eval.c:464: warning: control reaches end of non-void function

Originally committed as revision 11594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-22 09:20:25 +00:00
Diego Biurrun
3f5d7bb331 Remove two unused variables.
Originally committed as revision 11584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-21 00:29:22 +00:00
Diego Biurrun
a4b375c614 Remove unnecessary forward declaration.
Originally committed as revision 11583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-21 00:28:29 +00:00
Diego Biurrun
07e4e3ea8b Consistently use TEST as the preprocessor condition to enable test code.
Originally committed as revision 11581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 23:53:51 +00:00
Aurelien Jacobs
1ace441909 add proper matroskaenc dependency over xiph.o
Originally committed as revision 11580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 21:38:21 +00:00
Aurelien Jacobs
22cf0018d4 add missing Makefile rules for zork pcm encoder/decoder
Originally committed as revision 11578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 20:55:28 +00:00
Aurelien Jacobs
8dcbcef68e and thus, nellymoser obviously also depens on fft.o
Originally committed as revision 11577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 20:51:19 +00:00
Aurelien Jacobs
d1c266bed1 nellymoser uses mdct functions
Originally committed as revision 11576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-01-20 20:45:43 +00:00