]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agoRemove output pointer from context
vitor [Sun, 7 Sep 2008 09:38:37 +0000 (09:38 +0000)]
Remove output pointer from context

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

15 years agoadd 1bpp decoding function and extend 4bpp function to
stefang [Sun, 7 Sep 2008 07:36:03 +0000 (07:36 +0000)]
add 1bpp decoding function and extend 4bpp function to
also cover the 2bpp case.

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

15 years agoadd missing html start tag to ffserver status html page
bcoudurier [Sun, 7 Sep 2008 05:05:10 +0000 (05:05 +0000)]
add missing html start tag to ffserver status html page

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

15 years agocleanup, merge snprintf calls
bcoudurier [Sun, 7 Sep 2008 04:56:44 +0000 (04:56 +0000)]
cleanup, merge snprintf calls

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

15 years agoset default bps to 16 in wav header
bcoudurier [Sun, 7 Sep 2008 04:17:15 +0000 (04:17 +0000)]
set default bps to 16 in wav header

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

15 years ago100l, compute correctly poll_table size when allocating
bcoudurier [Sun, 7 Sep 2008 04:16:05 +0000 (04:16 +0000)]
100l, compute correctly poll_table size when allocating

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

15 years agoImplement RDT-specific data parsing routines. After these changes, simple
rbultje [Sun, 7 Sep 2008 01:25:47 +0000 (01:25 +0000)]
Implement RDT-specific data parsing routines. After these changes, simple
playback of RTSP/RDT streams should work. See discussion in "Realmedia patch"
thread on ML.

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

15 years agoReindent after previous patch.
rbultje [Sun, 7 Sep 2008 01:24:01 +0000 (01:24 +0000)]
Reindent after previous patch.

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

15 years agoImplement a RDT-specific SET_PARAMETER command that subscribes to the
rbultje [Sun, 7 Sep 2008 01:22:18 +0000 (01:22 +0000)]
Implement a RDT-specific SET_PARAMETER command that subscribes to the
first stream in a RTSP/RDT session. See discussion in "Realmedia patch"
thread on ML.

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

15 years agoAdd dynamic payload handlers to rdt.c. These follow the same API as the ones
rbultje [Sun, 7 Sep 2008 01:21:24 +0000 (01:21 +0000)]
Add dynamic payload handlers to rdt.c. These follow the same API as the ones
in rtpdec.c, so that they can be shared and used in the same way in rtsp.c.
The handlers, since they are specific for RDT, are registered in rdt.c and
a new registration function is thus called from allformats.c.

The dynamic payload handler also implements RDT-specific SDP-line parsing for
OpaqueData and StartTime, which are specific for RDT and needed for proper
playback. OpaqueData contains one or a list ("MLTI") of "MDPR" chunks that
can be parsed by the rmdec.c function ff_rm_read_mdpr_codecdata(). To use
this function, we create a new rdt_demuxer, which has the same private data
as the rm_demuxer. The resulting AVFormatContext created with _open_stream()
can thus be used to call functions in the RM demuxer.

See discussion in "Realmedia patch" thread on ML.

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

15 years agoGive register_dynamic_payload_handler() in rtpdec.c a ff_ prefix and export
rbultje [Sun, 7 Sep 2008 01:19:26 +0000 (01:19 +0000)]
Give register_dynamic_payload_handler() in rtpdec.c a ff_ prefix and export
it so that I can use it in rdt.c as well. See discussion in "Realmedia patch"
thread on ML.

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

15 years agobump lavf micro version to allow checking for the matroska/ASS bugfix in r15211
aurel [Sun, 7 Sep 2008 00:05:30 +0000 (00:05 +0000)]
bump lavf micro version to allow checking for the matroska/ASS bugfix in r15211

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

15 years agomatroskadec: remove now useless vstream and is_video_key_frame
aurel [Sat, 6 Sep 2008 23:44:29 +0000 (23:44 +0000)]
matroskadec: remove now useless vstream and is_video_key_frame

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

15 years agomatroskadec: remove useless braces
aurel [Sat, 6 Sep 2008 23:43:24 +0000 (23:43 +0000)]
matroskadec: remove useless braces

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

15 years agomatroskadec: ensure that the timecode added to the index are is the one
aurel [Sat, 6 Sep 2008 23:39:59 +0000 (23:39 +0000)]
matroskadec: ensure that the timecode added to the index are is the one
of the actual keyframe block, and not the one of the start of the cluster
containing this block.

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

15 years agoWhitespace cosmetics
cehoyos [Sat, 6 Sep 2008 16:55:29 +0000 (16:55 +0000)]
Whitespace cosmetics

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

15 years agolicense header consistency cosmetics.
diego [Sat, 6 Sep 2008 16:15:45 +0000 (16:15 +0000)]
license header consistency cosmetics.

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

15 years agoMention that libavcodec/ac3dec.c is GPLed.
diego [Sat, 6 Sep 2008 16:14:20 +0000 (16:14 +0000)]
Mention that libavcodec/ac3dec.c is GPLed.

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

15 years agolicense header consistency cosmetics
diego [Sat, 6 Sep 2008 16:09:57 +0000 (16:09 +0000)]
license header consistency cosmetics

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

15 years agoRemove not approved parts.
voroshil [Sat, 6 Sep 2008 13:45:02 +0000 (13:45 +0000)]
Remove not approved parts.

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

15 years agoTest a var for overflow just after it is set
vitor [Sat, 6 Sep 2008 11:46:29 +0000 (11:46 +0000)]
Test a var for overflow just after it is set

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

15 years agoRemove useless parenthesis
vitor [Sat, 6 Sep 2008 11:45:10 +0000 (11:45 +0000)]
Remove useless parenthesis

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

15 years agoRemove wrong and unnecessary condition. VHOOK filters are not special
stefano [Sat, 6 Sep 2008 07:26:05 +0000 (07:26 +0000)]
Remove wrong and unnecessary condition. VHOOK filters are not special
so they are not supposed to use the printf, fprintf, perror and puts
functions but av_log instead.

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

15 years agoUndefine the macro which defines fprintf as please_use_av_log so that
stefano [Sat, 6 Sep 2008 07:07:07 +0000 (07:07 +0000)]
Undefine the macro which defines fprintf as please_use_av_log so that
fprintf can be used for printing to file.
Patch by JonY <10walls __AT__ gmail @@dot@@ com>

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

15 years agoADD support for the RGB32 pixel format in video4linux2 devices
lucabe [Fri, 5 Sep 2008 20:40:50 +0000 (20:40 +0000)]
ADD support for the RGB32 pixel format in video4linux2 devices
Patch by Jean Delvare (khali AT linux-fr DOT org)

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

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