]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agoAdd 420,422 and 444 planar 16bit per component pix formats.
michael [Tue, 21 Apr 2009 01:02:48 +0000 (01:02 +0000)]
Add 420,422 and  444 planar 16bit per component pix formats.

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

15 years agoFix crash when receiving from SDP
lucabe [Mon, 20 Apr 2009 20:06:55 +0000 (20:06 +0000)]
Fix crash when receiving from SDP

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

15 years agoMake rv40 decoder use new static VLC initialization method
kostya [Mon, 20 Apr 2009 17:13:21 +0000 (17:13 +0000)]
Make rv40 decoder use new static VLC initialization method

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

15 years agoCompact and make constant two tables used by Musepack decoders
kostya [Mon, 20 Apr 2009 15:36:27 +0000 (15:36 +0000)]
Compact and make constant two tables used by Musepack decoders

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

15 years agoRemove example programs with a wildcard expression.
diego [Mon, 20 Apr 2009 11:14:19 +0000 (11:14 +0000)]
Remove example programs with a wildcard expression.

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

15 years agoac3enc: log a warning message if the channel layout is not specified at
jbr [Mon, 20 Apr 2009 00:34:08 +0000 (00:34 +0000)]
ac3enc: log a warning message if the channel layout is not specified at
the time of codec initialization.

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

15 years agoindent
michael [Sun, 19 Apr 2009 21:44:25 +0000 (21:44 +0000)]
indent

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

15 years agoOnly insert null packets into the video que if there is a video stream.
michael [Sun, 19 Apr 2009 21:44:03 +0000 (21:44 +0000)]
Only insert null packets into the video que if there is a video stream.
Fixes memleak and should fix issue791.

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

15 years agoAdd zygo fourcc.
michael [Sun, 19 Apr 2009 21:24:36 +0000 (21:24 +0000)]
Add zygo fourcc.

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

15 years agoIndent
michael [Sun, 19 Apr 2009 20:41:26 +0000 (20:41 +0000)]
Indent

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

15 years agoDo not discard truncated packets.
michael [Sun, 19 Apr 2009 20:40:56 +0000 (20:40 +0000)]
Do not discard truncated packets.
Based on a patch by Maksym Veremeyenko verem DOT m1stereo AT tv

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

15 years agoAvoid 100% CPU useage at EOF.
michael [Sun, 19 Apr 2009 20:25:20 +0000 (20:25 +0000)]
Avoid 100% CPU useage at EOF.

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

15 years agoMake sure that video frames are flushed at EOF.
michael [Sun, 19 Apr 2009 20:24:44 +0000 (20:24 +0000)]
Make sure that video frames are flushed at EOF.
This should fix a regression.

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

15 years agoAdd channel layout support to the AC-3 encoder.
jbr [Sun, 19 Apr 2009 15:06:13 +0000 (15:06 +0000)]
Add channel layout support to the AC-3 encoder.

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

15 years agoAdd channel layout support to the AC-3 decoder and AC-3 parser.
jbr [Sun, 19 Apr 2009 15:05:32 +0000 (15:05 +0000)]
Add channel layout support to the AC-3 decoder and AC-3 parser.

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

15 years agoCheck that channel layout is compatible with number of channels for
jbr [Sun, 19 Apr 2009 14:05:55 +0000 (14:05 +0000)]
Check that channel layout is compatible with number of channels for
output audio stream.

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

15 years agoMark gsize variable as av_unused, fixes the warning:
diego [Sun, 19 Apr 2009 13:29:11 +0000 (13:29 +0000)]
Mark gsize variable as av_unused, fixes the warning:
libavformat/asfdec.c:995: warning: unused variable ‘gsize’

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

15 years agoRevert previous removal of gsize variable. It breaks seeking.
diego [Sun, 19 Apr 2009 11:40:03 +0000 (11:40 +0000)]
Revert previous removal of gsize variable. It breaks seeking.

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

15 years agoRemove unnecessary assignment, found by CSA.
superdump [Sun, 19 Apr 2009 00:55:46 +0000 (00:55 +0000)]
Remove unnecessary assignment, found by CSA.

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

