]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
16 years agoLink to libraries in dependency order.
victor [Sat, 12 Jan 2008 11:17:37 +0000 (11:17 +0000)]
Link to libraries in dependency order.
Based on a patch by Gonzalo Garramuño, ggarra advancedsl com ar

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

16 years agoMake the Kaiser-Bessel window generator a common function
andoma [Sat, 12 Jan 2008 11:11:19 +0000 (11:11 +0000)]
Make the Kaiser-Bessel window generator a common function

Patch by Robert Swain, robert d swain a gmail d com

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

16 years agoSet pts/dts in raw (yuv,rgb,pcm) demuxers.
michael [Sat, 12 Jan 2008 00:24:10 +0000 (00:24 +0000)]
Set pts/dts in raw (yuv,rgb,pcm) demuxers.

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

16 years agoWrite 0 instead of seeking forward (and leaving bytes uninitalized),
michael [Sat, 12 Jan 2008 00:15:05 +0000 (00:15 +0000)]
Write 0 instead of seeking forward (and leaving bytes uninitalized),
fixes odd regression test failure i had.

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

16 years agoadd a ff_ prefix to newly exported functions from avc.c
aurel [Fri, 11 Jan 2008 23:33:32 +0000 (23:33 +0000)]
add a ff_ prefix to newly exported functions from avc.c

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

16 years agoMatroska muxer needs to format all NAL units, not only extradata.
aurel [Fri, 11 Jan 2008 23:21:22 +0000 (23:21 +0000)]
Matroska muxer needs to format all NAL units, not only extradata.

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

16 years agoFactorize some code into functions, had this in my tree and will be
michael [Fri, 11 Jan 2008 21:34:05 +0000 (21:34 +0000)]
Factorize some code into functions, had this in my tree and will be
needed for mp3 encoding.

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

16 years agoNitpicks patch by Lars Täuber.
michael [Fri, 11 Jan 2008 19:45:09 +0000 (19:45 +0000)]
Nitpicks patch by Lars Täuber.

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

16 years agoClear synth_buf on flush(). Part of a patch by Brian Brice bbrice gmail com.
michael [Fri, 11 Jan 2008 18:20:42 +0000 (18:20 +0000)]
Clear synth_buf on flush(). Part of a patch by Brian Brice bbrice gmail com.

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

16 years agoFlush mp2 as well on seeking. Part of a patch by Brian Brice bbrice gmail com.
michael [Fri, 11 Jan 2008 18:18:45 +0000 (18:18 +0000)]
Flush mp2 as well on seeking. Part of a patch by Brian Brice bbrice gmail com.

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

16 years agoDo not install rtp.h (which should have never been part of the public API)
lucabe [Fri, 11 Jan 2008 12:24:46 +0000 (12:24 +0000)]
Do not install rtp.h (which should have never been part of the public API)

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

16 years agoFactorize some duplicated code from CAVS and H.264 into a common file.
diego [Fri, 11 Jan 2008 08:29:58 +0000 (08:29 +0000)]
Factorize some duplicated code from CAVS and H.264 into a common file.
patch by Christophe Gisquet, christophe.gisquet free fr

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

