]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agoConvert table to integer.
vitor [Wed, 10 Sep 2008 19:00:02 +0000 (19:00 +0000)]
Convert table to integer.

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

15 years agoClarify convergence_duration.
michael [Wed, 10 Sep 2008 12:51:49 +0000 (12:51 +0000)]
Clarify convergence_duration.

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

15 years agoConvert two tables to signed decimal
vitor [Tue, 9 Sep 2008 19:20:20 +0000 (19:20 +0000)]
Convert two tables to signed decimal

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

15 years agoset bits_per_coded_sample according to new lavc api
bcoudurier [Tue, 9 Sep 2008 18:32:50 +0000 (18:32 +0000)]
set bits_per_coded_sample according to new lavc api

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

15 years agoCosmetics: remove useless parenthesis
vitor [Tue, 9 Sep 2008 16:51:39 +0000 (16:51 +0000)]
Cosmetics: remove useless parenthesis

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

15 years agoRemove ChannelData.lev var and use ChannelData.level instead
vitor [Tue, 9 Sep 2008 16:50:11 +0000 (16:50 +0000)]
Remove ChannelData.lev var and use ChannelData.level instead

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

15 years agoAdd support for creating Simple Profile (I-frame only, no arithmetic coding)
diego [Tue, 9 Sep 2008 14:47:47 +0000 (14:47 +0000)]
Add support for creating Simple Profile (I-frame only, no arithmetic coding)
Dirac bytestreams.  patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

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

15 years agovorbis_enc : set coded_frame->pts value to running sample count.
jai_menon [Tue, 9 Sep 2008 14:42:50 +0000 (14:42 +0000)]
vorbis_enc : set coded_frame->pts value to running sample count.
This is a temporary fix for issue 502 and will not be required when
we start using AVFrame for audio codecs.

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

15 years agomatroskadec: demux relevant subtitle packets after a seek
aurel [Tue, 9 Sep 2008 12:10:25 +0000 (12:10 +0000)]
matroskadec: demux relevant subtitle packets after a seek
only works for subtitle tracks which where properly indexed up to the seek point

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

15 years agomatroskadec: ensure that overlapping subtitle are not added to the index
aurel [Tue, 9 Sep 2008 12:07:10 +0000 (12:07 +0000)]
matroskadec: ensure that overlapping subtitle are not added to the index

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

15 years agomatroskadec: after seeking, skeep up to the desired timestamp instead of
aurel [Tue, 9 Sep 2008 12:01:51 +0000 (12:01 +0000)]
matroskadec: after seeking, skeep up to the desired timestamp instead of
the desired stream

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

15 years agomatroskadec: move timecode calculation a little earlier
aurel [Tue, 9 Sep 2008 11:54:35 +0000 (11:54 +0000)]
matroskadec: move timecode calculation a little earlier
so as to be able to use it in other part of the code

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

15 years agomatroskadec: sanitize track time_scale before using it
aurel [Tue, 9 Sep 2008 11:23:48 +0000 (11:23 +0000)]
matroskadec: sanitize track time_scale before using it
fix issue628

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

15 years agoprint stream index in decimal not in hex, easier for debugging
bcoudurier [Tue, 9 Sep 2008 02:56:13 +0000 (02:56 +0000)]
print stream index in decimal not in hex, easier for debugging

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

15 years agoremove one more stuff under #if LIBAVCODEC_VERSION_INT
aurel [Mon, 8 Sep 2008 23:47:50 +0000 (23:47 +0000)]
remove one more stuff under #if LIBAVCODEC_VERSION_INT
which was forgotten in r15263

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

15 years agoset block align in av_write_header if not set, fix issue #489
bcoudurier [Mon, 8 Sep 2008 19:37:22 +0000 (19:37 +0000)]
set block align in av_write_header if not set, fix issue #489

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

15 years agowrite copyright metadata tag
bcoudurier [Mon, 8 Sep 2008 19:11:53 +0000 (19:11 +0000)]
write copyright metadata tag

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

15 years agoalac : fix case where bits_per_sample is not set.
jai_menon [Mon, 8 Sep 2008 19:05:46 +0000 (19:05 +0000)]
alac : fix case where bits_per_sample is not set.
Patch by Baptiste

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

15 years agoRemove useless comment
vitor [Mon, 8 Sep 2008 18:52:00 +0000 (18:52 +0000)]
Remove useless comment

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

15 years agoNormalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
vitor [Mon, 8 Sep 2008 18:51:33 +0000 (18:51 +0000)]
Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an
one-dimensional array.

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

15 years agoRemove deprecated avcodec_decode_audio() this one was not under #ifdef.
michael [Mon, 8 Sep 2008 18:31:48 +0000 (18:31 +0000)]
Remove deprecated avcodec_decode_audio() this one was not under #ifdef.

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

15 years agoavcodec_find_best_pix_fmt() needs a 64bit mask as there are more than 32 pix_fmts.
michael [Mon, 8 Sep 2008 18:29:08 +0000 (18:29 +0000)]
avcodec_find_best_pix_fmt() needs a 64bit mask as there are more than 32 pix_fmts.

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

15 years agoRename error_resilience to error_recognizion.
michael [Mon, 8 Sep 2008 18:18:49 +0000 (18:18 +0000)]
Rename error_resilience to error_recognizion.

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

15 years agoPass directly variable 'a' to interp instead of evaluating it from num_blocks
vitor [Mon, 8 Sep 2008 18:18:29 +0000 (18:18 +0000)]
Pass directly variable 'a' to interp instead of evaluating it from num_blocks

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