15 years agoAdd LP zero synthesis filter. Patch by Kenan Gillet.
reynaldo [Sat, 18 Apr 2009 22:53:37 +0000 (22:53 +0000)]
Add LP zero synthesis filter. Patch by Kenan Gillet.

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

15 years agomlpdec: Read context variable to local variable to make code cleaner.
ramiro [Sat, 18 Apr 2009 20:23:13 +0000 (20:23 +0000)]
mlpdec: Read context variable to local variable to make code cleaner.

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

15 years agomlpdec: {}- and whitespace-related cosmetics.
ramiro [Sat, 18 Apr 2009 19:52:52 +0000 (19:52 +0000)]
mlpdec: {}- and whitespace-related cosmetics.

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

15 years agomlpdec: Use some context arrays with local variables in rematrix_channels().
ramiro [Sat, 18 Apr 2009 19:46:41 +0000 (19:46 +0000)]
mlpdec: Use some context arrays with local variables in rematrix_channels().

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

15 years agotruehd: Simplify rematrix_channels() as per Michael's original review.
ramiro [Sat, 18 Apr 2009 19:39:07 +0000 (19:39 +0000)]
truehd: Simplify rematrix_channels() as per Michael's original review.

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

15 years agomlpdec: Make read_matrix_params() take unsigned int substr for consistency.
ramiro [Sat, 18 Apr 2009 18:54:30 +0000 (18:54 +0000)]
mlpdec: Make read_matrix_params() take unsigned int substr for consistency.

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

15 years agomlpdec: Check for {matrix,filter}_changed as soon as they are incremented.
ramiro [Sat, 18 Apr 2009 18:51:43 +0000 (18:51 +0000)]
mlpdec: Check for {matrix,filter}_changed as soon as they are incremented.

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

15 years agoAdd 3 channel layout convenience macros.
jbr [Sat, 18 Apr 2009 18:51:01 +0000 (18:51 +0000)]
Add 3 channel layout convenience macros.

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

15 years agoAvoid code duplication in xan_unpack for the final memcpy.
reimar [Sat, 18 Apr 2009 17:26:00 +0000 (17:26 +0000)]
Avoid code duplication in xan_unpack for the final memcpy.

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

15 years agoRemove unused variable gsize, fixes the warning:
diego [Sat, 18 Apr 2009 15:01:20 +0000 (15:01 +0000)]
Remove unused variable gsize, fixes the warning:
libavformat/asfdec.c:995: warning: unused variable 'gsize'

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

15 years agoPPC: check for x-form asm constraint support
mru [Sat, 18 Apr 2009 13:57:30 +0000 (13:57 +0000)]
PPC: check for x-form asm constraint support

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

15 years agoCosmetics : reindent after last commit and remove redundant comment.
jai_menon [Sat, 18 Apr 2009 08:35:46 +0000 (08:35 +0000)]
Cosmetics : reindent after last commit and remove redundant comment.

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

15 years agoAdd speex tag to nsv_codec_audio_tags.
jai_menon [Sat, 18 Apr 2009 08:34:15 +0000 (08:34 +0000)]
Add speex tag to nsv_codec_audio_tags.

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

15 years agoChange nsvf_index_data to nsvs_file_offset for increased clarity.
jai_menon [Sat, 18 Apr 2009 05:54:47 +0000 (05:54 +0000)]
Change nsvf_index_data to nsvs_file_offset for increased clarity.

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

15 years agoPPC asm for AV_RL*()
mru [Sat, 18 Apr 2009 00:00:31 +0000 (00:00 +0000)]
PPC asm for AV_RL*()

PPC is normally big endian but has special little endian load/store
instructions.  Using these avoids a separate byteswap.  This makes the
vorbis decoder about 5% faster.  Not much else uses little-endian
read/write extensively.

GCC generates horrible PPC code for the default AV_[RW]B64 (which uses
a packed struct), so we override it with a plain pointer cast.

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

15 years agoARM asm for AV_RN*()
mru [Sat, 18 Apr 2009 00:00:28 +0000 (00:00 +0000)]
ARM asm for AV_RN*()

