]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agocosmetics, remove useless braces
bcoudurier [Mon, 16 Mar 2009 06:46:57 +0000 (06:46 +0000)]
cosmetics, remove useless braces

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

15 years agosimplify printing
bcoudurier [Mon, 16 Mar 2009 06:46:28 +0000 (06:46 +0000)]
simplify printing

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

15 years agoreindent
bcoudurier [Mon, 16 Mar 2009 06:44:16 +0000 (06:44 +0000)]
reindent

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

15 years agofix trkn metadata parsing
bcoudurier [Mon, 16 Mar 2009 06:43:38 +0000 (06:43 +0000)]
fix trkn metadata parsing

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

15 years agomove read_udta_string up to avoid forward declaration
bcoudurier [Mon, 16 Mar 2009 06:06:05 +0000 (06:06 +0000)]
move read_udta_string up to avoid forward declaration

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

15 years agomore generic metadata handling
bcoudurier [Mon, 16 Mar 2009 06:03:29 +0000 (06:03 +0000)]
more generic metadata handling

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

15 years agodo not set isom if ctype is not set, happens in mov
bcoudurier [Mon, 16 Mar 2009 05:13:55 +0000 (05:13 +0000)]
do not set isom if ctype is not set, happens in mov

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

15 years agoRemove long unused ALTIVEC_USE_REFERENCE_C_CODE ifdef; all other references
conrad [Mon, 16 Mar 2009 03:56:42 +0000 (03:56 +0000)]
Remove long unused ALTIVEC_USE_REFERENCE_C_CODE ifdef; all other references
to it were removed in r6606

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

15 years agosearch for hdlr atom in meta, some files do not store version+flags
bcoudurier [Sun, 15 Mar 2009 23:54:53 +0000 (23:54 +0000)]
search for hdlr atom in meta, some files do not store version+flags

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

15 years agomingw32: call lib.exe instead of lib to facilitate running it through wine.
ramiro [Sun, 15 Mar 2009 23:15:57 +0000 (23:15 +0000)]
mingw32: call lib.exe instead of lib to facilitate running it through wine.

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

15 years agoDisallow out-of-tree builds with config.h in the source tree.
diego [Sun, 15 Mar 2009 21:32:36 +0000 (21:32 +0000)]
Disallow out-of-tree builds with config.h in the source tree.
A config.h present in the source tree takes precedence over a config.h
in the build tree, which can possibly result in an incorrect build.
patch by matthieu castet, castet.matthieu free fr

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

15 years agoFix index generation in the way that it was supposed to be used. See the
rbultje [Sun, 15 Mar 2009 20:14:25 +0000 (20:14 +0000)]
Fix index generation in the way that it was supposed to be used. See the
discussion in the ML thread "[PATCH] rmdec.c: merge old/new packet reading
code".

Over time, this code broke somewhat, e.g. seq was never actually written
into (and was thus always 1, therefore the seq condition was always true),
whereas it was supposed to be set to the sequence number of the video slice
in case the video frame is divided over multiple RM packets (slices). The
problem of this is that packets other than those containing the beginning
of a video frame would be indexed as well.
Secondly, flags&2 is supposed to be true for video keyframes and for these
audio packets containing the start of a block. For some codecs (e.g. AAC),
that is every single packet, whereas for others (e.g. cook), that is the
packet containing the first of a series of scrambled packets that are to be
descrambled together. Indexing any of the following would lead to incomplete
and thus useless frames. Problem here is that flags would be reset to 2 to
indicate that the first packet is ready to be returned, and in addition if
no data was left to be returned (which is always true for the first packet),
then we wouldn't actually write the index entry anyway.
All in all, the idea was good and it probably worked at some point, but that
is long ago. This patch should at the very least make it likely for this code
to be executed again at the right times, i.e. the way it was originally
intended to be used.

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

15 years agoAdd cook channel count function, part of multichannel cook
banan [Sun, 15 Mar 2009 19:36:45 +0000 (19:36 +0000)]
Add cook channel count function, part of multichannel cook

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

15 years agoAdd max allowed subpackets in multichannel cook
banan [Sun, 15 Mar 2009 19:34:52 +0000 (19:34 +0000)]
Add max allowed subpackets in multichannel cook

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

