Commit Graph

21354 Commits

Author SHA1 Message Date
Måns Rullgård 00962abaa0 Fix make install when all of ffmpeg/ffplay/ffserver are disabled
Originally committed as revision 20501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 15:56:03 +00:00
Jai Menon 09bad7e3ca Handle JPEG2000 frames stored in the Quicktime container.
Fixes issue 1525.

Originally committed as revision 20500 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 14:48:32 +00:00
Jai Menon b70b158833 cosmetics : fix indentation.
Originally committed as revision 20499 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 14:37:42 +00:00
Reimar Döffinger 7fc58b1eeb Remove code checking for __PIC__ or __pic__ and setting PIC from libavutil/internal.h,
configure is supposed to take care of that already.

Originally committed as revision 20498 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 12:59:56 +00:00
Reimar Döffinger 5755bc88e5 Check if PIC is somehow already enabled (e.g. a compiler that enables it by default).
This in particular ensures that -DPIC is set appropriately for YASM, which avoids
linking failures on x86_64 for compilers that have PIE enabled by default
(e.g. hardened Gentoo).
It also makes the macho64 special-case hack adding -DPIC to YASMFLAGS obsolete.

Originally committed as revision 20497 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 12:57:28 +00:00
Vitor Sessak 00fa73f052 Avoid variable-length array use in ff_acelp_lspd2lpc()
Originally committed as revision 20496 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 04:17:18 +00:00
Michael Niedermayer dccda293a0 Add a NULL pointer check to avcodec_close() this should prevent a segfault
when closing without open.

Originally committed as revision 20495 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 02:51:47 +00:00
Måns Rullgård 7c4a001a33 configure: whitespace cosmetics
Originally committed as revision 20494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-10 00:23:42 +00:00
Reimar Döffinger 260dfb1a3c patcheck: check that pix_fmt etc. initializers are const
Originally committed as revision 20493 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 23:12:44 +00:00
Justin Ruggles b00803e0ae fix a rounding error in the PSNR calculation and update the many regression
test references that this change affects.

Originally committed as revision 20492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 23:09:47 +00:00
Reimar Döffinger a7b9c8aefd Attempt to document the "enable pic" hackery for OpenBSD.
Originally committed as revision 20491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 22:52:46 +00:00
Ronald S. Bultje c47ca25e74 Make get_bits_left() available for use in libavcodec (was previously held
private in dv.c for some reason). See "[PATCH] get_bits_left()" thread.

Originally committed as revision 20490 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 22:10:43 +00:00
Ronald S. Bultje b1ade3d182 And on the sixth day, God gave us the <= operand, which makes the loop
"for (i = 1; i < num + 1; i++)" look like "for (i = 1; i <= num; i++)".
Programmers worldwide rejoiced and used the operand, e.g. in the thread
"[PATCH] remove ugliness in cel_filters.c", and He saw that it was good.

Originally committed as revision 20489 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 22:04:03 +00:00
Stefano Sabatini 5c3c0e3f2e Fix crop filter start_frame() for paletted formats different from
PAL8. Shift data[1] only if the input format is not paletted.

Originally committed as revision 20488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 21:00:38 +00:00
Stefano Sabatini dd18b301f4 Enable linking of parseutils.o.
Originally committed as revision 20487 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 18:56:51 +00:00
Reimar Döffinger f6e8140941 Remove some BeOS/haiku hacks: -fomit-frame-pointer is used anyway,
and -DPIC makes little sense without -fPIC or similar - if -fPIC is
enabled by default, libavutil/internal.h defines PICi anyway.

Originally committed as revision 20486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 17:05:38 +00:00
Vitor Sessak e26d131845 Do not hardcode filter order in ff_acelp_lspd2lpc()
Originally committed as revision 20485 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 12:06:19 +00:00
Francesco Lavra 91cc5d3767 Move ff_reverse in libavcodec to av_reverse in libavutil.
Patch by Francesco Lavra, francescolavra interfree it

Originally committed as revision 20484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 09:11:35 +00:00
Carl Eugen Hoyos 66ddc150f0 Increase default value for max_analyze_duration, fixes issue 1506, a regression.
Originally committed as revision 20483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-09 01:10:55 +00:00
Carl Eugen Hoyos 0f87b77176 Use enum instead of integer types where appropriate.
Originally committed as revision 20482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 23:48:15 +00:00
Carl Eugen Hoyos 80454494de Use CODEC_ID_NONE instead of 0 for enum CodecID.
Originally committed as revision 20481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 23:46:32 +00:00
Carl Eugen Hoyos adadf26bb9 Use enum FrameType as parameter to construct_perm_table().
Originally committed as revision 20480 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 23:37:59 +00:00
Carl Eugen Hoyos b411dfff4c Use enum PixelFormat instead of int for srcFormat and dstFormat.
Originally committed as revision 29857 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-11-08 23:31:43 +00:00
Stefano Sabatini ac74dfa436 Fix start_frame(), which was issuing chroma artifacts with planar
formats with more than 8 bits per pixel (e.g. YUVXXXP16).

