]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agoPrevent the qdm2 code from overreading/overflowing. Fixes Coverity ID 112 run 2
banan [Sat, 19 Jul 2008 18:53:04 +0000 (18:53 +0000)]
Prevent the qdm2 code from overreading/overflowing. Fixes Coverity ID 112 run 2

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

15 years agoTake the brain amputated spec litteral if the user asks for it (-strict 1)
michael [Sat, 19 Jul 2008 16:16:00 +0000 (16:16 +0000)]
Take the brain amputated spec litteral if the user asks for it (-strict 1)
That is, add 16 frames delay, cache trashing and av desync.
fixes at least the following reference bitstreams:
CABA3_Sony_C.jsv
CACQP3_Sony_D.jsv
CAMANL1_TOSHIBA_B.264
CANL3_Sony_C.jsv
CVBS3_Sony_C.jsv
CVMANL1_TOSHIBA_B.264

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

15 years agoRemove explicit strict_std_compliance support as it seems to work fine over
michael [Sat, 19 Jul 2008 16:01:46 +0000 (16:01 +0000)]
Remove explicit strict_std_compliance support as it seems to work fine over
AVOptions, actually it works even finer as it also gets passed to the
decoder.

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

15 years agoMake strict_std_compliance avaialable to decoders.
michael [Sat, 19 Jul 2008 15:57:06 +0000 (15:57 +0000)]
Make strict_std_compliance avaialable to decoders.

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

15 years agoFix for possible null pointer dereferencing, closes Coverity report 68 run 2.
banan [Sat, 19 Jul 2008 15:48:53 +0000 (15:48 +0000)]
Fix for possible null pointer dereferencing, closes Coverity report 68 run 2.

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

15 years agoCosmetics: alignement
vitor [Sat, 19 Jul 2008 15:43:34 +0000 (15:43 +0000)]
Cosmetics: alignement

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

15 years agoSimplify co(): do not abuse pointer aritmetics
vitor [Sat, 19 Jul 2008 15:41:15 +0000 (15:41 +0000)]
Simplify co(): do not abuse pointer aritmetics

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

15 years agoMake the automatic has_b_frames increasing code increase it up to the
michael [Sat, 19 Jul 2008 15:37:52 +0000 (15:37 +0000)]
Make the automatic has_b_frames increasing code increase it up to the
same maximum that can be achived by specifying the value in the bitstream.

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

15 years agoSimplify co(): remove variables that are only used once
vitor [Sat, 19 Jul 2008 15:32:29 +0000 (15:32 +0000)]
Simplify co(): remove variables that are only used once

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

15 years agoTry to fix my latest 100l fate SVQ3 breakage.
michael [Sat, 19 Jul 2008 12:21:09 +0000 (12:21 +0000)]
Try to fix my latest 100l fate SVQ3 breakage.

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

15 years agoRemove apparently unneeded out!=NULL check.
michael [Sat, 19 Jul 2008 11:57:29 +0000 (11:57 +0000)]
Remove apparently unneeded out!=NULL check.

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

15 years agoSimplify picture output code.
michael [Sat, 19 Jul 2008 11:11:48 +0000 (11:11 +0000)]
Simplify picture output code.

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

15 years agoRemove useless #if 0 code.
michael [Sat, 19 Jul 2008 10:47:25 +0000 (10:47 +0000)]
Remove useless #if 0 code.

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

15 years agoDont forget marking disposed delayed pics as unused.
michael [Sat, 19 Jul 2008 03:33:42 +0000 (03:33 +0000)]
Dont forget marking disposed delayed pics as unused.
Fixes issue335

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

15 years agoadd ogv extension
bcoudurier [Sat, 19 Jul 2008 03:29:16 +0000 (03:29 +0000)]
add ogv extension

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

15 years agocosmetics, remove space
bcoudurier [Sat, 19 Jul 2008 03:27:24 +0000 (03:27 +0000)]
cosmetics, remove space

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

