platform/upstream/libav.git
16 years agosimplify bps code by using av_get_bits_per_sample
Baptiste Coudurier [Fri, 5 Sep 2008 02:20:33 +0000 (02:20 +0000)]
simplify bps code by using av_get_bits_per_sample

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

16 years agosimplify function selection code
Baptiste Coudurier [Fri, 5 Sep 2008 01:44:33 +0000 (01:44 +0000)]
simplify function selection code

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

16 years agoenable yuv422p to uyvy converter
Baptiste Coudurier [Fri, 5 Sep 2008 00:25:39 +0000 (00:25 +0000)]
enable yuv422p to uyvy converter

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

16 years agoCosmetics: indent after last commit and remove useless braces
Vitor Sessak [Fri, 5 Sep 2008 00:01:23 +0000 (00:01 +0000)]
Cosmetics: indent after last commit and remove useless braces

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

16 years agoSimplify: use a for instead of unrolling by hand
Vitor Sessak [Fri, 5 Sep 2008 00:00:20 +0000 (00:00 +0000)]
Simplify: use a for instead of unrolling by hand

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

16 years agoFunctions mace{3,6}_decode_frame() are just wrappers to Exp1to{3,6}(). This commit
Vitor Sessak [Thu, 4 Sep 2008 23:54:57 +0000 (23:54 +0000)]
Functions mace{3,6}_decode_frame() are just wrappers to Exp1to{3,6}(). This commit
moves the code of Exp1to* to the decode functions.

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

16 years agomatroskadec: fix ASS subtitle track packets before emitting them
Aurelien Jacobs [Thu, 4 Sep 2008 23:26:12 +0000 (23:26 +0000)]
matroskadec: fix ASS subtitle track packets before emitting them
Matroska does some butchering when storing the ASS lines. The start and end
time are removed (because they are duplicated in the container).
The matroska_fix_ass_packet() function simply restore those start and end
time in ASS lines to ensure our ASS packets comply with the ASS spec.

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

16 years agoadd -xerror option, ffmpeg will now exit right when an error occurs
Baptiste Coudurier [Thu, 4 Sep 2008 23:23:44 +0000 (23:23 +0000)]
add -xerror option, ffmpeg will now exit right when an error occurs

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

16 years agoFix msgsm in wav, do not set blkalign to frame size, this is wrong,
Baptiste Coudurier [Thu, 4 Sep 2008 23:19:53 +0000 (23:19 +0000)]
Fix msgsm in wav, do not set blkalign to frame size, this is wrong,
all samples have correct blkalign set to 65

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

16 years agoSimplify: use two distinct functions to decode MACE3 and MACE6, since the
Vitor Sessak [Thu, 4 Sep 2008 23:18:28 +0000 (23:18 +0000)]
Simplify: use two distinct functions to decode MACE3 and MACE6, since the
previous mace_decode_init() function was almost just a switch statement.

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

16 years agoSimplify mace_decode_frame()
Vitor Sessak [Thu, 4 Sep 2008 23:12:20 +0000 (23:12 +0000)]
Simplify mace_decode_frame()

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

16 years agomatroska: subtitle display duration must be stored in pkt->convergence_duration
Aurelien Jacobs [Thu, 4 Sep 2008 23:08:19 +0000 (23:08 +0000)]
matroska: subtitle display duration must be stored in pkt->convergence_duration

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

16 years agoRemove useless comments
Vitor Sessak [Thu, 4 Sep 2008 23:02:08 +0000 (23:02 +0000)]
Remove useless comments

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

16 years agoReindent mace.c, its indentation was completly inconsistent with the coding rules.
Vitor Sessak [Thu, 4 Sep 2008 23:00:34 +0000 (23:00 +0000)]
Reindent mace.c, its indentation was completly inconsistent with the coding rules.

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

16 years agoMake 16bit grayscale output work.
Michael Niedermayer [Thu, 4 Sep 2008 22:58:16 +0000 (22:58 +0000)]
Make 16bit grayscale output work.

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