Originally committed as revision 20479 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 22:47:10 +00:00
Reimar Döffinger 5f36d94d9d Set -DPREFIX for yasm simply whenever extern_prefix is set instead
of hardcoding it based on the object format.

Originally committed as revision 20478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 22:39:10 +00:00
Michael Niedermayer a16f80f392 Remove unused variable.
1l for me if it wherent sunday and i could buy cola.

Originally committed as revision 20477 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 14:54:43 +00:00
Reimar Döffinger a34ebe60e9 Always add -DPIC to YASM flags when pic is enabled.
This covers the previous case of x86_64 and shared, but also
works with --enable-pic.
For 32 bit x86 it currently makes no difference since x86inc.asm
ignores -DPIC for non-x86_64.

Originally committed as revision 20476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 14:50:47 +00:00
Baptiste Coudurier 609d864611 move code to avoid forward declaration
Originally committed as revision 20475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 03:27:58 +00:00
Baptiste Coudurier b3f9f7a333 Let pmt override stream info when encoutered later in the ts file.
Do not set codec id based on pes start code, this is unreliable.
Fix gazeta-20090408-1456-aa.ts

Originally committed as revision 20474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 03:17:08 +00:00
Justin Ruggles 187bc061e4 ac3dec: revert r20089. The change was just wrong. 10l for me.
Originally committed as revision 20473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-08 03:06:05 +00:00
Carl Eugen Hoyos 28f008a9d3 Support some LATM AAC streams (they can be decoded with MPlayer).
Originally committed as revision 20472 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-07 23:44:56 +00:00
Justin Ruggles 1a15ab4920 Do not set AVCodecContext.sample_fmt in the TMV and SoX demuxers.
Originally committed as revision 20471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-07 22:35:00 +00:00
Michael Niedermayer f3001e0dee Simpliy exp*table init, based on patch by reimar.
Originally committed as revision 20470 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-07 20:10:02 +00:00
Stefano Sabatini 2e0a80a128 Document sws_freeContext().
Originally committed as revision 29844 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2009-11-07 09:23:11 +00:00
Baptiste Coudurier a4cb56aaf4 change \0xa9enc tag metadata name to encoder to match id3v2
Originally committed as revision 20469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-06 18:59:25 +00:00
Kostya Shishkov 0d32307dd2 10l: WavPack demuxer forgot to seek back to initial position after block
contents parsing (for custom sampling rate).

Originally committed as revision 20468 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-06 18:25:45 +00:00
Stefano Sabatini 3fa70a3bc8 Add pixel format descriptors for the HW-accelerated formats.
This completes the list of all descriptors in av_pix_fmt_descriptors.

Originally committed as revision 20467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 23:45:15 +00:00
Måns Rullgård 64de20d18b PPC: make inline asm xform address test work with Apple tools
Originally committed as revision 20466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 21:48:09 +00:00
Måns Rullgård ffa3bd54da IA64: do not automatically enable hardcoded tables if explicitly disabled
Originally committed as revision 20465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 21:48:05 +00:00
Reimar Döffinger 1ffc6e8327 Add ff_init_ff_cos_tabs function and use it in rdft.c to ensure that the
necessary ff_cos_tabs tables are initialized.
Fixes issue 1507 (QDM2 broken since r20237 without hardcoded tables).

Originally committed as revision 20464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 18:29:06 +00:00
Gordon Irlam 9cad7e2193 Fix a typo in rtp_h264.c:parse_h264_sdp_line(). Patch by Gordon Irlam
(gordonipub2 AT gordoni DOT com).

This fixes H.264 over RTP when the SDP contains a "framesize:" attribute
(for example, rtsp://video3.americafree.tv/AFTVCartoonsH264250.sdp )

Originally committed as revision 20463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 14:25:37 +00:00
Baptiste Coudurier bddc2df52e 10l, typo
Originally committed as revision 20462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 08:53:05 +00:00
Kostya Shishkov 7aa2d42db6 If custom sampling rate is set in WavPack file, parse first block to find
actual value.

This fixes issue 1518.

Originally committed as revision 20461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 08:14:48 +00:00
Kostya Shishkov aa926a480f Initialize block_parsed before reading first block header in WavPack demuxer,
it will be useful later.

Originally committed as revision 20460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 08:10:50 +00:00
Baptiste Coudurier c2564699bf do not redundantly set stream nb_frames, it's already set in read_stts
Originally committed as revision 20459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 07:32:50 +00:00
Baptiste Coudurier e745272196 compute dts shift with ctts value, cslg atom might be missing, fix #419
Originally committed as revision 20458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 07:30:53 +00:00
Baptiste Coudurier fedb1eca07 check that duration is set to avoid fpe
Originally committed as revision 20457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 07:17:10 +00:00
Baptiste Coudurier 507330b9d3 warn if stream timescale is not set and set it to 1 to avoid FPE
Originally committed as revision 20456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 07:11:54 +00:00
Reynaldo H. Verdejo Pinochet 87e76ae0bd Corrects two typos
Originally committed as revision 20455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 02:04:21 +00:00
Reynaldo H. Verdejo Pinochet a8e1cbaf18 Decrement probe score at unsuported bpp
Originally committed as revision 20454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-05 01:59:07 +00:00