ARMv6 and later support unaligned loads and stores for single
word/halfword but not double/multiple.  GCC is ignorant of this and
will always use bytewise accesses for unaligned data.  Casting to an
int32_t pointer is dangerous since a load/store double or multiple
instruction might be used (this happens with some code in FFmpeg).
Implementing the AV_[RW]* macros with inline asm using only supported
instructions gives fast and safe unaligned accesses.  ARM RVCT does
the right thing with generic code.

This gives an overall speedup of up to 10%.

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

15 years agoReorganise intreadwrite.h
mru [Sat, 18 Apr 2009 00:00:22 +0000 (00:00 +0000)]
Reorganise intreadwrite.h

This changes intreadwrite.h to support per-arch implementations of the
various macros allowing us to take advantage of special instructions
or other properties the compiler does not know about.

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

15 years agoUse sign_extend function instead of reimplementing it.
reimar [Fri, 17 Apr 2009 20:05:27 +0000 (20:05 +0000)]
Use sign_extend function instead of reimplementing it.

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

15 years agoRemove a useless "& 0xF"
reimar [Fri, 17 Apr 2009 20:01:45 +0000 (20:01 +0000)]
Remove a useless "& 0xF"

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

15 years agoUse / and % operators instead of reimplementing them with a loop.
reimar [Fri, 17 Apr 2009 19:56:50 +0000 (19:56 +0000)]
Use / and % operators instead of reimplementing them with a loop.

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

15 years agoChange buffer check to avoid an unlikely pointer arithmetic overflow.
reimar [Fri, 17 Apr 2009 19:49:55 +0000 (19:49 +0000)]
Change buffer check to avoid an unlikely pointer arithmetic overflow.

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

15 years agoSimplify xan_huffman_decode by using get_bits
reimar [Fri, 17 Apr 2009 19:48:54 +0000 (19:48 +0000)]
Simplify xan_huffman_decode by using get_bits

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

15 years agoFix indention, patch by Lars Täuber.
michael [Fri, 17 Apr 2009 19:29:54 +0000 (19:29 +0000)]
Fix indention, patch by Lars Täuber.

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

15 years agoSimplify ipvideo_decode_opcodes by using get_bits, this might be slower
reimar [Fri, 17 Apr 2009 19:28:36 +0000 (19:28 +0000)]
Simplify ipvideo_decode_opcodes by using get_bits, this might be slower
but is not performance-critical anyway.

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

15 years agoRemove unused code_counts array from interplavideo.c.
reimar [Fri, 17 Apr 2009 19:21:50 +0000 (19:21 +0000)]
Remove unused code_counts array from interplavideo.c.

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

15 years agoIntroduce codec id for MPEG-4 ALS and associate it with corresponding
jai_menon [Fri, 17 Apr 2009 19:17:14 +0000 (19:17 +0000)]
Introduce codec id for MPEG-4 ALS and associate it with corresponding
AudioObjectType. Also bump libavcodec minor version.

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

15 years agoCosmetics to improve xan_unpack readability
reimar [Fri, 17 Apr 2009 19:14:11 +0000 (19:14 +0000)]
Cosmetics to improve xan_unpack readability

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

15 years agoFix buffer size check for xan_unpack which was broken by r18586
reimar [Fri, 17 Apr 2009 19:07:16 +0000 (19:07 +0000)]
Fix buffer size check for xan_unpack which was broken by r18586

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

15 years agoSome more simplifications of xan_unpack
reimar [Fri, 17 Apr 2009 19:03:43 +0000 (19:03 +0000)]
Some more simplifications of xan_unpack

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

15 years agoReindent xan_unpack code
reimar [Fri, 17 Apr 2009 18:56:47 +0000 (18:56 +0000)]
Reindent xan_unpack code

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

15 years agoAvoid some code duplication in xan_unpack
reimar [Fri, 17 Apr 2009 18:54:17 +0000 (18:54 +0000)]
Avoid some code duplication in xan_unpack

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

15 years agoRemove useless assignments, at least one found by CSA.
michael [Fri, 17 Apr 2009 18:28:59 +0000 (18:28 +0000)]
Remove useless assignments, at least one found by CSA.

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