15 years agoupdate swf video frame number when muxing done, fix #439
bcoudurier [Sat, 19 Jul 2008 03:25:50 +0000 (03:25 +0000)]
update swf video frame number when muxing done, fix #439

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

15 years agoindent
michael [Sat, 19 Jul 2008 03:17:44 +0000 (03:17 +0000)]
indent

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

15 years agosimplify
michael [Sat, 19 Jul 2008 03:13:11 +0000 (03:13 +0000)]
simplify

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

15 years agocosmetic: use hex value instead of decimal to show relation to 0x7FFFFF
jbr [Sat, 19 Jul 2008 02:54:54 +0000 (02:54 +0000)]
cosmetic: use hex value instead of decimal to show relation to 0x7FFFFF

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

15 years agoRemove delayed_output_pic, i do not understand what this variable was good for.
michael [Sat, 19 Jul 2008 02:53:57 +0000 (02:53 +0000)]
Remove delayed_output_pic, i do not understand what this variable was good for.
Its simpler and might be faster now.

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

15 years agoDrop out of order pics even if bitstream_restriction_flag is set.
michael [Sat, 19 Jul 2008 02:44:17 +0000 (02:44 +0000)]
Drop out of order pics even if bitstream_restriction_flag is set.

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

15 years agoSet avctx->coded_frame in RoQ encoder. At some point in
vitor [Sat, 19 Jul 2008 02:43:23 +0000 (02:43 +0000)]
Set avctx->coded_frame in RoQ encoder. At some point in
the SVN history this became mandated. Fix issue 548.

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

15 years agoMake the ugly hack which uses an unused entry in the internal buffer
michael [Sat, 19 Jul 2008 00:32:15 +0000 (00:32 +0000)]
Make the ugly hack which uses an unused entry in the internal buffer
array actually use a unused one, so it does work.

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

15 years agoMake ffmpeg -t X with X<=0 transcode nothing.
stefano [Fri, 18 Jul 2008 22:23:29 +0000 (22:23 +0000)]
Make ffmpeg -t X with X<=0 transcode nothing.

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

15 years agominor simplification of qdm2_decode_fft_packets()
michael [Fri, 18 Jul 2008 21:16:59 +0000 (21:16 +0000)]
minor simplification of qdm2_decode_fft_packets()

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

15 years agoMake frames non reference by default, so they are disposed of automatically
michael [Fri, 18 Jul 2008 20:59:17 +0000 (20:59 +0000)]
Make frames non reference by default, so they are disposed of automatically
in MPV_frame_start() if we break out due to an error at a random place.
Fixes issue334

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

15 years agoCorrecting displayed muxing overhead and video stream size.
michael [Fri, 18 Jul 2008 13:52:23 +0000 (13:52 +0000)]
Correcting displayed muxing overhead and video stream size.
Partially fixes issue348.

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

15 years agoSupport reading large metadata.
michael [Fri, 18 Jul 2008 12:03:21 +0000 (12:03 +0000)]
Support reading large metadata.
fixes issue187

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

15 years agoMake bitstream_* fields unsigned.
michael [Fri, 18 Jul 2008 11:39:41 +0000 (11:39 +0000)]
Make bitstream_* fields unsigned.

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

15 years agoOnly realloc() bitstream buffer when the needed size increased,
michael [Fri, 18 Jul 2008 11:38:53 +0000 (11:38 +0000)]
Only realloc() bitstream buffer when the needed size increased,
this is needed to prevent loosing bitstream data with large metadata.

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

15 years agoIf metadata has been parsed goto end instead of trying to
michael [Fri, 18 Jul 2008 11:08:15 +0000 (11:08 +0000)]
If metadata has been parsed goto end instead of trying to
decorrelate and output somehing nonexistng.

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

15 years agoFix a mem leak in vc1_decode_frame().
benoit [Fri, 18 Jul 2008 07:15:50 +0000 (07:15 +0000)]
Fix a mem leak in vc1_decode_frame().
Patch by Erik Hovland erik hovland org

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