15 years agoRemove code that was disabled by the recent major version bump.
diego [Sun, 15 Mar 2009 17:20:24 +0000 (17:20 +0000)]
Remove code that was disabled by the recent major version bump.

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

15 years agoFix typo: 'conjuction' -> 'conjunction'.
stefano [Sun, 15 Mar 2009 16:36:36 +0000 (16:36 +0000)]
Fix typo: 'conjuction' -> 'conjunction'.

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

15 years agosave avctx in cook decoder context and use it for av_log
banan [Sun, 15 Mar 2009 14:11:11 +0000 (14:11 +0000)]
save avctx in cook decoder context and use it for av_log

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

15 years agomemset when category is >=7, part of cook multichannel
banan [Sun, 15 Mar 2009 14:04:25 +0000 (14:04 +0000)]
memset when category is >=7, part of cook multichannel

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

15 years ago1 km^3 cola, timecode_frame_start is a 64 bit integer, this resulted in
reimar [Sun, 15 Mar 2009 13:38:36 +0000 (13:38 +0000)]
1 km^3 cola, timecode_frame_start is a 64 bit integer, this resulted in
complete nonsense if timecode_frame_start was used on big-endian systems.

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

15 years agoForce ebp_available for icc.
cehoyos [Sun, 15 Mar 2009 13:22:41 +0000 (13:22 +0000)]
Force ebp_available for icc.
See discussion:
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/86209

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

15 years agocosmetics: Remove file name from file header.
diego [Sun, 15 Mar 2009 12:46:07 +0000 (12:46 +0000)]
cosmetics: Remove file name from file header.

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

15 years agoadd my gpg key fingerprint
bcoudurier [Sun, 15 Mar 2009 11:21:11 +0000 (11:21 +0000)]
add my gpg key fingerprint

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

15 years agoadd my gpg key fingerprint
attila [Sun, 15 Mar 2009 11:18:52 +0000 (11:18 +0000)]
add my gpg key fingerprint

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

15 years agotypo in the mail, the 4am commit is always the worst
bcoudurier [Sun, 15 Mar 2009 10:53:12 +0000 (10:53 +0000)]
typo in the mail, the 4am commit is always the worst

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

15 years agocosmetics
bcoudurier [Sun, 15 Mar 2009 10:49:52 +0000 (10:49 +0000)]
cosmetics

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

15 years agoadd my copyright in mov de/muxer
bcoudurier [Sun, 15 Mar 2009 10:49:28 +0000 (10:49 +0000)]
add my copyright in mov de/muxer

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

15 years agoExpand "lsb" to "least significant bits".
stefano [Sun, 15 Mar 2009 10:37:25 +0000 (10:37 +0000)]
Expand "lsb" to "least significant bits".

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

15 years agoRename the (yet not defined) macros:
stefano [Sun, 15 Mar 2009 10:33:51 +0000 (10:33 +0000)]
Rename the (yet not defined) macros:
PIX_FMT_RGB565_BE -> PIX_FMT_RGB565BE
PIX_FMT_RGB565_LE -> PIX_FMT_RGB565LE
for consistency with the other pixfmts macros.

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

15 years agoallocate palette in codec directly
bcoudurier [Sun, 15 Mar 2009 09:44:57 +0000 (09:44 +0000)]
allocate palette in codec directly

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

15 years agocosmetics, add some whitespaces and empty lines
bcoudurier [Sun, 15 Mar 2009 09:06:36 +0000 (09:06 +0000)]
cosmetics, add some whitespaces and empty lines

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

15 years agoCorrect MV prediction for B-frame blocks in RV4 decoder
kostya [Sun, 15 Mar 2009 08:21:42 +0000 (08:21 +0000)]
Correct MV prediction for B-frame blocks in RV4 decoder

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

15 years agoadd loglevel option to set libav* logging level, -v does not set it anymore
bcoudurier [Sun, 15 Mar 2009 07:23:18 +0000 (07:23 +0000)]
add loglevel option to set libav* logging level, -v does not set it anymore

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

15 years agodo not modify sample_count, check against index entries
bcoudurier [Sun, 15 Mar 2009 07:21:22 +0000 (07:21 +0000)]
do not modify sample_count, check against index entries

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