15 years agoIncrease buffer padding to avoid most space checks in xan_unpack
reimar [Fri, 17 Apr 2009 18:26:24 +0000 (18:26 +0000)]
Increase buffer padding to avoid most space checks in xan_unpack

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

15 years agoRemove useless init from ff_mpeg4_set_direct_mv() found by CSA.
michael [Fri, 17 Apr 2009 18:24:39 +0000 (18:24 +0000)]
Remove useless init from ff_mpeg4_set_direct_mv() found by CSA.

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

15 years agoRemove a useless assignment in img_get_alpha_info() found by CSA.
michael [Fri, 17 Apr 2009 18:22:19 +0000 (18:22 +0000)]
Remove a useless assignment in img_get_alpha_info() found by CSA.

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

15 years agoRemove redundant assignment in av_picture_copy() found by CSA.
michael [Fri, 17 Apr 2009 18:20:12 +0000 (18:20 +0000)]
Remove redundant assignment in av_picture_copy() found by CSA.

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

15 years agoRemove useless init from aiff_read_header() found by CSA.
michael [Fri, 17 Apr 2009 18:18:29 +0000 (18:18 +0000)]
Remove useless init from aiff_read_header() found by CSA.

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

15 years agoRemove several useless writes to variables, found by CSA.
michael [Fri, 17 Apr 2009 18:16:36 +0000 (18:16 +0000)]
Remove several useless writes to variables, found by CSA.

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

15 years agoRemove useless += from ff_imdct_half_c() found by CSA.
michael [Fri, 17 Apr 2009 18:12:00 +0000 (18:12 +0000)]
Remove useless += from ff_imdct_half_c() found by CSA.

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

15 years agoRemove 2 ++ from check_pes() that are useless, found by CSA.
michael [Fri, 17 Apr 2009 18:08:39 +0000 (18:08 +0000)]
Remove 2 ++ from check_pes() that are useless, found by CSA.

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

15 years agoChange buffer size checks to avoid the very unlikely overflow case.
reimar [Fri, 17 Apr 2009 18:03:00 +0000 (18:03 +0000)]
Change buffer size checks to avoid the very unlikely overflow case.

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

15 years agoRemove unused variable from h261_encode_block() found by CSA.
michael [Fri, 17 Apr 2009 17:56:16 +0000 (17:56 +0000)]
Remove unused variable from h261_encode_block() found by CSA.

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

15 years agoRemove a pointless right-shift in xan decoder.
reimar [Fri, 17 Apr 2009 17:54:55 +0000 (17:54 +0000)]
Remove a pointless right-shift in xan decoder.

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

15 years agoRemove 2 useless assignments from ff_rate_control_init() found by CSA.
michael [Fri, 17 Apr 2009 17:52:58 +0000 (17:52 +0000)]
Remove 2 useless assignments from ff_rate_control_init() found by CSA.

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

15 years agoReplace bytecopy with the equivalent but faster av_memcpy_backptr.
reimar [Fri, 17 Apr 2009 17:46:10 +0000 (17:46 +0000)]
Replace bytecopy with the equivalent but faster av_memcpy_backptr.
Ca. 10% faster xan_unpack on x86_64 decoding of SC_32-part.MVE

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

15 years agoRemove unused variable from flv_read_metabody() found by CSA.
michael [Fri, 17 Apr 2009 17:42:41 +0000 (17:42 +0000)]
Remove unused variable from flv_read_metabody() found by CSA.

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

15 years agoRemove unused variable from slice_buffer_release() found by CSA.
michael [Fri, 17 Apr 2009 17:39:09 +0000 (17:39 +0000)]
Remove unused variable from slice_buffer_release() found by CSA.

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

15 years agoUse memcpy instead of the very inefficient bytecopy where both are correct
reimar [Fri, 17 Apr 2009 17:20:48 +0000 (17:20 +0000)]
Use memcpy instead of the very inefficient bytecopy where both are correct
(i.e. no overlap of src and dst is possible).

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