15 years agoFix a mem leak in av_find_stream_info().
benoit [Fri, 18 Jul 2008 07:13:56 +0000 (07:13 +0000)]
Fix a mem leak in av_find_stream_info().
Patch by Erik Hovland erik hovland org

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

15 years agointreadwrite: support DEC compiler __unaligned type qualifier
mru [Fri, 18 Jul 2008 01:18:59 +0000 (01:18 +0000)]
intreadwrite: support DEC compiler __unaligned type qualifier

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

15 years agoMPEGTS: Improve probe function
mru [Fri, 18 Jul 2008 01:07:17 +0000 (01:07 +0000)]
MPEGTS: Improve probe function

When a sync byte is found, check that transport_error_indicator is zero,
and adaptation_field_control is valid (non-zero).

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

15 years agocosmetics, remove space
bcoudurier [Fri, 18 Jul 2008 00:24:31 +0000 (00:24 +0000)]
cosmetics, remove space

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

15 years agoreturn max score when ftyp atom is encoutered
bcoudurier [Fri, 18 Jul 2008 00:23:37 +0000 (00:23 +0000)]
return max score when ftyp atom is encoutered

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

15 years agoSimplify: do not overuse pointer aritmetic
vitor [Thu, 17 Jul 2008 23:48:53 +0000 (23:48 +0000)]
Simplify: do not overuse pointer aritmetic

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

15 years agoConst
vitor [Thu, 17 Jul 2008 23:02:52 +0000 (23:02 +0000)]
Const

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

15 years agoAnother simplification
vitor [Thu, 17 Jul 2008 23:01:31 +0000 (23:01 +0000)]
Another simplification

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

15 years agoSimplify
vitor [Thu, 17 Jul 2008 22:59:53 +0000 (22:59 +0000)]
Simplify

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

15 years agoSimplify
vitor [Thu, 17 Jul 2008 22:42:21 +0000 (22:42 +0000)]
Simplify

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

15 years agoDeclare function parameters as const
vitor [Thu, 17 Jul 2008 22:39:29 +0000 (22:39 +0000)]
Declare function parameters as const

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

15 years agoRearrange AV_[RW][BL]*() macros
mru [Thu, 17 Jul 2008 18:42:19 +0000 (18:42 +0000)]
Rearrange AV_[RW][BL]*() macros

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

15 years ago100l, someone used FLT_MIN where -FLT_MAX was meant at a few places in the
michael [Thu, 17 Jul 2008 17:42:44 +0000 (17:42 +0000)]
100l, someone used FLT_MIN where -FLT_MAX was meant at a few places in the
AVOptions array.

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

15 years agoReplace LDLATEFLAGS hackery by proper LDFLAGS tests.
diego [Thu, 17 Jul 2008 16:28:48 +0000 (16:28 +0000)]
Replace LDLATEFLAGS hackery by proper LDFLAGS tests.
The original reasons for LDLATEFLAGS are lost in the mists of time.

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

15 years agoTry to fix FATE after my time_base simplification change.
michael [Thu, 17 Jul 2008 14:13:44 +0000 (14:13 +0000)]
Try to fix FATE after my time_base simplification change.

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

15 years agoMove up swscale_error target so that regression tests error out immediately.
diego [Thu, 17 Jul 2008 09:30:48 +0000 (09:30 +0000)]
Move up swscale_error target so that regression tests error out immediately.

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

15 years agoFree in avcodec_close() avctx->rc_eq. Fix a memory leak.
stefano [Wed, 16 Jul 2008 22:10:34 +0000 (22:10 +0000)]
Free in avcodec_close() avctx->rc_eq. Fix a memory leak.

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

15 years ago10000l, revert
michael [Wed, 16 Jul 2008 17:54:57 +0000 (17:54 +0000)]
10000l, revert
r14254
Log:
The funny memcpyin svq3 generally has src & dst overlapping, so it
should at least be a memmove().
I was tired, they do not overlap.

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