15 years agouse utc time for timestamp and do not set it if not specified
bcoudurier [Sat, 14 Mar 2009 23:39:52 +0000 (23:39 +0000)]
use utc time for timestamp and do not set it if not specified

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

15 years agoFix ff_random_get_seed() prototype
mru [Sat, 14 Mar 2009 23:00:57 +0000 (23:00 +0000)]
Fix ff_random_get_seed() prototype

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

15 years agoswf timestamps are 16 bits
bcoudurier [Sat, 14 Mar 2009 22:51:38 +0000 (22:51 +0000)]
swf timestamps are 16 bits

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

15 years agoremove unused fields in swf context
bcoudurier [Sat, 14 Mar 2009 22:49:01 +0000 (22:49 +0000)]
remove unused fields in swf context

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

15 years agodo not parse timestamp if bitexact is set, should fix regression tests
bcoudurier [Sat, 14 Mar 2009 22:43:28 +0000 (22:43 +0000)]
do not parse timestamp if bitexact is set, should fix regression tests

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

15 years agoEnable generic index creation and seeking for NUV demuxer.
reimar [Sat, 14 Mar 2009 22:07:15 +0000 (22:07 +0000)]
Enable generic index creation and seeking for NUV demuxer.

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

15 years agoAdd AVFMT_GENERIC_INDEX support also for formats that do not use a parser.
reimar [Sat, 14 Mar 2009 21:46:00 +0000 (21:46 +0000)]
Add AVFMT_GENERIC_INDEX support also for formats that do not use a parser.

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

15 years agoMake pcm_read_seek treat negative time stamps as 0, this avoids incorrectly
reimar [Sat, 14 Mar 2009 20:50:54 +0000 (20:50 +0000)]
Make pcm_read_seek treat negative time stamps as 0, this avoids incorrectly
seeking before data_offset and is more consistent with how the generic index
seeking code handles it.

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

15 years agoAdd av_uninit to vbA[1-8], vbB[1-8] variables to work around
diego [Sat, 14 Mar 2009 19:14:40 +0000 (19:14 +0000)]
Add av_uninit to vbA[1-8], vbB[1-8] variables to work around
some 'may be used uninitialized' warnings.

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

15 years agoprettyprinting cosmetics
diego [Sat, 14 Mar 2009 19:12:20 +0000 (19:12 +0000)]
prettyprinting cosmetics

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

15 years agoAdd av_uninit to vsrcBuc variable to work around some
diego [Sat, 14 Mar 2009 19:11:56 +0000 (19:11 +0000)]
Add av_uninit to vsrcBuc variable to work around some
'may be used uninitialized' warnings.

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

15 years agoImprove description of next_free_data_block_num struct member.
diego [Sat, 14 Mar 2009 17:20:28 +0000 (17:20 +0000)]
Improve description of next_free_data_block_num struct member.

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

15 years agoDont loose user flags when passing calls from the new to the old seeking API.
michael [Sat, 14 Mar 2009 16:30:51 +0000 (16:30 +0000)]
Dont loose user flags when passing calls from the new to the old seeking API.

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

15 years agoSwitch ffplay to new seeking API.
michael [Sat, 14 Mar 2009 16:24:30 +0000 (16:24 +0000)]
Switch ffplay to new seeking API.

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

15 years agoSwitch regression test to the new seeking API.
michael [Sat, 14 Mar 2009 15:53:56 +0000 (15:53 +0000)]
Switch regression test to the new seeking API.

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

15 years agoadd avformat_seek_file()
michael [Sat, 14 Mar 2009 15:51:46 +0000 (15:51 +0000)]
add avformat_seek_file()

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

15 years agoAdd an example showing how to create a video from many images.
stefano [Sat, 14 Mar 2009 10:18:18 +0000 (10:18 +0000)]
Add an example showing how to create a video from many images.

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

15 years agoAdd 1bpp, 8bpp, 15bpp, and 16bpp support to BMP encoder.
cehoyos [Fri, 13 Mar 2009 23:36:38 +0000 (23:36 +0000)]
Add 1bpp, 8bpp, 15bpp, and 16bpp support to BMP encoder.

Patch by Daniel Verkamp, daniel drv nu

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

15 years agoSet pkt->pos correctly (to the start of header of the packet) in swfdec.
reimar [Fri, 13 Mar 2009 22:26:45 +0000 (22:26 +0000)]
Set pkt->pos correctly (to the start of header of the packet) in swfdec.

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