15 years agoRemove unused variable from wma_decode_block() found by CSA.
michael [Fri, 17 Apr 2009 15:35:32 +0000 (15:35 +0000)]
Remove unused variable from wma_decode_block() found by CSA.

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

15 years agoRemove unneeded assignment from av_encode() found by CSA.
michael [Fri, 17 Apr 2009 15:33:45 +0000 (15:33 +0000)]
Remove unneeded assignment from av_encode() found by CSA.

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

15 years agoRemove unused variable from print_report() found by CSA.
michael [Fri, 17 Apr 2009 15:15:25 +0000 (15:15 +0000)]
Remove unused variable from print_report() found by CSA.

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

15 years agoRemove nonsensical assignment from asf_read_seek() found by CSA.
michael [Fri, 17 Apr 2009 15:13:01 +0000 (15:13 +0000)]
Remove nonsensical assignment from asf_read_seek() found by CSA.

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

15 years agoRemove redundant assignment from avcodec_get_pix_fmt_loss() found by CSA.
michael [Fri, 17 Apr 2009 15:10:37 +0000 (15:10 +0000)]
Remove redundant assignment from avcodec_get_pix_fmt_loss() found by CSA.

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

15 years agoRemove unused variable in modify_qscale() found by CSA.
michael [Fri, 17 Apr 2009 15:08:00 +0000 (15:08 +0000)]
Remove unused variable in modify_qscale() found by CSA.

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

15 years agoRemove unneeded assignment in ffmpeg.c found by CSA.
michael [Fri, 17 Apr 2009 15:03:51 +0000 (15:03 +0000)]
Remove unneeded assignment in ffmpeg.c found by CSA.

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

15 years agoRemove unused variables from slice_buffer_load_line() found by CSA.
michael [Fri, 17 Apr 2009 15:01:58 +0000 (15:01 +0000)]
Remove unused variables from slice_buffer_load_line() found by CSA.

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

15 years agoRemove 2 unneeded variables from common_init() found by CSA.
michael [Fri, 17 Apr 2009 14:59:04 +0000 (14:59 +0000)]
Remove 2 unneeded variables from common_init() found by CSA.

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

15 years agoRemove 2 unused variables from MPV_decode_mb_internal() found by CSA.
michael [Fri, 17 Apr 2009 14:51:00 +0000 (14:51 +0000)]
Remove 2 unused variables from MPV_decode_mb_internal() found by CSA.

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

15 years agoRemove unused assignment from j_rev_dct() found by CSA.
michael [Fri, 17 Apr 2009 14:43:28 +0000 (14:43 +0000)]
Remove unused assignment from j_rev_dct() found by CSA.

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

15 years agoRemove unused variable in init_mv_penalty_and_fcode() found by CSA.
michael [Fri, 17 Apr 2009 14:42:02 +0000 (14:42 +0000)]
Remove unused variable in init_mv_penalty_and_fcode() found by CSA.

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

15 years agoMove declarations in sync() closer to where they are used.
michael [Fri, 17 Apr 2009 14:38:52 +0000 (14:38 +0000)]
Move declarations in sync() closer to where they are used.

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

15 years agoRemove unused variable from asf_read_header() found by CSA.
michael [Fri, 17 Apr 2009 14:16:37 +0000 (14:16 +0000)]
Remove unused variable from asf_read_header() found by CSA.

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

15 years agocosmetics: reindent after last commit
kostya [Fri, 17 Apr 2009 14:10:24 +0000 (14:10 +0000)]
cosmetics: reindent after last commit

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

15 years agoUse new static VLC scheme in Indeo2, Musepack and WNV1 decoders
kostya [Fri, 17 Apr 2009 14:09:56 +0000 (14:09 +0000)]
Use new static VLC scheme in Indeo2, Musepack and WNV1 decoders

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

15 years agoChange another AVERROR(EIO) inot AVERROR_EOF, because it really signals EOF,
rbultje [Fri, 17 Apr 2009 14:05:57 +0000 (14:05 +0000)]
Change another AVERROR(EIO) inot AVERROR_EOF, because it really signals EOF,
not a stream error. This also fixes an infinite loop on EOS during ASF file
playback, and Michael claims he "likes the patch" (ref: [PATCH] RTSP-MS
15/15: move packet_time_start zero value assignment in asf.c" mailinglist
tread).

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