15 years agoindent
michael [Wed, 16 Jul 2008 17:51:24 +0000 (17:51 +0000)]
indent

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

15 years agoSVQ3 uses the JPEG variant of YUV 4:2:0.
michael [Wed, 16 Jul 2008 17:48:47 +0000 (17:48 +0000)]
SVQ3 uses the JPEG variant of YUV 4:2:0.
Fixes issue256

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

15 years agocosmetics: Fix mxf codec long name.
diego [Wed, 16 Jul 2008 17:20:21 +0000 (17:20 +0000)]
cosmetics: Fix mxf codec long name.

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

15 years agoprint AVCodecContext address instead of AVClass, better when multiple instances of...
bcoudurier [Wed, 16 Jul 2008 03:21:23 +0000 (03:21 +0000)]
print AVCodecContext address instead of AVClass, better when multiple instances of same codecs are used, based on r14237

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

15 years agoThe funny memcpyin svq3 generally has src & dst overlapping, so it
michael [Wed, 16 Jul 2008 02:10:21 +0000 (02:10 +0000)]
The funny memcpyin svq3 generally has src & dst overlapping, so it
should at least be a memmove().

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

15 years agoPrint slice num as well.
michael [Wed, 16 Jul 2008 01:57:28 +0000 (01:57 +0000)]
Print slice num as well.

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

15 years agofloat_to_int16_interleave: change src to an array of pointers instead of assuming...
lorenm [Wed, 16 Jul 2008 00:50:12 +0000 (00:50 +0000)]
float_to_int16_interleave: change src to an array of pointers instead of assuming it's contiguous.
this has no immediate effect, but will allow it to be used in more codecs.

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

15 years agovorbis: reduce memory by reusing buffers
lorenm [Tue, 15 Jul 2008 23:04:28 +0000 (23:04 +0000)]
vorbis: reduce memory by reusing buffers

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

15 years agounroll another common case in vorbis_residue_decode
lorenm [Tue, 15 Jul 2008 23:01:15 +0000 (23:01 +0000)]
unroll another common case in vorbis_residue_decode

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

15 years agoOGG: Add padding at end of Vorbis headers
mru [Tue, 15 Jul 2008 23:00:29 +0000 (23:00 +0000)]
OGG: Add padding at end of Vorbis headers

Patch by Siarhei Siamashka <siarhei.siamashka gmail com>

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

15 years agoMove the size of the H264Context delayed_pic array into a #define.
astrange [Tue, 15 Jul 2008 21:30:04 +0000 (21:30 +0000)]
Move the size of the H264Context delayed_pic array into a #define.
This improves readability by getting rid of some magic numbers.

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

15 years agoMake v4l2_read_header() don't free a stream in case of failure when
stefano [Tue, 15 Jul 2008 20:45:42 +0000 (20:45 +0000)]
Make v4l2_read_header() don't free a stream in case of failure when
reading its header. The stream will be freed later in
av_open_input_stream(). Fix a segmentation fault due to a double free
on the same pointer.

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

15 years agoMake v4l_read_header() don't free a stream in case of failure when
stefano [Tue, 15 Jul 2008 20:39:20 +0000 (20:39 +0000)]
Make v4l_read_header() don't free a stream in case of failure when
reading its header. The stream will be freed later in
av_open_input_stream(). Fix a segmentation fault due to a double free
on the same pointer.

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

15 years agoARM: optimised MAC64 and MLS64
mru [Tue, 15 Jul 2008 19:06:32 +0000 (19:06 +0000)]
ARM: optimised MAC64 and MLS64

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

15 years agoARM: optimised MUL64
mru [Tue, 15 Jul 2008 19:06:29 +0000 (19:06 +0000)]
ARM: optimised MUL64

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

