]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agoAdd support for the PIX_FMT_RGB555 and PIX_FMT_RGB565 pixel formats in
lucabe [Fri, 5 Sep 2008 20:36:42 +0000 (20:36 +0000)]
Add support for the PIX_FMT_RGB555 and PIX_FMT_RGB565 pixel formats in
video4linux2 devices.
Patch by Jean Delvare (khali AT linux-fr DOT org)

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15218 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix nuv decoder to use reget_buffer for non-keyframes and correctly
reimar [Fri, 5 Sep 2008 16:31:26 +0000 (16:31 +0000)]
Fix nuv decoder to use reget_buffer for non-keyframes and correctly
identify non-keyframe RTJPEG frames.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15217 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agodo not fail if audio is uncompressed and frame size is not set, just set it
bcoudurier [Fri, 5 Sep 2008 02:30:27 +0000 (02:30 +0000)]
do not fail if audio is uncompressed and frame size is not set, just set it

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15216 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agosimplify bps code by using av_get_bits_per_sample
bcoudurier [Fri, 5 Sep 2008 02:20:33 +0000 (02:20 +0000)]
simplify bps code by using av_get_bits_per_sample

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15215 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15214 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15213 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFunctions mace{3,6}_decode_frame() are just wrappers to Exp1to{3,6}(). This commit
vitor [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15212 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agomatroskadec: fix ASS subtitle track packets before emitting them
aurel [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15211 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15210 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix msgsm in wav, do not set blkalign to frame size, this is wrong,
bcoudurier [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15209 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSimplify: use two distinct functions to decode MACE3 and MACE6, since the
vitor [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15208 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSimplify mace_decode_frame()
vitor [Thu, 4 Sep 2008 23:12:20 +0000 (23:12 +0000)]
Simplify mace_decode_frame()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15207 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15206 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15205 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15204 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15203 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15202 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15201 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoProperly use av_log rather than fprintf/printf.
stefano [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>

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15200 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15199 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15198 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15197 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoskip 2 bytes more when parsing ac3 frame, syncword 16bits + crc 16bits, patch by...
bcoudurier [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15196 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMultiply table by -1. This avoid doing this calculation (that was introduced
vitor [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15195 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix artifacts of MPEG4-720I-DN-SV8K.trp caused by lack of IDR pictures and
michael [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15194 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15193 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove further 1sample=2byte assumptions within FFmpeg to allow F32LE/F64BE/F64LE...
pross [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15192 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15191 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agochange the logic to mux 13818-3 and 11172-3 in mp4, less code
bcoudurier [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15190 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15189 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15188 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15187 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15186 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15185 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15184 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoIgnore the spec, and calculate aspect ratio on width/height.
michael [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15183 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake the maximum number of simultaneous HTTP connections handled by
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15182 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoChange doxygen comment: Clarify when av_write_trailer should be called.
reimar [Wed, 3 Sep 2008 17:57:56 +0000 (17:57 +0000)]
Change doxygen comment: Clarify when av_write_trailer should be called.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15181 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15180 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15179 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15178 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15177 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDisable encoders by undefining CONFIG_FOO_ENCODER once instead of littering
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15176 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15175 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoReplace generic CONFIG_ENCODERS preprocessor conditionals by more specific
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15174 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15173 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove unused code that used to handle protocol concatenation, i.e. trying
rbultje [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15172 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15171 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoImplement Realmedia/RTSP-compatible SETUP command. This includes calculation
rbultje [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15170 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15169 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15168 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15167 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15166 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15165 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove av_set_pts_info() inside the mdpr_read_codecdata() call, so that it is
rbultje [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15164 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoUse chunk-size in function calling mdpr_read_codecdata() rather than in the
rbultje [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".

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15163 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoReplace generic CONFIG_DECODERS preprocessor conditionals by more specific
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15162 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSilence a couple of 'defined but not used' warnings by adding an av_unused
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15161 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoPrevent a division by 0 in the g726 decoder when the configured samplerate is 0.
diego [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15160 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix an invalid free in the AVI muxer when an unsupported audio track is added.
diego [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15159 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoReplace generic CONFIG_MUXERS preprocessor conditionals by more specific
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15158 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove pointless #ifdef CONFIG_VHOOK from the code.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15157 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15156 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15155 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15154 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoTry to support invalid h264 that does not mark IDR with POC=0.
michael [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15153 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15152 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoadd a separate line in Makefile for E-AC-3 decoder and only compile it when
jbr [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15151 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15150 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15149 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15148 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agochange back to using CONFIG_*_DEMUXER for ac3_eac3_probe(), but use it
jbr [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15147 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15146 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15145 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15144 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15143 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRemove useless "else" case in if X { A; return }; else { B }. See discussion
rbultje [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15142 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSome RTSP streams use SDP lines longer than 1024 bytes, so the SDP line
rbultje [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15141 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15140 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15139 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15138 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15137 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15136 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15135 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoOptimize vorbis_residue_decode() so that vr->type is a constant.
michael [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15134 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15133 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15132 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocopy whole frame in vosData for dnxhd, this code will be used for other codecs too
bcoudurier [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15131 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15130 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agocosmetics: capitalization
jbr [Sun, 31 Aug 2008 19:59:52 +0000 (19:59 +0000)]
cosmetics: capitalization

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15129 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15128 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoadd E-AC-3 to supported codec list
jbr [Sun, 31 Aug 2008 19:57:45 +0000 (19:57 +0000)]
add E-AC-3 to supported codec list

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15127 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoOkayed parts of nellymoserenc.c
bwolowiec [Sun, 31 Aug 2008 19:26:33 +0000 (19:26 +0000)]
Okayed parts of nellymoserenc.c

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15126 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSend RTSP OPTIONS command to detect server type.
rbultje [Sun, 31 Aug 2008 17:32:58 +0000 (17:32 +0000)]
Send RTSP OPTIONS command to detect server type.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15125 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRead RealChallenge1 field from the server.
rbultje [Sun, 31 Aug 2008 17:32:02 +0000 (17:32 +0000)]
Read RealChallenge1 field from the server.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15124 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoImplement RTSPServerType enum as a way to identify the flavour of RTSP that
rbultje [Sun, 31 Aug 2008 17:30:15 +0000 (17:30 +0000)]
Implement RTSPServerType enum as a way to identify the flavour of RTSP that
the server will send to us (standard-compliant RTP or Realmedia-style RDT).

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15123 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRevert back to old version (r15103).
rbultje [Sun, 31 Aug 2008 17:23:01 +0000 (17:23 +0000)]
Revert back to old version (r15103).

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15122 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoreduce code duplication by moving common header parsing
stefang [Sun, 31 Aug 2008 08:09:54 +0000 (08:09 +0000)]
reduce code duplication by moving common header parsing
from the bpp-specific parts to the frame decode

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15121 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename globally the header inclusion guards.
stefano [Sun, 31 Aug 2008 07:39:47 +0000 (07:39 +0000)]
Rename globally the header inclusion guards.

Apply consistently this rule: the guard name is obtained from the
filename stripping the eventual leading "lib", converting '/' and '.'
to '_' and upcasing the resulting name. Headers' guards in the root
dir have to be prefixed by "FFMPEG_".

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15120 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDisplay error message when user attempts to resample non-S16 audio formats. Patch...
pross [Sun, 31 Aug 2008 07:23:48 +0000 (07:23 +0000)]
Display error message when user attempts to resample non-S16 audio formats. Patch supplied by Daniel Serpell <daniel dot serpell at gmail dotcom>

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15119 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b