16 years agoMinistry of English Composition edits for SNOW spec-- introduction (many more to...
melanson [Fri, 11 Jan 2008 07:15:43 +0000 (07:15 +0000)]
Ministry of English Composition edits for SNOW spec-- introduction (many more to come)

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

16 years agoEnabling higher frame rates for dc1394, patch by Alessandro Sappia a dot sappia at...
romansh [Fri, 11 Jan 2008 02:13:32 +0000 (02:13 +0000)]
Enabling higher frame rates for dc1394, patch by Alessandro Sappia a dot sappia at ngi dot it

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

16 years agoAdding support for libdc1394 v.2, patch by Alessandro Sappia a dot sappia at ngi...
romansh [Fri, 11 Jan 2008 01:59:05 +0000 (01:59 +0000)]
Adding support for libdc1394 v.2, patch by Alessandro Sappia a dot sappia at ngi dot it

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

16 years agomatroskaenc now depends on avc.o
aurel [Fri, 11 Jan 2008 01:37:38 +0000 (01:37 +0000)]
matroskaenc now depends on avc.o

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

16 years agoUse the isom avcc formatting for h264 extradata in matroska.
aurel [Fri, 11 Jan 2008 01:32:45 +0000 (01:32 +0000)]
Use the isom avcc formatting for h264 extradata in matroska.

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

16 years agoMove isom_write_avcc() and related functions into a separate file.
aurel [Fri, 11 Jan 2008 01:24:55 +0000 (01:24 +0000)]
Move isom_write_avcc() and related functions into a separate file.

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

16 years agoextract isom_write_avcc into a function
aurel [Fri, 11 Jan 2008 01:04:01 +0000 (01:04 +0000)]
extract isom_write_avcc into a function

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

16 years agoAdd one more parameter to avc_parse_nal_units so that it allows not to
aurel [Fri, 11 Jan 2008 01:00:04 +0000 (01:00 +0000)]
Add one more parameter to avc_parse_nal_units so that it allows not to
free the input buffer.
This is required by upcoming extraction of isom_write_avcc to a function.

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

16 years agoCheck return value of avc_parse_nal_units().
aurel [Fri, 11 Jan 2008 00:47:02 +0000 (00:47 +0000)]
Check return value of avc_parse_nal_units().

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

16 years agoReindent after r11493 (always use parse_packet() vfunc in rtp_parse_packet()),
rbultje [Thu, 10 Jan 2008 13:54:30 +0000 (13:54 +0000)]
Reindent after r11493 (always use parse_packet() vfunc in rtp_parse_packet()),
see "[PATCH] Realmedia / RTSP (RDT)" thread on ML.

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

16 years agoMake rtp_parse_packet() always call the vfunc of the dynamic payload handler
rbultje [Thu, 10 Jan 2008 13:52:35 +0000 (13:52 +0000)]
Make rtp_parse_packet() always call the vfunc of the dynamic payload handler
if there is one. See "[PATCH] Realmedia / RTSP (RDT)" thread on ML.

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

16 years agounused
michael [Thu, 10 Jan 2008 11:05:12 +0000 (11:05 +0000)]
unused

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

16 years agoFix a couple of 'return type defaults to int' and 'control reaches end of
diego [Thu, 10 Jan 2008 10:35:37 +0000 (10:35 +0000)]
Fix a couple of 'return type defaults to int' and 'control reaches end of
non-void function' warnings in test code.

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

16 years agoAdd LGPL license header.
diego [Thu, 10 Jan 2008 10:26:57 +0000 (10:26 +0000)]
Add LGPL license header.

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

16 years agoAdd "genre" command line option
benoit [Thu, 10 Jan 2008 10:25:15 +0000 (10:25 +0000)]
Add "genre" command line option
Patch by kweiner spamcop net
closes Issue318

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

16 years agoMake MMX vectors constants.
benoit [Thu, 10 Jan 2008 10:18:00 +0000 (10:18 +0000)]
Make MMX vectors constants.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

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

16 years agoMake pp_help a constant array of characters to move it to .rodata.
benoit [Thu, 10 Jan 2008 10:16:36 +0000 (10:16 +0000)]
Make pp_help a constant array of characters to move it to .rodata.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

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

16 years agoReduce the size of the replaceTable entries.
benoit [Thu, 10 Jan 2008 10:15:07 +0000 (10:15 +0000)]
Reduce the size of the replaceTable entries.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

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

16 years agoPass a proper context to av_log()
lucabe [Thu, 10 Jan 2008 08:34:37 +0000 (08:34 +0000)]
Pass a proper context to av_log()

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

16 years agoPrint libavdevice version.
michael [Thu, 10 Jan 2008 01:02:52 +0000 (01:02 +0000)]
Print libavdevice version.

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

16 years agoInitialize correctly optind.
victor [Wed, 9 Jan 2008 20:48:02 +0000 (20:48 +0000)]
Initialize correctly optind.
Patch by Eduardo Bragatto, his name at his surname dot com

Thread http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-January/039835.html

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

16 years agoFix a bug causing the generated stream to be corrupt if the buffer
andoma [Wed, 9 Jan 2008 08:38:28 +0000 (08:38 +0000)]
Fix a bug causing the generated stream to be corrupt if the buffer
contains NAL units previous to the IDR where the SPS/PPS was inserted.

Ok:ed by Benoit on irc.

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

16 years agoIgnore trasher.
diego [Wed, 9 Jan 2008 08:05:07 +0000 (08:05 +0000)]
Ignore trasher.

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

16 years agoCorrectly use output format stream index for bitstream filter when doing stream copy.
andoma [Wed, 9 Jan 2008 06:22:32 +0000 (06:22 +0000)]
Correctly use output format stream index for bitstream filter when doing stream copy.

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

16 years agoError checking: make sure that there are 3 parameters and that the
melanson [Wed, 9 Jan 2008 00:29:49 +0000 (00:29 +0000)]
Error checking: make sure that there are 3 parameters and that the
file open operation succeeds.

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

16 years agoused defined name for testing error resilience level
jbr [Tue, 8 Jan 2008 23:44:48 +0000 (23:44 +0000)]
used defined name for testing error resilience level

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

16 years agoFix random typos.
diego [Tue, 8 Jan 2008 23:08:51 +0000 (23:08 +0000)]
Fix random typos.

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

16 years agoFix illegal identifiers, names starting with _ and uppercase are reserved.
diego [Tue, 8 Jan 2008 23:07:55 +0000 (23:07 +0000)]
Fix illegal identifiers, names starting with _ and uppercase are reserved.

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

16 years agoAdd compilation rule for tools/trasher.
diego [Tue, 8 Jan 2008 23:02:39 +0000 (23:02 +0000)]
Add compilation rule for tools/trasher.

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

16 years agoRemove unused variable i.
diego [Tue, 8 Jan 2008 22:57:03 +0000 (22:57 +0000)]
Remove unused variable i.

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

16 years agoAllow compilation of test programs when TEST is defined.
diego [Tue, 8 Jan 2008 22:54:49 +0000 (22:54 +0000)]
Allow compilation of test programs when TEST is defined.

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

16 years agoRemove unused variable j.
diego [Tue, 8 Jan 2008 22:53:25 +0000 (22:53 +0000)]
Remove unused variable j.

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

16 years agoRemove unused variable variance.
diego [Tue, 8 Jan 2008 22:48:26 +0000 (22:48 +0000)]
Remove unused variable variance.

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

16 years agoFix test program compilation, random() needs to be undefined.
diego [Tue, 8 Jan 2008 22:40:25 +0000 (22:40 +0000)]
Fix test program compilation, random() needs to be undefined.

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

16 years agourl_write is part of the public API so it may not be under ifdef.
reimar [Tue, 8 Jan 2008 22:07:59 +0000 (22:07 +0000)]
url_write is part of the public API so it may not be under ifdef.
Also fixes a compile error if all muxers and protocols are disabled.
Patch by Guillaume LECERF (foxcore gmail com)

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

16 years agoRemove clip_table as it is not used anymore.
reimar [Tue, 8 Jan 2008 22:03:30 +0000 (22:03 +0000)]
Remove clip_table as it is not used anymore.
Patch by Diego 'Flameeyes' Pettenò (flameeyes gmail com)

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

16 years agoSplit range coding chapter in binary and integers
michael [Tue, 8 Jan 2008 21:32:21 +0000 (21:32 +0000)]
Split range coding chapter in binary and integers

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

16 years agoargh s/ffmpeg/snow/
michael [Tue, 8 Jan 2008 21:28:55 +0000 (21:28 +0000)]
argh s/ffmpeg/snow/

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

16 years agoRange coder state transition table, based on a patch by lars punkt taeuber ät web...
michael [Tue, 8 Jan 2008 20:29:32 +0000 (20:29 +0000)]
Range coder state transition table, based on a  patch by lars punkt taeuber ät web punkt de.

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

16 years agoRemove extra word.
michael [Tue, 8 Jan 2008 20:08:02 +0000 (20:08 +0000)]
Remove extra word.

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

16 years agocheck av_new_stream return value
bcoudurier [Tue, 8 Jan 2008 13:55:15 +0000 (13:55 +0000)]
check av_new_stream return value

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

16 years agocheck av_new_stream return value
bcoudurier [Tue, 8 Jan 2008 13:48:52 +0000 (13:48 +0000)]
check av_new_stream return value

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

16 years ago * fixing a bug preventing default values to be set correctly
romansh [Tue, 8 Jan 2008 02:52:05 +0000 (02:52 +0000)]
  * fixing a bug preventing default values to be set correctly

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

16 years agoMention damaged input testing.
michael [Tue, 8 Jan 2008 00:58:17 +0000 (00:58 +0000)]
Mention damaged input testing.

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

16 years agoA little proggy i wrote years ago.
michael [Tue, 8 Jan 2008 00:54:19 +0000 (00:54 +0000)]
A little proggy i wrote years ago.
This simply writes burts of random data into a file. Great for testing error
robustness/resilience/concealment.

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

16 years agoRandomly change the amount of noise if nothing is explicitly set.
michael [Tue, 8 Jan 2008 00:25:25 +0000 (00:25 +0000)]
Randomly change the amount of noise if nothing is explicitly set.

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

16 years agoLMLM4 demuxer
ivo [Mon, 7 Jan 2008 23:53:57 +0000 (23:53 +0000)]
LMLM4 demuxer

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

16 years agoLinux Media Labs MPEG-4 (LMLM4) demuxer
ivo [Mon, 7 Jan 2008 23:52:51 +0000 (23:52 +0000)]
Linux Media Labs MPEG-4 (LMLM4) demuxer

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

16 years agoImplement read_timestamp and enable seeking in PVA files.
ivo [Mon, 7 Jan 2008 23:42:52 +0000 (23:42 +0000)]
Implement read_timestamp and enable seeking in PVA files.

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

16 years agocosmetics
ivo [Mon, 7 Jan 2008 23:40:04 +0000 (23:40 +0000)]
cosmetics

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

16 years agoremove unnecessary check
ivo [Mon, 7 Jan 2008 23:39:47 +0000 (23:39 +0000)]
remove unnecessary check

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

16 years agouse ff_parse_pes_pts for parsing an MPEG-PES timestamp
ivo [Mon, 7 Jan 2008 23:38:12 +0000 (23:38 +0000)]
use ff_parse_pes_pts for parsing an MPEG-PES timestamp

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

16 years agoMove parsing of MPEG-PES timestamp to mpeg.h (as an inline function) so it
ivo [Mon, 7 Jan 2008 23:32:57 +0000 (23:32 +0000)]
Move parsing of MPEG-PES timestamp to mpeg.h (as an inline function) so it
can easily be reused by other demuxers for formats that encapsulate MPEG-PES.

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

16 years agoMove printing of the license status at the end of configure output, so
rtogni [Mon, 7 Jan 2008 21:37:18 +0000 (21:37 +0000)]
Move printing of the license status at the end of configure output, so
that users won't miss it

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

16 years agoDont crash if resampling is requested but no audio packets are ever processed.
andoma [Mon, 7 Jan 2008 20:42:45 +0000 (20:42 +0000)]
Dont crash if resampling is requested but no audio packets are ever processed.

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

16 years agoFix access to the last element of the table.
aurel [Mon, 7 Jan 2008 13:19:38 +0000 (13:19 +0000)]
Fix access to the last element of the table.
(size of the table vs. number of elements in the table)

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

16 years agoMark the ff_svq1_frame_size_table as constant.
benoit [Mon, 7 Jan 2008 12:48:42 +0000 (12:48 +0000)]
Mark the ff_svq1_frame_size_table as constant.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

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

16 years agoMove wmv1_scantable to .rodata section by making it an array of arrays.
benoit [Mon, 7 Jan 2008 12:47:14 +0000 (12:47 +0000)]
Move wmv1_scantable to .rodata section by making it an array of arrays.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

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

16 years agoMake the av_class member of PPContext a poiner to constant AVClass.
benoit [Mon, 7 Jan 2008 12:44:49 +0000 (12:44 +0000)]
Make the av_class member of PPContext a poiner to constant AVClass.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

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

16 years agoMark the tables in g726.c as constant.
benoit [Mon, 7 Jan 2008 12:43:04 +0000 (12:43 +0000)]
Mark the tables in g726.c as constant.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

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

16 years agoMake v4l.c's video_formats constant and static.
benoit [Mon, 7 Jan 2008 12:42:02 +0000 (12:42 +0000)]
Make v4l.c's video_formats constant and static.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

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

16 years agoRemove unused symbol.
benoit [Mon, 7 Jan 2008 12:40:39 +0000 (12:40 +0000)]
Remove unused symbol.

Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com

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

16 years agosplit out init of downmix coeffs into a separate function that can be called
jbr [Mon, 7 Jan 2008 00:18:02 +0000 (00:18 +0000)]
split out init of downmix coeffs into a separate function that can be called
only when needed

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

16 years agoMake ff_mkv_codec_tags lie entirely in .rodata section.
aurel [Mon, 7 Jan 2008 00:03:19 +0000 (00:03 +0000)]
Make ff_mkv_codec_tags lie entirely in .rodata section.
From: Diego 'Flameeyes' Pettenò < flameeyes _at_ gmail _dot_ com >

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

16 years agoremove unneeded variable from AC3DecodeContext
jbr [Sun, 6 Jan 2008 23:56:19 +0000 (23:56 +0000)]
remove unneeded variable from AC3DecodeContext

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

16 years agomake sure that the last coupling band stops at the end of the coupling range
jbr [Sun, 6 Jan 2008 23:33:30 +0000 (23:33 +0000)]
make sure that the last coupling band stops at the end of the coupling range

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

16 years agocosmetics: Add another pair of parentheses to aid readability.
diego [Sun, 6 Jan 2008 22:50:09 +0000 (22:50 +0000)]
cosmetics: Add another pair of parentheses to aid readability.

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

16 years agofix phase flag processing for the case when coupling coordinates are reused
jbr [Sun, 6 Jan 2008 20:15:24 +0000 (20:15 +0000)]
fix phase flag processing for the case when coupling coordinates are reused
for the right channel, but new for the left channel

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

16 years agoRename two structures, identifiers starting with _[A-Z] are reserved.
diego [Sun, 6 Jan 2008 16:02:55 +0000 (16:02 +0000)]
Rename two structures, identifiers starting with _[A-Z] are reserved.

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

16 years agocosmetics, split overly long lines
bcoudurier [Sun, 6 Jan 2008 14:18:13 +0000 (14:18 +0000)]
cosmetics, split overly long lines

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

16 years agoFractional parts of motion vectors should be accounted separately too
kostya [Sun, 6 Jan 2008 11:47:53 +0000 (11:47 +0000)]
Fractional parts of motion vectors should be accounted separately too

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

16 years agoMake AVRtpPayloadTypes static and constant
lucabe [Sun, 6 Jan 2008 10:00:04 +0000 (10:00 +0000)]
Make AVRtpPayloadTypes static and constant
Patch by Diego 'Flameeyes' Pettenò (flameeyes AT gmail DOT com)

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

16 years agofix playing of multichannel audio for codecs without downmixing
jbr [Sun, 6 Jan 2008 02:44:05 +0000 (02:44 +0000)]
fix playing of multichannel audio for codecs without downmixing

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

16 years agocosmetics, superfluous space
ivo [Sat, 5 Jan 2008 22:33:27 +0000 (22:33 +0000)]
cosmetics, superfluous space

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

16 years agoproper check for valid pva_pts
ivo [Sat, 5 Jan 2008 22:28:42 +0000 (22:28 +0000)]
proper check for valid pva_pts

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

16 years agodo not return an error, but warn and recover when encountering an audio packet
ivo [Sat, 5 Jan 2008 22:27:49 +0000 (22:27 +0000)]
do not return an error, but warn and recover when encountering an audio packet
that should countain a signaled mpeg-pes packet.

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

16 years agovalidate streamid before use
ivo [Sat, 5 Jan 2008 22:18:44 +0000 (22:18 +0000)]
validate streamid before use

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

16 years agochange audio codec id to mp2
ivo [Sat, 5 Jan 2008 22:15:19 +0000 (22:15 +0000)]
change audio codec id to mp2

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

16 years agoproper type and initialization of pva_pts
ivo [Sat, 5 Jan 2008 22:13:27 +0000 (22:13 +0000)]
proper type and initialization of pva_pts

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

16 years agoremove unnecessary shift
ivo [Sat, 5 Jan 2008 22:10:00 +0000 (22:10 +0000)]
remove unnecessary shift

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

16 years agocheck for request_channels in dca init function
jbr [Sat, 5 Jan 2008 21:23:57 +0000 (21:23 +0000)]
check for request_channels in dca init function

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

16 years agoadd downmixing support to libfaad decoder
jbr [Sat, 5 Jan 2008 21:08:20 +0000 (21:08 +0000)]
add downmixing support to libfaad decoder

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

16 years agocosmetics: indentation after last commit
jbr [Sat, 5 Jan 2008 18:40:49 +0000 (18:40 +0000)]
cosmetics: indentation after last commit

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

16 years agomove E-AC3 header parsing to ff_ac3_parse_header()
jbr [Sat, 5 Jan 2008 18:39:55 +0000 (18:39 +0000)]
move E-AC3 header parsing to ff_ac3_parse_header()

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

16 years agoremove unneeded variables from AC3HeaderInfo
jbr [Sat, 5 Jan 2008 17:04:57 +0000 (17:04 +0000)]
remove unneeded variables from AC3HeaderInfo

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

16 years agodo not set channels before checking request_channels
jbr [Sat, 5 Jan 2008 16:47:40 +0000 (16:47 +0000)]
do not set channels before checking request_channels

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

16 years agouse request_channels in liba52 decoder
jbr [Sat, 5 Jan 2008 16:45:25 +0000 (16:45 +0000)]
use request_channels in liba52 decoder

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

16 years agocosmetics: indentation
jbr [Sat, 5 Jan 2008 15:23:39 +0000 (15:23 +0000)]
cosmetics: indentation

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