15 years agoRemvoe useless assignment found by CSA.
michael [Fri, 17 Apr 2009 13:59:07 +0000 (13:59 +0000)]
Remvoe useless assignment found by CSA.

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

15 years agoRemove unused variable from decode_init() found by CSA.
michael [Fri, 17 Apr 2009 13:57:22 +0000 (13:57 +0000)]
Remove unused variable from decode_init() found by CSA.

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

15 years agoRemove useless assignement in generate_codebook(). Found by Clang static
vitor [Fri, 17 Apr 2009 13:07:18 +0000 (13:07 +0000)]
Remove useless assignement in generate_codebook(). Found by Clang static
analyser.

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

15 years agoRemove unused variables from ff_mjpeg_decode_sos() found by CSA.
michael [Fri, 17 Apr 2009 13:03:56 +0000 (13:03 +0000)]
Remove unused variables from ff_mjpeg_decode_sos() found by CSA.

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

15 years agoRemove uselss assignment from h263_pred_dc() found by the clang static analyzer.
michael [Fri, 17 Apr 2009 12:57:47 +0000 (12:57 +0000)]
Remove uselss assignment from h263_pred_dc() found by the clang static analyzer.

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

15 years agoMove declarations in mpeg1_encode_motion() closer to where they are needed.
michael [Fri, 17 Apr 2009 12:53:11 +0000 (12:53 +0000)]
Move declarations in mpeg1_encode_motion() closer to where they are needed.

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

15 years agoUseless assignment found by the clang static analyzer.
michael [Fri, 17 Apr 2009 12:44:48 +0000 (12:44 +0000)]
Useless assignment found by the clang static analyzer.

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

15 years agoGet rid of an unused variable, found by the clang static analyzer.
michael [Fri, 17 Apr 2009 12:41:37 +0000 (12:41 +0000)]
Get rid of an unused variable, found by the clang static analyzer.

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

15 years agoMoving variable declarations in asf_build_simple_index() to clarify&prettify code.
michael [Fri, 17 Apr 2009 12:37:39 +0000 (12:37 +0000)]
Moving variable declarations in asf_build_simple_index() to clarify&prettify code.

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

15 years agoac3dec: reorder output channels to SMPTE channel order
jbr [Fri, 17 Apr 2009 08:43:04 +0000 (08:43 +0000)]
ac3dec: reorder output channels to SMPTE channel order

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

15 years agoChange tgq_decode_mb function arguments from using int8_t to uint8_t, this does
reimar [Fri, 17 Apr 2009 08:42:08 +0000 (08:42 +0000)]
Change tgq_decode_mb function arguments from using int8_t to uint8_t, this does
not really change the code (x86_64/gcc-4.3.3 results stay unchanged) but avoids
several casts and an aliasing violation that broke decoding at least on
PPC64/gcc-4.1.2.

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

15 years agoac3enc: reorder input channels to AC-3 channel order
jbr [Fri, 17 Apr 2009 08:39:11 +0000 (08:39 +0000)]
ac3enc: reorder input channels to AC-3 channel order

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

15 years agoAdd my public key fingerprint to MAINTAINERS.
jai_menon [Thu, 16 Apr 2009 16:54:35 +0000 (16:54 +0000)]
Add my public key fingerprint to MAINTAINERS.

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

15 years agoRemove unused audio_pts field from ea demuxer struct
reimar [Thu, 16 Apr 2009 12:46:06 +0000 (12:46 +0000)]
Remove unused audio_pts field from ea demuxer struct

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

15 years agoRemove unused code from Westwood VQA/AUD demuxer.
reimar [Thu, 16 Apr 2009 12:39:14 +0000 (12:39 +0000)]
Remove unused code from Westwood VQA/AUD demuxer.

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

15 years agoDo not add -fno-common to CFLAGS on DOS, it is unneeded.
diego [Thu, 16 Apr 2009 10:34:14 +0000 (10:34 +0000)]
Do not add -fno-common to CFLAGS on DOS, it is unneeded.

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