16 years agoset block align and frame size for gsm in aiff
Baptiste Coudurier [Thu, 4 Sep 2008 22:35:05 +0000 (22:35 +0000)]
set block align and frame size for gsm in aiff

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

16 years agoFix SWS_FAST_BILINEAR and SWS_POINT with some unscaled rgb<->bgr converters.
Michael Niedermayer [Thu, 4 Sep 2008 22:31:22 +0000 (22:31 +0000)]
Fix SWS_FAST_BILINEAR and SWS_POINT with some unscaled rgb<->bgr converters.

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

16 years agoCosmetics: s/LPC_type/LPC_TYPE/
Vitor Sessak [Thu, 4 Sep 2008 22:17:27 +0000 (22:17 +0000)]
Cosmetics: s/LPC_type/LPC_TYPE/

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

16 years agoSupport PIX_FMT_RGB32_1 and PIX_FMT_BGR32_1.
Michael Niedermayer [Thu, 4 Sep 2008 21:59:15 +0000 (21:59 +0000)]
Support PIX_FMT_RGB32_1 and PIX_FMT_BGR32_1.
Fixes issue248.

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

16 years agoprint error when deinterlacing fails
Baptiste Coudurier [Thu, 4 Sep 2008 21:48:46 +0000 (21:48 +0000)]
print error when deinterlacing fails

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

16 years agoFix 4 and 8 bit RGB/BGR input.
Michael Niedermayer [Thu, 4 Sep 2008 20:46:36 +0000 (20:46 +0000)]
Fix 4 and 8 bit RGB/BGR input.

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

16 years agoProperly use av_log rather than fprintf/printf.
JonY [Thu, 4 Sep 2008 20:45:13 +0000 (20:45 +0000)]
Properly use av_log rather than fprintf/printf.
Fix the "implicit declaration of function 'please_use_av_log'" warnings.
Patch by JonY <10walls _AT_ gmail #dot# com>

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

16 years agoFix typo.
Michael Niedermayer [Thu, 4 Sep 2008 20:39:09 +0000 (20:39 +0000)]
Fix typo.

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

16 years agoRemove workaround for rgb/bgr mess.
Michael Niedermayer [Thu, 4 Sep 2008 20:16:41 +0000 (20:16 +0000)]
Remove workaround for rgb/bgr mess.

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

16 years agoFix 4 of the unscaled rgb15/16 converters, each of these contained
Michael Niedermayer [Thu, 4 Sep 2008 19:49:13 +0000 (19:49 +0000)]
Fix 4 of the unscaled rgb15/16 converters, each of these contained
2-3 bugs each of which made it fail completely, this code clearly
has never been tested and been written by somone who knows the
difference between a potato and a computer is that the first is round.

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

16 years agorgb vs bgr fix for the unscaled converters.
Michael Niedermayer [Thu, 4 Sep 2008 19:11:39 +0000 (19:11 +0000)]
rgb vs bgr fix for the unscaled converters.

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

16 years agocosmetics, remove whitespace
Baptiste Coudurier [Thu, 4 Sep 2008 18:26:31 +0000 (18:26 +0000)]
cosmetics, remove whitespace

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

16 years agoactually write dac3 atom, patch by Kurtnoise, kurtnoise at free dot fr
Kurtnoise [Thu, 4 Sep 2008 18:25:55 +0000 (18:25 +0000)]
actually write dac3 atom, patch by Kurtnoise, kurtnoise at free dot fr

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

16 years agoFix rgb15/16 vs. bgr part2.
Michael Niedermayer [Thu, 4 Sep 2008 18:24:25 +0000 (18:24 +0000)]
Fix rgb15/16 vs. bgr part2.

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