15 years agoARM: ARMv6 optimised MULH
mru [Tue, 15 Jul 2008 19:06:25 +0000 (19:06 +0000)]
ARM: ARMv6 optimised MULH

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

15 years agoARM: ARMv6 optimised FASTDIV
mru [Tue, 15 Jul 2008 19:06:18 +0000 (19:06 +0000)]
ARM: ARMv6 optimised FASTDIV

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

15 years agoARM: disable use of system byteswap.h
mru [Tue, 15 Jul 2008 19:06:09 +0000 (19:06 +0000)]
ARM: disable use of system byteswap.h

Our bswap functions are better than those in glibc, which has
no ARM-optimised versions.

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

15 years agoARM: fix ARCH_ARM -> ARCH_ARMV4L test in bswap_32()
mru [Tue, 15 Jul 2008 19:06:03 +0000 (19:06 +0000)]
ARM: fix ARCH_ARM -> ARCH_ARMV4L test in bswap_32()

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

15 years agoARM: ARMv6 optimised bswap_16/32
mru [Tue, 15 Jul 2008 19:05:49 +0000 (19:05 +0000)]
ARM: ARMv6 optimised bswap_16/32

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

15 years agoRemove dead code in bitstream.h
mru [Tue, 15 Jul 2008 18:43:26 +0000 (18:43 +0000)]
Remove dead code in bitstream.h

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

15 years agoPrint the address of the AVCodecContext in av_log().
astrange [Tue, 15 Jul 2008 17:17:35 +0000 (17:17 +0000)]
Print the address of the AVCodecContext in av_log().
This makes debug output much easier to read when the
same codec is open more than once.

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

15 years ago10l, float_to_int16_interleave_sse/3dnow wrote the wrong samples
lorenm [Tue, 15 Jul 2008 04:11:30 +0000 (04:11 +0000)]
10l, float_to_int16_interleave_sse/3dnow wrote the wrong samples

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

15 years agoMake flic probe check a few more things.
michael [Mon, 14 Jul 2008 22:55:07 +0000 (22:55 +0000)]
Make flic probe check a few more things.
fixes issue399

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

15 years agoMove the codec_id overriding at a slightly better place.
michael [Mon, 14 Jul 2008 20:31:17 +0000 (20:31 +0000)]
Move the codec_id overriding at a slightly better place.

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

15 years agoH264: fix index range assert() in remove_short_at_index()
mru [Mon, 14 Jul 2008 19:17:13 +0000 (19:17 +0000)]
H264: fix index range assert() in remove_short_at_index()

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

15 years agoRemove common factors from timebase in av_set_pts_info().
michael [Mon, 14 Jul 2008 19:11:09 +0000 (19:11 +0000)]
Remove common factors from timebase in av_set_pts_info().
Should fix issue313

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

15 years agoFix infinite loop at EOF.
michael [Mon, 14 Jul 2008 16:18:29 +0000 (16:18 +0000)]
Fix infinite loop at EOF.

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

15 years agoRevert r14218. FFMAX is a macro, so
vitor [Mon, 14 Jul 2008 14:41:01 +0000 (14:41 +0000)]
Revert r14218. FFMAX is a macro, so
   sum = FFMAX(1, scalar_product(...));
might calculate the scalar product twice, what is
slower.

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

15 years agoonly animated gif (gifdec.c) was removed)
compn [Mon, 14 Jul 2008 12:08:48 +0000 (12:08 +0000)]
only animated gif (gifdec.c) was removed)

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

15 years agogifdec.c was removed, purge its entry from the Makefile.
diego [Mon, 14 Jul 2008 08:55:07 +0000 (08:55 +0000)]
gifdec.c was removed, purge its entry from the Makefile.

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

15 years agoFix decoding of 320x240.ogg.
michael [Sun, 13 Jul 2008 23:34:29 +0000 (23:34 +0000)]
Fix decoding of 320x240.ogg.

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