15 years agofix swf seeking by fixing new stream detection
bcoudurier [Fri, 13 Mar 2009 19:37:05 +0000 (19:37 +0000)]
fix swf seeking by fixing new stream detection

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

15 years agoRemove 'lib' and 'swscale-error' from list of phony targets.
diego [Fri, 13 Mar 2009 15:56:29 +0000 (15:56 +0000)]
Remove 'lib' and 'swscale-error' from list of phony targets.
Both targets no longer exist.

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

15 years agoMark all clean targets as phony.
diego [Fri, 13 Mar 2009 15:55:16 +0000 (15:55 +0000)]
Mark all clean targets as phony.

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

15 years agoPrint timing_info on -debug 1.
michael [Fri, 13 Mar 2009 14:10:49 +0000 (14:10 +0000)]
Print timing_info on -debug 1.

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

15 years agoAdd "testclean" target to .PHONY
reimar [Fri, 13 Mar 2009 13:51:52 +0000 (13:51 +0000)]
Add "testclean" target to .PHONY

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

15 years agoFix direct and skip MB motion compensation in RV4:
kostya [Fri, 13 Mar 2009 13:48:44 +0000 (13:48 +0000)]
Fix direct and skip MB motion compensation in RV4:
two conditions were incomplete and zeroing motion
vectors was performed only on half of them.

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

15 years agoSimplify RoQ demuxer pts calculation by using a appropriate time bases.
reimar [Fri, 13 Mar 2009 13:37:35 +0000 (13:37 +0000)]
Simplify RoQ demuxer pts calculation by using a appropriate time bases.

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

15 years agoSet video width/height and create audio stream in read_packet instead of
reimar [Thu, 12 Mar 2009 11:47:50 +0000 (11:47 +0000)]
Set video width/height and create audio stream in read_packet instead of
pre-parsing the file in read_header.
This avoids some code duplication and seeking, and also avoids an IO error
for small video-only files (as created during e.g. the FATE encoder test).

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

15 years agoremove sws_flags, seems to have no effect
bcoudurier [Thu, 12 Mar 2009 03:17:36 +0000 (03:17 +0000)]
remove sws_flags, seems to have no effect

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

15 years agopatcheck: Replace non-POSIX echo -e with printf.
alexc [Wed, 11 Mar 2009 19:13:15 +0000 (19:13 +0000)]
patcheck: Replace non-POSIX echo -e with printf.

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

15 years agoUse av_mallocz() to initialize hwaccel_data_private.
gb [Wed, 11 Mar 2009 08:25:00 +0000 (08:25 +0000)]
Use av_mallocz() to initialize hwaccel_data_private.

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

15 years agostag option to force subtitle tag
bcoudurier [Wed, 11 Mar 2009 08:14:19 +0000 (08:14 +0000)]
stag option to force subtitle tag

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

15 years agoreindent
bcoudurier [Wed, 11 Mar 2009 08:05:18 +0000 (08:05 +0000)]
reindent

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

15 years agokeep original tag when stream copying subs with ipod format
bcoudurier [Wed, 11 Mar 2009 08:04:44 +0000 (08:04 +0000)]
keep original tag when stream copying subs with ipod format

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

15 years agoipod supports both subs tags
bcoudurier [Wed, 11 Mar 2009 08:03:42 +0000 (08:03 +0000)]
ipod supports both subs tags

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

15 years agoreindent
bcoudurier [Wed, 11 Mar 2009 08:02:59 +0000 (08:02 +0000)]
reindent

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

15 years agowrite correct atoms based on tag and not format, fixes subs stream copy
bcoudurier [Wed, 11 Mar 2009 08:01:39 +0000 (08:01 +0000)]
write correct atoms based on tag and not format, fixes subs stream copy

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

15 years agouse correct codec tag list for ipod format
bcoudurier [Wed, 11 Mar 2009 07:59:38 +0000 (07:59 +0000)]
use correct codec tag list for ipod format

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

15 years agomxf and mxf d10 regression tests
bcoudurier [Wed, 11 Mar 2009 07:16:19 +0000 (07:16 +0000)]
mxf and mxf d10 regression tests

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