16 years agoskip 2 bytes more when parsing ac3 frame, syncword 16bits + crc 16bits,
Damiano Galassi [Thu, 4 Sep 2008 18:17:21 +0000 (18:17 +0000)]
skip 2 bytes more when parsing ac3 frame, syncword 16bits + crc 16bits,
patch by Damiano Galassi, damiog at gmail dot com

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

16 years agoFix rgb15/16 vs. bgr part1.
Michael Niedermayer [Thu, 4 Sep 2008 18:14:29 +0000 (18:14 +0000)]
Fix rgb15/16 vs. bgr part1.

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

16 years agoAdd fflush to prevent stdout & stderr from being mixed.
Michael Niedermayer [Thu, 4 Sep 2008 15:13:55 +0000 (15:13 +0000)]
Add fflush to prevent stdout & stderr from being mixed.

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

16 years agoMultiply table by -1. This avoid doing this calculation (that was introduced
Vitor Sessak [Thu, 4 Sep 2008 15:04:08 +0000 (15:04 +0000)]
Multiply table by -1. This avoid doing this calculation (that was introduced
in my last commit) in real time.

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

16 years agoFix artifacts of MPEG4-720I-DN-SV8K.trp caused by lack of IDR pictures and
Michael Niedermayer [Thu, 4 Sep 2008 12:21:06 +0000 (12:21 +0000)]
Fix artifacts of MPEG4-720I-DN-SV8K.trp caused by lack of IDR pictures and
subsequent zero POC value.

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

16 years agoAvoid duplicating compute_lpc_coefs() function in both the RA288 and AAC decoders.
Vitor Sessak [Thu, 4 Sep 2008 11:03:14 +0000 (11:03 +0000)]
Avoid duplicating compute_lpc_coefs() function in both the RA288 and AAC decoders.

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

16 years agoRemove further 1sample=2byte assumptions within FFmpeg to allow
Peter Ross [Thu, 4 Sep 2008 10:18:04 +0000 (10:18 +0000)]
Remove further 1sample=2byte assumptions within FFmpeg to allow
F32LE/F64BE/F64LE audio to be encoded properly.

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

16 years agoMake the nb_max_connections and nb_connections int variables unsigned.
Stefano Sabatini [Wed, 3 Sep 2008 20:10:32 +0000 (20:10 +0000)]
Make the nb_max_connections and nb_connections int variables unsigned.

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

16 years agochange the logic to mux 13818-3 and 11172-3 in mp4, less code
Baptiste Coudurier [Wed, 3 Sep 2008 19:42:09 +0000 (19:42 +0000)]
change the logic to mux 13818-3 and 11172-3 in mp4, less code

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

16 years agoforbid mp3 < 16000hz in anything except mov
Baptiste Coudurier [Wed, 3 Sep 2008 19:31:03 +0000 (19:31 +0000)]
forbid mp3 < 16000hz in anything except mov

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

16 years agodirac muxing support in mp4/mov
Baptiste Coudurier [Wed, 3 Sep 2008 19:23:24 +0000 (19:23 +0000)]
dirac muxing support in mp4/mov

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

16 years agocosmetics, move up mpeg1video mp4 objecttype
Baptiste Coudurier [Wed, 3 Sep 2008 19:18:49 +0000 (19:18 +0000)]
cosmetics, move up mpeg1video mp4 objecttype

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

16 years agocosmetics, change values to hex since mp4ra use hex
Baptiste Coudurier [Wed, 3 Sep 2008 19:17:28 +0000 (19:17 +0000)]
cosmetics, change values to hex since mp4ra use hex

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

16 years agocosmetics, vertical align
Baptiste Coudurier [Wed, 3 Sep 2008 19:08:56 +0000 (19:08 +0000)]
cosmetics, vertical align

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

16 years agoac3 muxing support in mov/mp4/m4v
Baptiste Coudurier [Wed, 3 Sep 2008 19:05:22 +0000 (19:05 +0000)]
ac3 muxing support in mov/mp4/m4v

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

16 years agoIgnore the spec, and calculate aspect ratio on width/height.
Michael Niedermayer [Wed, 3 Sep 2008 19:04:46 +0000 (19:04 +0000)]
Ignore the spec, and calculate aspect ratio on width/height.
Fixes issue562 and issue621.

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

16 years agoMake the maximum number of simultaneous HTTP connections handled by
Stefano Sabatini [Wed, 3 Sep 2008 18:16:34 +0000 (18:16 +0000)]
Make the maximum number of simultaneous HTTP connections handled by
ffserver a configuration parameter. The name of the new parameter
introduced is MaxHTTPConnections.

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

16 years agoChange doxygen comment: Clarify when av_write_trailer should be called.
Reimar Döffinger [Wed, 3 Sep 2008 17:57:56 +0000 (17:57 +0000)]
Change doxygen comment: Clarify when av_write_trailer should be called.

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

16 years agoClarify sample_aspect_ratio.
Michael Niedermayer [Wed, 3 Sep 2008 17:43:00 +0000 (17:43 +0000)]
Clarify sample_aspect_ratio.

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

16 years agoAdd AVPacket.convergence_duration.
Michael Niedermayer [Wed, 3 Sep 2008 14:44:54 +0000 (14:44 +0000)]
Add AVPacket.convergence_duration.

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

16 years agoTry to clarify the semantics of AVPacket.duration.
Michael Niedermayer [Wed, 3 Sep 2008 14:02:17 +0000 (14:02 +0000)]
Try to clarify the semantics of AVPacket.duration.

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

16 years agofix issue 616 on roundup : decoding of short flac files
Jai Menon [Wed, 3 Sep 2008 13:31:33 +0000 (13:31 +0000)]
fix issue 616 on roundup : decoding of short flac files

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

16 years agoDisable encoders by undefining CONFIG_FOO_ENCODER once instead of littering
Diego Biurrun [Wed, 3 Sep 2008 12:43:18 +0000 (12:43 +0000)]
Disable encoders by undefining CONFIG_FOO_ENCODER once instead of littering
the code with preprocessor directives.

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

16 years agoSurround some encoding-specific functions with the appropriate
Diego Biurrun [Wed, 3 Sep 2008 12:35:17 +0000 (12:35 +0000)]
Surround some encoding-specific functions with the appropriate
encoding-specific #ifdef.

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

16 years agoReplace generic CONFIG_ENCODERS preprocessor conditionals by more specific
Diego Biurrun [Wed, 3 Sep 2008 12:33:21 +0000 (12:33 +0000)]
Replace generic CONFIG_ENCODERS preprocessor conditionals by more specific
CONFIG_FOO_ENCODER conditionals where appropriate.

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

16 years agoFix round to even for aspect ratio correction.
Michael Niedermayer [Wed, 3 Sep 2008 11:16:29 +0000 (11:16 +0000)]
Fix round to even for aspect ratio correction.

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

16 years agoRemove unused code that used to handle protocol concatenation, i.e. trying
Ronald S. Bultje [Wed, 3 Sep 2008 04:47:44 +0000 (04:47 +0000)]
Remove unused code that used to handle protocol concatenation, i.e. trying
multiple protocols at the same time. We now cycle protocols individually
to autodetect, making this code no longer needed, and thus the support code
for it in make_setup_request() can be removed. See "[PATCH] remove transport
concatenation dead code" on mailinglist.

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

16 years agogain codebook (first stage), 8k mode for G.729
Vladimir Voroshilov [Wed, 3 Sep 2008 04:45:01 +0000 (04:45 +0000)]
gain codebook (first stage), 8k mode for G.729

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

16 years agoImplement Realmedia/RTSP-compatible SETUP command. This includes calculation
Ronald S. Bultje [Wed, 3 Sep 2008 04:44:58 +0000 (04:44 +0000)]
Implement Realmedia/RTSP-compatible SETUP command. This includes calculation
of the "RealChallenge2" response, which is some sort of authentication. See
discussion in "Realmedia patch" thread on ffmpeg-devel.

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

16 years agofix fourcc comment
Baptiste Coudurier [Wed, 3 Sep 2008 01:42:26 +0000 (01:42 +0000)]
fix fourcc comment

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

16 years agoAnother set of approved G.729 chunks (from decoder core)
Vladimir Voroshilov [Wed, 3 Sep 2008 01:07:03 +0000 (01:07 +0000)]
Another set of approved G.729 chunks (from decoder core)

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

16 years agotheoradec: cosmetics: indentation
Aurelien Jacobs [Wed, 3 Sep 2008 00:19:08 +0000 (00:19 +0000)]
theoradec: cosmetics: indentation

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

16 years agotheoradec: skip decoding of uncoded MV in 4MV code
Aurelien Jacobs [Wed, 3 Sep 2008 00:17:11 +0000 (00:17 +0000)]
theoradec: skip decoding of uncoded MV in 4MV code
Thusnelda, the new experimental Theora encoder is using this Theora feature
that was previously not exploited.
fixes issue579

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

16 years agotheoradec: small 4MV code reorganization to ease future improvements
Aurelien Jacobs [Wed, 3 Sep 2008 00:10:30 +0000 (00:10 +0000)]
theoradec: small 4MV code reorganization to ease future improvements
no functional changes

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

16 years agoMove av_set_pts_info() inside the mdpr_read_codecdata() call, so that it is
Ronald S. Bultje [Wed, 3 Sep 2008 00:07:34 +0000 (00:07 +0000)]
Move av_set_pts_info() inside the mdpr_read_codecdata() call, so that it is
shared between the RM demuxer and the RTSP/RDT parser; both use the same
timebase. See discussion in "[PATCH] rmdec.c: move av_set_pts_info()" on ML.

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

16 years agoUse chunk-size in function calling mdpr_read_codecdata() rather than in the
Ronald S. Bultje [Wed, 3 Sep 2008 00:05:55 +0000 (00:05 +0000)]
Use chunk-size in function calling mdpr_read_codecdata() rather than in the
function itself. This way, old-style (.ra4) RTSP/RDT OpaqueData chunks can
be parsed using this function as well (they don't have the size bits). See
discussion on ML in "[PATCH] rmdec.c - small read_mdpr_codecdata() API
modification".

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

16 years agoReplace generic CONFIG_DECODERS preprocessor conditionals by more specific
Diego Biurrun [Tue, 2 Sep 2008 23:25:57 +0000 (23:25 +0000)]
Replace generic CONFIG_DECODERS preprocessor conditionals by more specific
CONFIG_FOO_DECODER conditionals where appropriate.

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

16 years agoSilence a couple of 'defined but not used' warnings by adding an av_unused
Diego Biurrun [Tue, 2 Sep 2008 23:14:11 +0000 (23:14 +0000)]
Silence a couple of 'defined but not used' warnings by adding an av_unused
attribute to the relevant function declarations.

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

16 years agoPrevent a division by 0 in the g726 decoder when the configured samplerate is 0.
Laurent Aimar [Tue, 2 Sep 2008 23:09:14 +0000 (23:09 +0000)]
Prevent a division by 0 in the g726 decoder when the configured samplerate is 0.
patch by Laurent Aimar, fenrir via.ecp fr

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

16 years agoFix an invalid free in the AVI muxer when an unsupported audio track is added.
Laurent Aimar [Tue, 2 Sep 2008 22:53:42 +0000 (22:53 +0000)]
Fix an invalid free in the AVI muxer when an unsupported audio track is added.
patch by Laurent Aimar, fenrir via.ecp fr

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

16 years agoReplace generic CONFIG_MUXERS preprocessor conditionals by more specific
Diego Biurrun [Tue, 2 Sep 2008 22:45:13 +0000 (22:45 +0000)]
Replace generic CONFIG_MUXERS preprocessor conditionals by more specific
CONFIG_FOO_MUXER conditionals where appropriate.

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

16 years agoRemove pointless #ifdef CONFIG_VHOOK from the code.
Diego Biurrun [Tue, 2 Sep 2008 22:31:41 +0000 (22:31 +0000)]
Remove pointless #ifdef CONFIG_VHOOK from the code.
The file is only ever compiled if CONFIG_VHOOK is set.

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

16 years agocorrectly mux mpeg2 audio 13818-3 in mp4
Baptiste Coudurier [Tue, 2 Sep 2008 20:48:45 +0000 (20:48 +0000)]
correctly mux mpeg2 audio 13818-3 in mp4

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

16 years agoallow mp2 to be muxed into mp4
Baptiste Coudurier [Tue, 2 Sep 2008 19:13:25 +0000 (19:13 +0000)]
allow mp2 to be muxed into mp4

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

16 years agoParity bit calculation routine for G.729
Vladimir Voroshilov [Tue, 2 Sep 2008 17:15:28 +0000 (17:15 +0000)]
Parity bit calculation routine for G.729

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

16 years agoTry to support invalid h264 that does not mark IDR with POC=0.
Michael Niedermayer [Tue, 2 Sep 2008 16:31:18 +0000 (16:31 +0000)]
Try to support invalid h264 that does not mark IDR with POC=0.
Fixes issue576.

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

16 years agoFix detection of MPEG4 in MPEG-PS.
Michael Niedermayer [Tue, 2 Sep 2008 15:33:57 +0000 (15:33 +0000)]
Fix detection of MPEG4 in MPEG-PS.
Fixes issue568.

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

16 years agoadd a separate line in Makefile for E-AC-3 decoder and only compile it when
Justin Ruggles [Tue, 2 Sep 2008 04:04:26 +0000 (04:04 +0000)]
add a separate line in Makefile for E-AC-3 decoder and only compile it when
GPL is enabled. fixes building without GPL or with liba52.

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

16 years agomake pcm encoder setting bits_per_sample field
Baptiste Coudurier [Mon, 1 Sep 2008 21:13:05 +0000 (21:13 +0000)]
make pcm encoder setting bits_per_sample field

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

16 years agoMake show_banner()/show_version() print the libpostproc version
Stefano Sabatini [Mon, 1 Sep 2008 18:02:46 +0000 (18:02 +0000)]
Make show_banner()/show_version() print the libpostproc version
numbers if enabled.

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

16 years agoImplement postproc_version().
Stefano Sabatini [Mon, 1 Sep 2008 18:00:53 +0000 (18:00 +0000)]
Implement postproc_version().

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

16 years agochange back to using CONFIG_*_DEMUXER for ac3_eac3_probe(), but use it
Justin Ruggles [Mon, 1 Sep 2008 17:20:49 +0000 (17:20 +0000)]
change back to using CONFIG_*_DEMUXER for ac3_eac3_probe(), but use it
correctly this time.

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

16 years agomatroska: add E-AC-3 support
Aurelien Jacobs [Mon, 1 Sep 2008 15:50:12 +0000 (15:50 +0000)]
matroska: add E-AC-3 support
Thanks again Justin !

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

16 years agosimplify ac3_probe() and eac3_probe(). patch by Aurelien Jacobs.
Aurelien Jacobs [Mon, 1 Sep 2008 15:31:14 +0000 (15:31 +0000)]
simplify ac3_probe() and eac3_probe(). patch by Aurelien Jacobs.

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

16 years agocheck ENABLE_*_DEMUXER instead of CONFIG_*_DEMUXER
Justin Ruggles [Mon, 1 Sep 2008 15:28:15 +0000 (15:28 +0000)]
check ENABLE_*_DEMUXER instead of CONFIG_*_DEMUXER

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

16 years agocreate a separate codec_id for E-AC-3
Justin Ruggles [Mon, 1 Sep 2008 14:33:54 +0000 (14:33 +0000)]
create a separate codec_id for E-AC-3

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

16 years agoRemove useless "else" case in if X { A; return }; else { B }. See discussion
Ronald S. Bultje [Mon, 1 Sep 2008 13:51:24 +0000 (13:51 +0000)]
Remove useless "else" case in if X { A; return }; else { B }. See discussion
in "Realmedia patch" thread on mailinglist.

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

16 years agoSome RTSP streams use SDP lines longer than 1024 bytes, so the SDP line
Ronald S. Bultje [Mon, 1 Sep 2008 13:47:53 +0000 (13:47 +0000)]
Some RTSP streams use SDP lines longer than 1024 bytes, so the SDP line
buffer needs to be increased. See discussion in "Realmedia patch" thread
on mailinglist.

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

16 years agoImplement Realmedia-compatible DESCRIBE command.
Ronald S. Bultje [Mon, 1 Sep 2008 13:46:50 +0000 (13:46 +0000)]
Implement Realmedia-compatible DESCRIBE command.

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

16 years agofix sorting of audio codecs
Justin Ruggles [Mon, 1 Sep 2008 13:32:30 +0000 (13:32 +0000)]
fix sorting of audio codecs

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

16 years agoRemaining parts of Nellymoser encoder
Bartlomiej Wolowiec [Mon, 1 Sep 2008 11:19:26 +0000 (11:19 +0000)]
Remaining parts of Nellymoser encoder

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

16 years agoCheck ff_init_me()s return value.
Michael Niedermayer [Mon, 1 Sep 2008 00:28:51 +0000 (00:28 +0000)]
Check ff_init_me()s return value.

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

16 years ago1000l Fix snow regression test that i broke in r15135.
Michael Niedermayer [Mon, 1 Sep 2008 00:22:00 +0000 (00:22 +0000)]
1000l Fix snow regression test that i broke in r15135.

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

16 years agoWarn the user about me_method values that are not supported.
Michael Niedermayer [Sun, 31 Aug 2008 23:55:47 +0000 (23:55 +0000)]
Warn the user about me_method values that are not supported.
Fixes issue503

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

16 years agoOptimize vorbis_residue_decode() so that vr->type is a constant.
Michael Niedermayer [Sun, 31 Aug 2008 22:49:42 +0000 (22:49 +0000)]
Optimize vorbis_residue_decode() so that vr->type is a constant.
Based on a patch by Siarhei Siamashka.

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

16 years agoRemove debuging junk that probably hasnt been used by anyone since years.
Michael Niedermayer [Sun, 31 Aug 2008 20:26:28 +0000 (20:26 +0000)]
Remove debuging junk that probably hasnt been used by anyone since years.

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

16 years agocheck for malloc failure
Baptiste Coudurier [Sun, 31 Aug 2008 20:21:00 +0000 (20:21 +0000)]
check for malloc failure

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

16 years agocopy whole frame in vosData for dnxhd, this code will be used for other codecs too
Baptiste Coudurier [Sun, 31 Aug 2008 20:20:12 +0000 (20:20 +0000)]
copy whole frame in vosData for dnxhd, this code will be used for other codecs too

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

16 years agothe FLAC encoder has an integer-only mode available (compression_level <= 2)
Justin Ruggles [Sun, 31 Aug 2008 20:11:25 +0000 (20:11 +0000)]
the FLAC encoder has an integer-only mode available (compression_level <= 2)

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

16 years agocosmetics: capitalization
Justin Ruggles [Sun, 31 Aug 2008 19:59:52 +0000 (19:59 +0000)]
cosmetics: capitalization

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

16 years agoDnet AC-3 encoding is integer-only
Justin Ruggles [Sun, 31 Aug 2008 19:59:27 +0000 (19:59 +0000)]
Dnet AC-3 encoding is integer-only

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