]>
rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
ramiro [Fri, 10 Jul 2009 00:16:20 +0000 (00:16 +0000)]
cygwin documentation: diffutils is part of the Utils packages.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19393
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
alexc [Thu, 9 Jul 2009 17:35:56 +0000 (17:35 +0000)]
Add myself as AAC encoder maintainer
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19392
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
alexc [Thu, 9 Jul 2009 17:22:59 +0000 (17:22 +0000)]
Change fminf/fmaxf to FFMIN/FFMAX to fix the build on broken operating systems.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19391
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
mru [Thu, 9 Jul 2009 10:16:00 +0000 (10:16 +0000)]
Fix declarations of complex numbers
Complex numbers must be declared using a base type of float, double,
or long double.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19390
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Thu, 9 Jul 2009 07:29:03 +0000 (07:29 +0000)]
Rename function to sha1_transform so it won't be confused with SHA-2 transform
when it's added.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19389
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Thu, 9 Jul 2009 07:23:43 +0000 (07:23 +0000)]
Use pointer to hash transform function to make adding SHA-2 support easier.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19388
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Thu, 9 Jul 2009 07:15:30 +0000 (07:15 +0000)]
cosmetics: vertical align AVSHA1 members
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19387
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Thu, 9 Jul 2009 07:14:07 +0000 (07:14 +0000)]
Extend AVSHA1 so it can be used in future SHA-2 code as well
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19386
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Thu, 9 Jul 2009 07:07:01 +0000 (07:07 +0000)]
Document SHA-1 functions and structures
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19385
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
ramiro [Thu, 9 Jul 2009 02:20:29 +0000 (02:20 +0000)]
Move DECLARE_ALIGNED and DECLARE_ASM_CONST back from lavu/internal.h to
lavu/mem.h.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19384
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
ramiro [Thu, 9 Jul 2009 02:18:29 +0000 (02:18 +0000)]
Do not throw compiler error if asm code needs alignment, but we do not know
how to do it for this compiler. This removes a dependency of config.h on the
DECLARE_* macros.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19383
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
alexc [Wed, 8 Jul 2009 23:14:47 +0000 (23:14 +0000)]
Reindent after last commit
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19382
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
alexc [Wed, 8 Jul 2009 23:12:53 +0000 (23:12 +0000)]
Prevent AAC frame size overflows.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19381
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
alexc [Wed, 8 Jul 2009 23:10:13 +0000 (23:10 +0000)]
Refactor windowing and early psy from bitstream writing parts of the AAC encoder.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19380
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
alexc [Wed, 8 Jul 2009 23:04:22 +0000 (23:04 +0000)]
Turn on AAC rate control.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19379
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Wed, 8 Jul 2009 21:36:33 +0000 (21:36 +0000)]
cosmetics: Remove unnecessary {} around if/for blocks;
move statements after if/for to the next line.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19378
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Wed, 8 Jul 2009 21:16:06 +0000 (21:16 +0000)]
cosmetics: prettyprinting, K&R style, break overly long lines
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19377
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
alexc [Wed, 8 Jul 2009 20:36:45 +0000 (20:36 +0000)]
Cosmetics: Pretty print the AAC encoder.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19376
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
alexc [Wed, 8 Jul 2009 20:01:31 +0000 (20:01 +0000)]
Merge the AAC encoder from SoC svn. It is still considered experimental.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19375
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Wed, 8 Jul 2009 19:39:23 +0000 (19:39 +0000)]
Add extra validation checks to ff_vorbis_len2vlc.
They should not be necessary, but it seems like a reasonable precaution.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19374
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Wed, 8 Jul 2009 19:31:04 +0000 (19:31 +0000)]
Make sure that values generated for ff_vorbis_len2vlc in
vorbis_parse_setup_hdr_codebooks are in the valid range (<=32).
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19373
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
cehoyos [Wed, 8 Jul 2009 14:58:16 +0000 (14:58 +0000)]
Add PIX_FMT_ARGB encoding to qtrle.
Patch by Alexis Ballier, alexis ballier gmail
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19372
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
benoit [Wed, 8 Jul 2009 08:52:56 +0000 (08:52 +0000)]
Add block_align to sox input.
Patch by Phil Rutschman: name.surname modsystems com
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19371
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
benoit [Wed, 8 Jul 2009 08:26:57 +0000 (08:26 +0000)]
Fix mem leak when user preallocates an AVFormatContext, passes it to
av_open_input_file(), but the file does not exist.
Patch by Art Clarke a$(surname) xuggle com
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19370
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Tue, 7 Jul 2009 22:00:13 +0000 (22:00 +0000)]
Baptiste will maintain qt-faststart from now on.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19369
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Tue, 7 Jul 2009 21:39:49 +0000 (21:39 +0000)]
Mention removal of libamr support in the changelog.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19368
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Tue, 7 Jul 2009 09:33:53 +0000 (09:33 +0000)]
whitespace cosmetics: Realign colums after last commit.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19367
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Tue, 7 Jul 2009 09:33:08 +0000 (09:33 +0000)]
Check for CONFIG_LIBFOO_DECODER/CONFIG_LIBFOO_ENCODER instead of just
CONFIG_LIBFOO in the external libraries section.
This is more consistent with the rest of the Makefiles, it makes clearer what
is actually implemented and should be advantageous if we implement an external
library encoder where we previously just had the decoder and vice versa.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19366
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Tue, 7 Jul 2009 00:28:16 +0000 (00:28 +0000)]
Remove support for nonfree libamr library for AMR-NB/WB decoding/encoding.
libopencore can now be used as a replacement except for AMR-WB encoding.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19365
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
aurel [Mon, 6 Jul 2009 21:54:37 +0000 (21:54 +0000)]
flvdec: expose metadata through the generic metadata API
original patch from Art Clarke aclarke _at_ xuggle _dot_ com
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19364
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
aurel [Mon, 6 Jul 2009 21:49:33 +0000 (21:49 +0000)]
flvdec: re-enable metadata parsing
duration and videodatarate values are actually useful
original patch from Art Clarke aclarke _at_ xuggle _dot_ com
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19363
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
aurel [Mon, 6 Jul 2009 21:46:37 +0000 (21:46 +0000)]
flvdec: don't set format and codec context from metadata values
This has proven to be useless and even harmfull since r18460 (expect
for duration and videodatarate).
original patch from Art Clarke aclarke _at_ xuggle _dot_ com
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19362
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Mon, 6 Jul 2009 17:08:32 +0000 (17:08 +0000)]
Check for packet_lenght 0, it is already treated as invalid by the padding check,
but that resulted in a confusing/wrong error message.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19361
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Mon, 6 Jul 2009 16:49:36 +0000 (16:49 +0000)]
Change av_free to av_freep
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19360
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Mon, 6 Jul 2009 16:48:23 +0000 (16:48 +0000)]
Reallocate internal buffer when coded frame size changes.
Fixes out-of-bounds reads and writes with i32/smclocki32.avi.1.0 from issue 1240.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19359
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Mon, 6 Jul 2009 16:45:12 +0000 (16:45 +0000)]
Change iv_decode_frame to get AVCodecContext as argument, so that
avcodec_check_dimensions can be called with a proper context instead of NULL.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19358
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Mon, 6 Jul 2009 10:28:58 +0000 (10:28 +0000)]
Remove useless ret variable added in last revision again.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19357
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Mon, 6 Jul 2009 09:35:00 +0000 (09:35 +0000)]
100l, theora_decode_init must pass on errors from vp3_decode_init
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19356
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Mon, 6 Jul 2009 09:22:39 +0000 (09:22 +0000)]
Make decode_init fail if the huffman tables are invalid and thus init_vlc fails.
Otherwise this will crash during decoding because the vlc tables are NULL.
Partially fixes ogv/smclock.ogv.1.101.ogv from issue 1240.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19355
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Mon, 6 Jul 2009 05:36:14 +0000 (05:36 +0000)]
Do not fail if 'uuid' atom is encountered before 'moov'.
Patch by Frank Barchard, fbarchard at google dot com.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19354
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Mon, 6 Jul 2009 05:22:50 +0000 (05:22 +0000)]
libfaac no longer claims to be LGPL.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19353
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sun, 5 Jul 2009 18:27:39 +0000 (18:27 +0000)]
Ensure that the filter limit values do not exceed the maximum allowed value of 127.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19351
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sun, 5 Jul 2009 18:25:58 +0000 (18:25 +0000)]
Extend init_loop_filter to work for filter limit values up to 127 instead
of only up to 64. 127 is the maximum value allowed by the theora specification.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19350
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sun, 5 Jul 2009 16:01:51 +0000 (16:01 +0000)]
Add a check to vp6_parse_coeff_huffman to ensure it does not overread the input buffer.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19349
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
aurel [Sun, 5 Jul 2009 15:23:42 +0000 (15:23 +0000)]
vp56dec: ensure range coder won't read past the end of input buffer
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19348
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sun, 5 Jul 2009 12:14:05 +0000 (12:14 +0000)]
Check that palctrl is available on init instead of crashing when trying to use
it on decode.
Fixes mpeg2/smclockmpeg2.avi.2.1 from issue 1240.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19347
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
lorenm [Sat, 4 Jul 2009 23:59:10 +0000 (23:59 +0000)]
fix a buffer overrun on corrupt huffyuv streams
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19346
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
conrad [Sat, 4 Jul 2009 20:41:11 +0000 (20:41 +0000)]
ARM: NEON VP3 IDCT
15% faster VP3/Theora, 10% faster VP6
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19345
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sat, 4 Jul 2009 18:24:43 +0000 (18:24 +0000)]
If the end of the input buffer is reached while decoding MJPEG and at least
a valid SOF was found, emulate an EOI.
This allows e.g. to at least decode the available part of incomplete MJPEG frames.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19344
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sat, 4 Jul 2009 18:22:33 +0000 (18:22 +0000)]
Make the MJPEG decoder return -1 when no image was decoded so that decode
errors are actually recognizable as such.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19343
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sat, 4 Jul 2009 18:20:35 +0000 (18:20 +0000)]
Add a got_picture flag to MJpegDecodeContext which indicates if its picture
element is valid. Skip the code handling SOS and EOI if not, since it can not
work without a valid AVPicture.
This fixes a crash with mjpeg/smclockmjpeg.avi.1.0 from issue 1240 where the
decoder returned an invalid AVPicture.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19342
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Sat, 4 Jul 2009 12:54:36 +0000 (12:54 +0000)]
mjpegdec: check that the coded dc_index and ac_index have a valid associated VLC table.
Removes some disabled dc_index/ac_index checking code that seems to have had
some undocumented issues and should not really be necessary anymore now.
Fixes from issue 1240 the files mjpeg/smclockmjpeg.avi.1.10 and mjpeg/smclockmjpeg.avi.1.171.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19341
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
cehoyos [Sat, 4 Jul 2009 08:18:03 +0000 (08:18 +0000)]
Use enum CodecID instead of int.
Fixes the following icc warning:
warning #188: enumerated type mixed with another type
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19340
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Sat, 4 Jul 2009 08:02:01 +0000 (08:02 +0000)]
fix and simplify long gop mpeg codec ul computation
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19339
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Sat, 4 Jul 2009 07:56:58 +0000 (07:56 +0000)]
set index duration to 0 for cbr, specifying whole container coverage
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19338
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Sat, 4 Jul 2009 07:52:28 +0000 (07:52 +0000)]
use ber4 length for descriptors preferred by specs
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19337
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Sat, 4 Jul 2009 07:49:12 +0000 (07:49 +0000)]
write profile and level local tag in mpeg descriptor
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19336
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
astrange [Sat, 4 Jul 2009 07:46:58 +0000 (07:46 +0000)]
H.264: Check the return value of decode_vui_parameters()
Files with invalid VUI are now rejected like
other invalid SPS are.
Fixes issue1231.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19335
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Fri, 3 Jul 2009 11:31:09 +0000 (11:31 +0000)]
Replace invalid Theora frame rate by 25 FPS.
Avoids division by 0 due to e.g. time_base denominator being 0.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19334
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Fri, 3 Jul 2009 11:27:52 +0000 (11:27 +0000)]
Check for failed extradata malloc, fixes a crash in out-of-memory conditions
or with extremely large extradata.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19333
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Fri, 3 Jul 2009 11:26:14 +0000 (11:26 +0000)]
Check size of "strf" header against size of enclosing "LIST" if there is one.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19332
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Fri, 3 Jul 2009 11:18:56 +0000 (11:18 +0000)]
Fix indentation
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19331
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Fri, 3 Jul 2009 11:18:07 +0000 (11:18 +0000)]
Avoid divisions by 0 in the ASF demuxer if packet_size is not valid.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19330
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
astrange [Fri, 3 Jul 2009 05:52:00 +0000 (05:52 +0000)]
H.264: Don't set data_partitioning for invalid NAL_DPA.
Before, the decoder could interpret a corrupt frame
as a NAL_DPA and NAL_DPC, and then start decoding
even if decode_slice_header() returned an error.
This frequently caused crashes.
Fixes issue1228, issue1229, and partially issue1238.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19328
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
jai_menon [Thu, 2 Jul 2009 13:13:20 +0000 (13:13 +0000)]
Cleanup properly at the end of MPEG Audio parsing.
Patch by Art Clarke (aclarke AT xuggle com)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19327
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Thu, 2 Jul 2009 12:47:58 +0000 (12:47 +0000)]
If either of num or den is 0 make both 0 in av_set_pts_info().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19326
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Wed, 1 Jul 2009 20:52:48 +0000 (20:52 +0000)]
Make sure av_set_pts_info() does not set the fields of a timebase to
negative values.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19325
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Wed, 1 Jul 2009 20:35:28 +0000 (20:35 +0000)]
Revert r19317, "simplify slice_end, return size of output frame".
It returns non decodable B-frames.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19324
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Wed, 1 Jul 2009 20:34:16 +0000 (20:34 +0000)]
indent
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19323
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Wed, 1 Jul 2009 20:30:37 +0000 (20:30 +0000)]
Make sure we dont read over the end.
Fixes issue1237.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19322
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Wed, 1 Jul 2009 20:11:53 +0000 (20:11 +0000)]
Add an explanation and complete the metadata usage example.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19320
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Wed, 1 Jul 2009 18:50:31 +0000 (18:50 +0000)]
Make arguments of av_set_pts_info() unsigned.
Fixes issue1240/mpeg1/smclockmpeg1.avi.3.1
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19319
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
mru [Wed, 1 Jul 2009 17:48:22 +0000 (17:48 +0000)]
Fix potentially unaligned accesses in ff_copy_bits()
A pointer should never be assigned a value which may have less than the
required alignment of the target type. Compilers may assume pointer
values have the required alignment, and emit normal load/store instructions.
Unaligned pointers should use a character type or compiler-specific
type modifiers.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19318
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Wed, 1 Jul 2009 17:29:52 +0000 (17:29 +0000)]
simplify slice_end, return size of output frame
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19317
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Wed, 1 Jul 2009 15:08:02 +0000 (15:08 +0000)]
RV3/4 intra types array causes alignment issues (at least on ARM5), thus change
its stride and offset to always have align 4.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19316
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Wed, 1 Jul 2009 13:46:26 +0000 (13:46 +0000)]
Use slightly more appropriate format strings for printing decimal values.
patch by Frank Barchard, fbarchard google com
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19315
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
mru [Wed, 1 Jul 2009 10:36:18 +0000 (10:36 +0000)]
Fix argument type mismatches for av_picture_crop and av_picture_fill
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19314
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Wed, 1 Jul 2009 06:48:27 +0000 (06:48 +0000)]
add missing \n to error message
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19313
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
mru [Wed, 1 Jul 2009 00:55:17 +0000 (00:55 +0000)]
ADPCM: remove unreachable break statement after return
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19312
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
mru [Wed, 1 Jul 2009 00:55:15 +0000 (00:55 +0000)]
ARM: use gcc inline asm in bswap.h only when available
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19311
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
darkshikari [Tue, 30 Jun 2009 23:45:01 +0000 (23:45 +0000)]
Fix libx264.c to not drop SEI userdata from x264 encoder.
Most muxers in ffmpeg ignore the SEI if it is placed in extradata, so instead
it has to be catted to the front of the first video frame.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19310
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
diego [Tue, 30 Jun 2009 15:11:51 +0000 (15:11 +0000)]
Use more portable 'PRId64' instead of 'llx' as conversion/length specifier.
patch by Frank Barchard, fbarchard google com
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19309
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
mru [Tue, 30 Jun 2009 12:46:09 +0000 (12:46 +0000)]
ARM: enable fast_unaligned when --cpu=armv[67] is specified
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19308
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
reimar [Tue, 30 Jun 2009 12:11:29 +0000 (12:11 +0000)]
Fix nalsize check to avoid an integer overflow that made the check
incorrect for nalsize >= INT_MAX
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19307
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Tue, 30 Jun 2009 11:28:53 +0000 (11:28 +0000)]
Update seek regression checksums due to:
r19300
Rewrite mp3 parser. New code is much simpler and does not drop
stuff at random.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19306
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 30 Jun 2009 07:43:32 +0000 (07:43 +0000)]
cosmetics, change case and comments alignment
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19305
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
bcoudurier [Tue, 30 Jun 2009 07:41:40 +0000 (07:41 +0000)]
correctly compute frame flags with closed gop
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19304
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefang [Tue, 30 Jun 2009 06:44:32 +0000 (06:44 +0000)]
fix slice header checking
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19303
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Tue, 30 Jun 2009 03:57:27 +0000 (03:57 +0000)]
Drop code that attempts to decode frames that are prefixed by junk,
it does too often end up decoding random data into noise without
detecting it. (for example after seeking of some mp3 data with oddly
often occuring startcode emulation)
fixes issue1154.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19302
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
kostya [Tue, 30 Jun 2009 03:37:20 +0000 (03:37 +0000)]
Support RGB48 PNG decoding
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19301
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Tue, 30 Jun 2009 03:12:50 +0000 (03:12 +0000)]
Rewrite mp3 parser. New code is much simpler and does not drop
stuff at random.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19300
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
alexc [Mon, 29 Jun 2009 22:48:07 +0000 (22:48 +0000)]
Use ff_log_missing_feature in the ADTS encoder.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19299
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
mru [Mon, 29 Jun 2009 20:45:49 +0000 (20:45 +0000)]
Fix build on Net/OpenBSD
The renaming in r19293 missed a few things.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19298
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Mon, 29 Jun 2009 20:00:58 +0000 (20:00 +0000)]
Cosmetics: group together indev/outdev dependacies.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19297
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
rbultje [Mon, 29 Jun 2009 19:17:03 +0000 (19:17 +0000)]
Add doxy to av_log_missing_feature() etc. stating that the function is
primarily intended for internal use in lavc/lavf, not for use in apps.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19296
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
rbultje [Mon, 29 Jun 2009 19:11:53 +0000 (19:11 +0000)]
Move av_log_missing_feature() from the internal.h to the public avcodec.h
header file.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19295
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
rbultje [Mon, 29 Jun 2009 19:07:04 +0000 (19:07 +0000)]
Rename ff_log_missing_feature() to av_log_missing_feature().
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19294
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
stefano [Mon, 29 Jun 2009 18:49:15 +0000 (18:49 +0000)]
Make the configure script select the input/output devices using
--enable-indev, --enable-outdev rather than --enable-demuxer,
--enable-muxer as before, same for disabling them.
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19293
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Mon, 29 Jun 2009 18:37:29 +0000 (18:37 +0000)]
indent
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19292
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b
michael [Mon, 29 Jun 2009 18:36:49 +0000 (18:36 +0000)]
id3v2.4.0 uses syncsafe integers for sizes of frames.
Fixes issue1234
Fixes regression introduced in r19275
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19291
9553f0bf -9b14-0410-a0b8-
cfaf0461ba5b