15 years agoagain 10l, typo, put_byte instead of put_buffer
bcoudurier [Wed, 11 Mar 2009 06:48:02 +0000 (06:48 +0000)]
again 10l, typo, put_byte instead of put_buffer

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

15 years agoattempt to try to generate an random umid
bcoudurier [Wed, 11 Mar 2009 06:15:00 +0000 (06:15 +0000)]
attempt to try to generate an random umid

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

15 years ago10l, set ret to 0 when finished
bcoudurier [Wed, 11 Mar 2009 06:13:14 +0000 (06:13 +0000)]
10l, set ret to 0 when finished

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

15 years agodump_format after av_write_header to print updated parameters
bcoudurier [Wed, 11 Mar 2009 06:06:18 +0000 (06:06 +0000)]
dump_format after av_write_header to print updated parameters

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

15 years agofix subs track height, set track->height to codec height if not set
bcoudurier [Wed, 11 Mar 2009 06:04:56 +0000 (06:04 +0000)]
fix subs track height, set track->height to codec height if not set

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

15 years agosn40 avi fourcc decodes with ffodivx
compn [Wed, 11 Mar 2009 01:36:25 +0000 (01:36 +0000)]
sn40 avi fourcc decodes with ffodivx

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

15 years agoFix typos.
stefano [Tue, 10 Mar 2009 21:41:31 +0000 (21:41 +0000)]
Fix typos.

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

15 years agoFix bug when elbg->utility_inc[elbg->numCB-1] == 1
vitor [Tue, 10 Mar 2009 17:38:16 +0000 (17:38 +0000)]
Fix bug when elbg->utility_inc[elbg->numCB-1] == 1

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

15 years agoAdd REGISTER_HWACCEL() for hardware accelerators.
gb [Tue, 10 Mar 2009 14:35:55 +0000 (14:35 +0000)]
Add REGISTER_HWACCEL() for hardware accelerators.

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

15 years agoCorrectly skip complete INDX chunks, i.e. read the 32-bit header correctly
rbultje [Tue, 10 Mar 2009 12:55:29 +0000 (12:55 +0000)]
Correctly skip complete INDX chunks, i.e. read the 32-bit header correctly
and if the size is broken (20 bytes, header-only), calculate the expected
size and skip the index entries anyway. See "[PATCH] rmdec.c: correctly
skip indexes" thread.

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

15 years agoReplace all `` by $(), the latter can be nested more easily.
diego [Mon, 9 Mar 2009 23:59:31 +0000 (23:59 +0000)]
Replace all `` by $(), the latter can be nested more easily.

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

15 years agoFix MMX2 check, 'movss' is not an MMX2 instruction, use 'pmaxub' instead.
diego [Mon, 9 Mar 2009 23:33:27 +0000 (23:33 +0000)]
Fix MMX2 check, 'movss' is not an MMX2 instruction, use 'pmaxub' instead.

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

15 years agoFix unaligned access in ff_copy_bits()
mru [Mon, 9 Mar 2009 23:27:38 +0000 (23:27 +0000)]
Fix unaligned access in ff_copy_bits()

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

15 years agoSet AS to $CC by default, override with gcc only when CC is armcc
mru [Mon, 9 Mar 2009 22:39:49 +0000 (22:39 +0000)]
Set AS to $CC by default, override with gcc only when CC is armcc

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

15 years agoPrevent (negative) overflow of rm->remaining_len. This evaluation really only
rbultje [Mon, 9 Mar 2009 22:03:47 +0000 (22:03 +0000)]
Prevent (negative) overflow of rm->remaining_len. This evaluation really only
has two possible outcomes: either len and rm->remaining_len are the same, in
which case we care about the outcome and it is zero, or rm->remaining_len is
currently not in use and we don't care about the outcome. In that case, len
is positive and rm->remaining_len is zero, which leads to a negative result.
This is confusing and could eventually lead to a sign-flip if we skip a lot
of packets (unlikely, but still). Therefore, just always set it to zero.

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

15 years agoRevert to r17908.
rbultje [Mon, 9 Mar 2009 22:02:06 +0000 (22:02 +0000)]
Revert to r17908.

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

15 years agoCosmetics from Kenan Gillet's 'extract and share weighted_vector_sumf'
reynaldo [Mon, 9 Mar 2009 22:00:35 +0000 (22:00 +0000)]
Cosmetics from Kenan Gillet's 'extract and share weighted_vector_sumf'
patchset. Just a reindent.

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