15 years ago-itsscale to scale timestamps
michael [Sun, 13 Jul 2008 22:55:52 +0000 (22:55 +0000)]
-itsscale to scale timestamps
fixes issue511

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

15 years agoremoved gif decoder in r14209
compn [Sun, 13 Jul 2008 22:21:25 +0000 (22:21 +0000)]
removed gif decoder in r14209

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

15 years agoDrop silly initialization, fixes compilation with -std=gnu99.
diego [Sun, 13 Jul 2008 21:59:58 +0000 (21:59 +0000)]
Drop silly initialization, fixes compilation with -std=gnu99.

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

15 years agoMake our flac decoder decode all the data at EOF.
michael [Sun, 13 Jul 2008 21:51:29 +0000 (21:51 +0000)]
Make our flac decoder decode all the data at EOF.
Fixes issue524

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

15 years agotools/trasher: Don't mix srand/rand and srandom/random interface.
diego [Sun, 13 Jul 2008 21:44:00 +0000 (21:44 +0000)]
tools/trasher: Don't mix srand/rand and srandom/random interface.
patch by matthieu castet, castet.matthieu free fr

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

15 years agostrdup() the default value for rc_eq in AVCodec when setting it in
stefano [Sun, 13 Jul 2008 21:44:00 +0000 (21:44 +0000)]
strdup() the default value for rc_eq in AVCodec when setting it in
avcodec_get_context_defaults(). The value has to be alloced dinamically
rather than statically since it may be freed for example by
av_set_string2(). Fix a segmentation fault.

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

15 years agoOn EOF keep calling the decoders until they do not output anything
michael [Sun, 13 Jul 2008 21:39:18 +0000 (21:39 +0000)]
On EOF keep calling the decoders until they do not output anything
anymore, instead of just once.

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

15 years agoFix the logic to access the location of a string to free when
stefano [Sun, 13 Jul 2008 21:28:17 +0000 (21:28 +0000)]
Fix the logic to access the location of a string to free when
setting a new value for a string with av_set_string2().
Fix a segmentation fault.
M    opt.c

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

15 years agoSimplify
vitor [Sun, 13 Jul 2008 20:41:09 +0000 (20:41 +0000)]
Simplify

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

15 years agoAnother av_clipf() usage
vitor [Sun, 13 Jul 2008 20:39:55 +0000 (20:39 +0000)]
Another av_clipf() usage

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

15 years agoDo not declare as double a var that only stores a float
vitor [Sun, 13 Jul 2008 20:38:42 +0000 (20:38 +0000)]
Do not declare as double a var that only stores a float

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

15 years agoSimplify: use FFMAX
vitor [Sun, 13 Jul 2008 20:36:32 +0000 (20:36 +0000)]
Simplify: use FFMAX

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

15 years agocheck that csize in ff_lzw_decode_init is < LZW_MAXBITS, <= is not enough and
reimar [Sun, 13 Jul 2008 20:03:57 +0000 (20:03 +0000)]
check that csize in ff_lzw_decode_init is < LZW_MAXBITS, <= is not enough and
might read outside the prefix array

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

15 years agoAdd av_clipf() function to common.h and use it in ra288.c
vitor [Sun, 13 Jul 2008 19:59:44 +0000 (19:59 +0000)]
Add av_clipf() function to common.h and use it in ra288.c

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

15 years agodvdsubdec: allow compilation with -DDEBUG
mru [Sun, 13 Jul 2008 19:41:13 +0000 (19:41 +0000)]
dvdsubdec: allow compilation with -DDEBUG

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

15 years agoRTP: use dprintf(), allow compilation with -DDEBUG
mru [Sun, 13 Jul 2008 19:41:10 +0000 (19:41 +0000)]
RTP: use dprintf(), allow compilation with -DDEBUG

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

15 years agoASF: use dprintf(), allow compilation with -DDEBUG
mru [Sun, 13 Jul 2008 19:41:07 +0000 (19:41 +0000)]
ASF: use dprintf(), allow compilation with -DDEBUG

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