15 years agoSimplify if() in copy_and_dup()
vitor [Mon, 8 Sep 2008 18:16:00 +0000 (18:16 +0000)]
Simplify if() in copy_and_dup()

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

15 years agoAdd av_cold attribute to decode_init()
vitor [Mon, 8 Sep 2008 18:14:37 +0000 (18:14 +0000)]
Add av_cold attribute to decode_init()

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

15 years agoCosmetics: Make the two additional units in size more clear
vitor [Mon, 8 Sep 2008 18:13:53 +0000 (18:13 +0000)]
Cosmetics: Make the two additional units in size more clear

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

15 years agoRemove DEFAULT_FRAME_RATE_BASE.
michael [Mon, 8 Sep 2008 15:28:07 +0000 (15:28 +0000)]
Remove DEFAULT_FRAME_RATE_BASE.

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

15 years agoDrop deprecated SAMPLE_FMT_S24.
michael [Mon, 8 Sep 2008 15:24:16 +0000 (15:24 +0000)]
Drop deprecated SAMPLE_FMT_S24.

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

15 years agoRemove stuff under #if LIBAVCODEC_VERSION_INT.
michael [Mon, 8 Sep 2008 15:03:17 +0000 (15:03 +0000)]
Remove stuff under #if LIBAVCODEC_VERSION_INT.

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

15 years agoBump Major version, this commit is almost just renaming bits_per_sample to
michael [Mon, 8 Sep 2008 14:24:59 +0000 (14:24 +0000)]
Bump Major version, this commit is almost just renaming bits_per_sample to
bits_per_coded_sample but that cannot be done seperately.
Patch by Luca Abeni
Also reset the minor version and fix the forgotton change to libfaad.
Note: The API/ABI should not be considered stable yet, there still may
be a change done here or there if some developer has some cleanup ideas and
patches!

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

15 years agoTry to fix wma regression.
michael [Mon, 8 Sep 2008 13:37:12 +0000 (13:37 +0000)]
Try to fix wma regression.

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

15 years agoRelicense as ISC with the authors' permission.
diego [Mon, 8 Sep 2008 05:17:17 +0000 (05:17 +0000)]
Relicense as ISC with the authors' permission.

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

15 years agoterminate tag tables by CODEC_ID_NONE
bcoudurier [Mon, 8 Sep 2008 00:58:24 +0000 (00:58 +0000)]
terminate tag tables by CODEC_ID_NONE

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

15 years agoRelicense from LGPL 2.1 to LGPL 2.1 or later with the authors' permission.
diego [Sun, 7 Sep 2008 21:02:28 +0000 (21:02 +0000)]
Relicense from LGPL 2.1 to LGPL 2.1 or later with the authors' permission.

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

15 years agoCheck output buffer size before decoding.
vitor [Sun, 7 Sep 2008 20:21:15 +0000 (20:21 +0000)]
Check output buffer size before decoding.

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

15 years agoCosmetics: rename vars s/ctx/chd/
vitor [Sun, 7 Sep 2008 20:18:18 +0000 (20:18 +0000)]
Cosmetics: rename vars s/ctx/chd/

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

15 years agoUse tables symetry to reduce their size by half.
vitor [Sun, 7 Sep 2008 17:20:55 +0000 (17:20 +0000)]
Use tables symetry to reduce their size by half.

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

15 years agofix seek regression tests after r15229
aurel [Sun, 7 Sep 2008 15:08:43 +0000 (15:08 +0000)]
fix seek regression tests after r15229
The matroska demuxer now index every streams so seek on stream 1 now works.

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

15 years agoCosmetics: s/short/int16_t/
vitor [Sun, 7 Sep 2008 14:33:01 +0000 (14:33 +0000)]
Cosmetics: s/short/int16_t/

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

15 years agoRemove cast, now tables are signed.
vitor [Sun, 7 Sep 2008 14:32:10 +0000 (14:32 +0000)]
Remove cast, now tables are signed.

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

15 years agoConvert tables to signed and decimal.
vitor [Sun, 7 Sep 2008 14:30:54 +0000 (14:30 +0000)]
Convert tables to signed and decimal.

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

15 years agoRemove unused table entries.
vitor [Sun, 7 Sep 2008 13:55:26 +0000 (13:55 +0000)]
Remove unused table entries.

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

15 years agoRemove commented out code.
vitor [Sun, 7 Sep 2008 13:47:30 +0000 (13:47 +0000)]
Remove commented out code.

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

15 years agoUse FFMIN() instead of rewriting it.
vitor [Sun, 7 Sep 2008 13:46:09 +0000 (13:46 +0000)]
Use FFMIN() instead of rewriting it.

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

15 years agoFactorize broken clipping in its own function and document it.
vitor [Sun, 7 Sep 2008 13:42:34 +0000 (13:42 +0000)]
Factorize broken clipping in its own function and document it.

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

15 years agoCosmetics: whitespace/linebreaks
vitor [Sun, 7 Sep 2008 09:55:47 +0000 (09:55 +0000)]
Cosmetics: whitespace/linebreaks

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

15 years agoUse the same 8 bit -> 16 bit convertion as quicktime
vitor [Sun, 7 Sep 2008 09:46:55 +0000 (09:46 +0000)]
Use the same 8 bit -> 16 bit convertion as quicktime

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

15 years agoDo not share context variables between channels and don't zero
vitor [Sun, 7 Sep 2008 09:42:57 +0000 (09:42 +0000)]
Do not share context variables between channels and don't zero
 them at decode_frame(). This makes the output much closer to that of
the binary decoder.

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

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