15 years agoFunctional part Kenan Gillet's 'extract and share weighted_vector_sumf'
reynaldo [Mon, 9 Mar 2009 21:55:24 +0000 (21:55 +0000)]
Functional part Kenan Gillet's 'extract and share weighted_vector_sumf'
patchset. Idea is to share this common code between the AMR and QCELP
decoders.

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

15 years agoMove MOVContext and related structures from mov.c to isom.h. See "[PATCH]
rbultje [Mon, 9 Mar 2009 21:53:00 +0000 (21:53 +0000)]
Move MOVContext and related structures from mov.c to isom.h. See "[PATCH]
move MOVContext from mov.c to isom.h" thread on ML.

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

15 years agoReorder arguments for av_fifo_generic_read to be more logical and
reimar [Mon, 9 Mar 2009 17:47:47 +0000 (17:47 +0000)]
Reorder arguments for av_fifo_generic_read to be more logical and
consistent with av_fifo_generic_write.

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

15 years agoFix seek regression test broken by r17905, seeking fails completely
reimar [Mon, 9 Mar 2009 17:44:57 +0000 (17:44 +0000)]
Fix seek regression test broken by r17905, seeking fails completely
for swf before and after, but it it now incorrectly creates additional
streams.

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

15 years agoUpdate VA API pixfmts documentation: struct vaapi_render_state
gb [Mon, 9 Mar 2009 15:52:45 +0000 (15:52 +0000)]
Update VA API pixfmts documentation: struct vaapi_render_state
shall now be copied to Picture.data[3].

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

15 years agoConvert spurious DOS line breaks to UNIX line breaks in seek regression
reimar [Mon, 9 Mar 2009 15:38:08 +0000 (15:38 +0000)]
Convert spurious DOS line breaks to UNIX line breaks in seek regression
test reference file.

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

15 years agoPrevent (negative) overflow of rm->remaining_len. This evaluation really only
rbultje [Mon, 9 Mar 2009 13:08:19 +0000 (13:08 +0000)]
Prevent (negative) overflow of rm->remaining_len. This evaluation really only
has two possible outcomes: either len and rm->remaining_len are the same, in
which case we care about the outcome and it is zero, or rm->remaining_len is
currently not in use and we don't care about the outcome. In that case, len
is positive and rm->remaining_len is zero, which leads to a negative result.
This is confusing and could eventually lead to a sign-flip if we skip a lot
of packets (unlikely, but still). Therefore, just always set it to zero.

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

15 years agoReplace separate packet parsing for "old_format" .ra files by a call to
rbultje [Mon, 9 Mar 2009 12:46:32 +0000 (12:46 +0000)]
Replace separate packet parsing for "old_format" .ra files by a call to
ff_rm_parse_packet(). See "[PATCH] Make RM demuxer behave better with -an
option" thread, which sort-of turned into an aggregate of unrelated rmdec.c
cleanups.

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

15 years agoMove frame discarding out of the ff_rm_parse_packet() loop, and respect
rbultje [Mon, 9 Mar 2009 12:42:53 +0000 (12:42 +0000)]
Move frame discarding out of the ff_rm_parse_packet() loop, and respect
rm->audio_pkt_cnt in case multiple packets should be read before the next
syncpoint in the file, so that ffplay -an on a file containing AAC audio
works. See "[PATCH] Make RM demuxer behave better with -an option" thread
on mailinglist.

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

15 years agoMark all packets from nuv demuxer as keyframes in order to make seeking work.
reimar [Mon, 9 Mar 2009 12:25:13 +0000 (12:25 +0000)]
Mark all packets from nuv demuxer as keyframes in order to make seeking work.
For proper seeking, they should be set correctly though.

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

15 years agoReorder alphabetically after r17902.
rbultje [Mon, 9 Mar 2009 12:06:47 +0000 (12:06 +0000)]
Reorder alphabetically after r17902.

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

15 years ago100l, to start reading from the first frame we must seek to data_offset,
reimar [Mon, 9 Mar 2009 12:06:31 +0000 (12:06 +0000)]
100l, to start reading from the first frame we must seek to data_offset,
not 0 in av_seek_frame_generic.

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