]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
16 years agoCorrectly handle case where buffer is 100% full
ramiro [Sat, 8 Mar 2008 23:06:33 +0000 (23:06 +0000)]
Correctly handle case where buffer is 100% full

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

16 years agoadd myself as vfwcap.c maintainer
ramiro [Sat, 8 Mar 2008 22:59:41 +0000 (22:59 +0000)]
add myself as vfwcap.c maintainer

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

16 years agodc1394.c has been renamed to libdc1394.c
ramiro [Sat, 8 Mar 2008 22:58:04 +0000 (22:58 +0000)]
dc1394.c has been renamed to libdc1394.c

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

16 years agoSplit libavdevice maintainers out of libavformat
ramiro [Sat, 8 Mar 2008 22:55:31 +0000 (22:55 +0000)]
Split libavdevice maintainers out of libavformat

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

16 years agoTypo + grammar
ramiro [Sat, 8 Mar 2008 22:43:13 +0000 (22:43 +0000)]
Typo + grammar

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

16 years agoVFW capture support
ramiro [Sat, 8 Mar 2008 22:10:28 +0000 (22:10 +0000)]
VFW capture support

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

16 years agoIntroduce max_picture_buffer variable in AVFormatContext,
ramiro [Sat, 8 Mar 2008 21:59:11 +0000 (21:59 +0000)]
Introduce max_picture_buffer variable in AVFormatContext,
set by rtbufsize option.

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

16 years ago#error in case we do not know how to provide alignment.
diego [Sat, 8 Mar 2008 20:30:15 +0000 (20:30 +0000)]
#error in case we do not know how to provide alignment.

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

16 years agocosmetics: Fix indentation in a few more places.
diego [Sat, 8 Mar 2008 20:27:16 +0000 (20:27 +0000)]
cosmetics: Fix indentation in a few more places.

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

16 years agocosmetics: Normalize {} placement after for, while, if.
diego [Sat, 8 Mar 2008 20:24:24 +0000 (20:24 +0000)]
cosmetics: Normalize {} placement after for, while, if.

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

16 years agoMention that libavdevice/x11grab.c is GPLed.
diego [Sat, 8 Mar 2008 19:24:06 +0000 (19:24 +0000)]
Mention that libavdevice/x11grab.c is GPLed.

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

16 years agoDefine WIN32_LEAN_AND_MEAN before including windows.h to exclude
ramiro [Sat, 8 Mar 2008 19:00:55 +0000 (19:00 +0000)]
Define WIN32_LEAN_AND_MEAN before including windows.h to exclude
rarely-used header files.

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

16 years agoInclude windows.h instead of trying to redeclare Sleep
ramiro [Sat, 8 Mar 2008 18:59:45 +0000 (18:59 +0000)]
Include windows.h instead of trying to redeclare Sleep
os_support.h used to be included in all lavf files, and including windows.h
here caused a significant slowdown.

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

16 years agoRename pp variable to postproc for consistency.
diego [Sat, 8 Mar 2008 18:50:38 +0000 (18:50 +0000)]
Rename pp variable to postproc for consistency.

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

16 years agocheck for x86 bswap instruction
mru [Sat, 8 Mar 2008 18:33:07 +0000 (18:33 +0000)]
check for x86 bswap instruction

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

16 years agohuffman: add a zero_count flag and use it in fraps
aurel [Sat, 8 Mar 2008 18:08:16 +0000 (18:08 +0000)]
huffman: add a zero_count flag and use it in fraps
fixes issue349

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

16 years agohuffman: pass hnode_first as a flag instead of as an argument on is own
aurel [Sat, 8 Mar 2008 17:57:13 +0000 (17:57 +0000)]
huffman: pass hnode_first as a flag instead of as an argument on is own

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

16 years agoPut network-related code under #ifdef
ramiro [Sat, 8 Mar 2008 17:43:53 +0000 (17:43 +0000)]
Put network-related code under #ifdef

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

16 years agoGroup network-related code together
ramiro [Sat, 8 Mar 2008 17:43:10 +0000 (17:43 +0000)]
Group network-related code together

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

16 years agoFix unused variable warnings.
diego [Sat, 8 Mar 2008 17:18:28 +0000 (17:18 +0000)]
Fix unused variable warnings.
patch by mark cox, melbournemark+ffmpeg gmail.com

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

16 years agocosmetics: prettyprinting
diego [Sat, 8 Mar 2008 16:19:46 +0000 (16:19 +0000)]
cosmetics: prettyprinting

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

16 years agoInstall libavfilter if it has been enabled.
diego [Sat, 8 Mar 2008 16:19:03 +0000 (16:19 +0000)]
Install libavfilter if it has been enabled.

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

16 years agoThe videohook target does not depend on .libs.
diego [Sat, 8 Mar 2008 15:19:07 +0000 (15:19 +0000)]
The videohook target does not depend on .libs.

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

16 years agoMake ffplay use parse_number_or_die instead of atoi.
diego [Sat, 8 Mar 2008 15:06:43 +0000 (15:06 +0000)]
Make ffplay use parse_number_or_die instead of atoi.
Stefano Sabatini, stefano.sabatini-lala poste it

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

16 years agocosmetics: Remove useless empty line.
diego [Sat, 8 Mar 2008 14:54:15 +0000 (14:54 +0000)]
cosmetics: Remove useless empty line.

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

16 years agocosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.
diego [Sat, 8 Mar 2008 14:39:43 +0000 (14:39 +0000)]
cosmetics: Consistently move NAME and FFLIBS to the top of each Makefile.

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

16 years ago__stdcall -> WINAPI
ramiro [Fri, 7 Mar 2008 19:47:44 +0000 (19:47 +0000)]
__stdcall -> WINAPI
Windows x64 has no __stdcall.
It is not yet supported, but someday it might...

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

16 years agosimplify library version handling
mru [Fri, 7 Mar 2008 19:27:17 +0000 (19:27 +0000)]
simplify library version handling

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

16 years agoreplace -f pgmyuv with -f image2 -vcodec pgmyuv
mru [Fri, 7 Mar 2008 19:27:14 +0000 (19:27 +0000)]
replace -f pgmyuv with -f image2 -vcodec pgmyuv

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

16 years agoSimplify do_video_encoding() in regression.sh
mru [Fri, 7 Mar 2008 19:27:10 +0000 (19:27 +0000)]
Simplify do_video_encoding() in regression.sh

All calls of this function use pgmyuv input format; hence
no need to specify it explicitly.

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

16 years agoRemove mp4psp regression test
mru [Fri, 7 Mar 2008 19:27:07 +0000 (19:27 +0000)]
Remove mp4psp regression test

The PSP MP4 format requires an AAC audio stream, so until
we have an AAC encoder we cannot test this format.

The existing test is broken and does not actually use the
PSP format.

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

16 years agoAdd 'disposition' bitfield to AVStream and use it for both muxing and demuxing
eugeni [Fri, 7 Mar 2008 19:25:09 +0000 (19:25 +0000)]
Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing
of matroska and nut.

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

16 years agofix AVClass for avfilter
mru [Fri, 7 Mar 2008 09:08:28 +0000 (09:08 +0000)]
fix AVClass for avfilter

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

16 years agoindentation
bcoudurier [Thu, 6 Mar 2008 23:10:47 +0000 (23:10 +0000)]
indentation

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

16 years agodo not display par and dar if not available
bcoudurier [Thu, 6 Mar 2008 23:09:16 +0000 (23:09 +0000)]
do not display par and dar if not available

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

16 years agoconsolidate CFLAGS, LDFLAGS, EXTRALIBS assignment
mru [Thu, 6 Mar 2008 20:44:44 +0000 (20:44 +0000)]
consolidate CFLAGS, LDFLAGS, EXTRALIBS assignment

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

16 years agodo not reset duration_error for all streams, only reset current stream, fix wrong_fps.gxf
bcoudurier [Thu, 6 Mar 2008 17:44:42 +0000 (17:44 +0000)]
do not reset duration_error for all streams, only reset current stream, fix wrong_fps.gxf

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

16 years agoMake av_class a pointer to a const AVClass. Addresses one warning in
takis [Thu, 6 Mar 2008 17:41:31 +0000 (17:41 +0000)]
Make av_class a pointer to a const AVClass. Addresses one warning in
imgresample.c.

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

16 years agoDon't use unchecked data from the bitstream.
banan [Thu, 6 Mar 2008 14:22:02 +0000 (14:22 +0000)]
Don't use unchecked data from the bitstream.

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

16 years agosupport AVDISCARD_ALL
bcoudurier [Thu, 6 Mar 2008 13:40:29 +0000 (13:40 +0000)]
support AVDISCARD_ALL

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

16 years agofix interlaced decoding, original patch from reimar
bcoudurier [Thu, 6 Mar 2008 09:45:59 +0000 (09:45 +0000)]
fix interlaced decoding, original patch from reimar

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

16 years agoIMA ADPCM encoder - QT variant
kostya [Thu, 6 Mar 2008 07:30:41 +0000 (07:30 +0000)]
IMA ADPCM encoder - QT variant

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

16 years agoSkip over unknown extended_content_header tags.
michael [Thu, 6 Mar 2008 00:26:48 +0000 (00:26 +0000)]
Skip over unknown extended_content_header tags.
fixes issue358

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

16 years agosimplify
michael [Thu, 6 Mar 2008 00:20:49 +0000 (00:20 +0000)]
simplify

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

16 years agomake compilation of mpeg12* and mpegvideo conditional
aurel [Wed, 5 Mar 2008 21:43:30 +0000 (21:43 +0000)]
make compilation of mpeg12* and mpegvideo conditional

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

16 years agomove ff_mpeg1_dc_scale_table to mpegvideo.c
aurel [Wed, 5 Mar 2008 21:29:15 +0000 (21:29 +0000)]
move ff_mpeg1_dc_scale_table to mpegvideo.c

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

16 years agoallow vpath search only for source files
mru [Wed, 5 Mar 2008 21:27:58 +0000 (21:27 +0000)]
allow vpath search only for source files

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

16 years agosimplify processing of some --disable-* options
mru [Wed, 5 Mar 2008 19:56:54 +0000 (19:56 +0000)]
simplify processing of some --disable-* options

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

16 years agoAdd correct version number to shared libavfilter
vitor [Wed, 5 Mar 2008 19:43:07 +0000 (19:43 +0000)]
Add correct version number to shared libavfilter

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

16 years agoFix avfilter compilation with --enable-shared and no libswscaler
vitor [Wed, 5 Mar 2008 18:26:44 +0000 (18:26 +0000)]
Fix avfilter compilation with --enable-shared and no libswscaler

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

16 years agoadd dependencies for matroska audio and nut muxers over lavc
aurel [Wed, 5 Mar 2008 16:34:47 +0000 (16:34 +0000)]
add dependencies for matroska audio and nut muxers over lavc

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

16 years agoSet TCP protocol to is_streamed=1 as seeking is not possible.
diego [Wed, 5 Mar 2008 15:29:10 +0000 (15:29 +0000)]
Set TCP protocol to is_streamed=1 as seeking is not possible.
Björn Axelsson, bjorn.axelsson intinor se

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

16 years agodoxyfy frame types comments and add some more comments
aurel [Wed, 5 Mar 2008 15:23:54 +0000 (15:23 +0000)]
doxyfy frame types comments and add some more comments

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

16 years agodefine BI frame type along with other frame types
aurel [Wed, 5 Mar 2008 15:19:26 +0000 (15:19 +0000)]
define BI frame type along with other frame types

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

16 years agocosmetic: align
aurel [Wed, 5 Mar 2008 15:15:07 +0000 (15:15 +0000)]
cosmetic: align

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

16 years agoremove some unneeded artificial dependencies from configure
aurel [Wed, 5 Mar 2008 14:50:42 +0000 (14:50 +0000)]
remove some unneeded artificial dependencies from configure

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

16 years agoadd some required objects dependencies
aurel [Wed, 5 Mar 2008 14:49:43 +0000 (14:49 +0000)]
add some required objects dependencies

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

16 years agoAvoid linking with h263 and mpeg4 find_frame_end()
aurel [Wed, 5 Mar 2008 14:46:51 +0000 (14:46 +0000)]
Avoid linking with h263 and mpeg4 find_frame_end()
when those codecs are not enabled.

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

16 years agoAdd some information about the stream bitrate, if available
lucabe [Wed, 5 Mar 2008 13:31:24 +0000 (13:31 +0000)]
Add some information about the stream bitrate, if available

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

16 years agoSubtitle support. (untested)
michael [Wed, 5 Mar 2008 13:06:49 +0000 (13:06 +0000)]
Subtitle support. (untested)

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

16 years agoThe last flag fix, fixed mpeg4-qprd (there the flags ended up being trashed
michael [Wed, 5 Mar 2008 12:45:32 +0000 (12:45 +0000)]
The last flag fix, fixed mpeg4-qprd (there the flags ended up being trashed
through lrintf(), that is gcc puted the 32bit int flags in a 32bit float
which caused some to be lost ...).
I wonder why FATE didnt pick this up ?

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

16 years agoset block align for mace3/6
bcoudurier [Wed, 5 Mar 2008 12:06:57 +0000 (12:06 +0000)]
set block align for mace3/6

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

16 years agocorrectly compute bit rate for compressed audio, should fix seeking in aiff
bcoudurier [Wed, 5 Mar 2008 12:02:32 +0000 (12:02 +0000)]
correctly compute bit rate for compressed audio, should fix seeking in aiff

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

16 years agofix the WC3 Xan decoder by correcting the frame accounting logic
melanson [Wed, 5 Mar 2008 06:58:20 +0000 (06:58 +0000)]
fix the WC3 Xan decoder by correcting the frame accounting logic

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

16 years agosws_flags is unsigned.
michael [Wed, 5 Mar 2008 04:02:04 +0000 (04:02 +0000)]
sws_flags is unsigned.
This together with the last commit fixes the strange behavior of -sws_flags.
(issue229)

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

16 years agoFix handling flags with the MSB set.
michael [Wed, 5 Mar 2008 03:59:07 +0000 (03:59 +0000)]
Fix handling flags with the MSB set.

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

16 years agoremove more useless mpegvideo.h includes
aurel [Wed, 5 Mar 2008 00:43:11 +0000 (00:43 +0000)]
remove more useless mpegvideo.h includes

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

16 years agomove EDGE_WIDTH definition allong with draw_edges where it belongs
aurel [Wed, 5 Mar 2008 00:38:14 +0000 (00:38 +0000)]
move EDGE_WIDTH definition allong with draw_edges where it belongs

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

16 years agoremove #include "mpegvideo.h" where it is not needed
aurel [Wed, 5 Mar 2008 00:07:53 +0000 (00:07 +0000)]
remove #include "mpegvideo.h" where it is not needed

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

16 years agomove relevant declarations to mpeg12data.h
aurel [Wed, 5 Mar 2008 00:06:09 +0000 (00:06 +0000)]
move relevant declarations to mpeg12data.h

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

16 years agomove run length table constants to rl.h
aurel [Tue, 4 Mar 2008 23:58:12 +0000 (23:58 +0000)]
move run length table constants to rl.h

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

16 years agomove ff_emulated_edge_mc() to dsputil
aurel [Tue, 4 Mar 2008 23:10:47 +0000 (23:10 +0000)]
move ff_emulated_edge_mc() to dsputil

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

16 years agoRemove unused elements from tables.
michael [Tue, 4 Mar 2008 22:09:54 +0000 (22:09 +0000)]
Remove unused elements from tables.

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

16 years agoDetect and prevent reading over the end of counts_*. We pass the error
michael [Tue, 4 Mar 2008 21:58:34 +0000 (21:58 +0000)]
Detect and prevent reading over the end of counts_*. We pass the error
through a context variable as this is simpler and i think also faster, but
the return value of functions could be used instead of course.
The code also ensures as a side effect that the AC decoder state does not
become invalid.
This fixes all known crashes. And outputs nothing in case of an error instead
of random noise.

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

16 years agoPrevent segfault due to reading over the end of the input buffer.
michael [Tue, 4 Mar 2008 21:39:21 +0000 (21:39 +0000)]
Prevent segfault due to reading over the end of the input buffer.

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

16 years agofix wmv3 dependencies
aurel [Tue, 4 Mar 2008 18:38:32 +0000 (18:38 +0000)]
fix wmv3 dependencies

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

16 years agoFix compilation on powerpc.
aurel [Tue, 4 Mar 2008 18:35:12 +0000 (18:35 +0000)]
Fix compilation on powerpc.
DECLARE_ALIGNED_8 is not defined at that point, but this code is powerpc
only, so it's really equivalent to DECLARE_ALIGNED(16...

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

16 years agoremove old draw_edges declaration cruft
aurel [Tue, 4 Mar 2008 10:54:51 +0000 (10:54 +0000)]
remove old draw_edges declaration cruft

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

16 years agomove ff_init_scantable() into dsputil
aurel [Tue, 4 Mar 2008 10:26:56 +0000 (10:26 +0000)]
move ff_init_scantable() into dsputil

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

16 years agoIgnore flags after pts/dts if there are no bytes left.
michael [Tue, 4 Mar 2008 01:31:15 +0000 (01:31 +0000)]
Ignore flags after pts/dts if there are no bytes left.
Fixes decoding of vdr-radio.vdr. (issue198)

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

16 years agomove draw_edges() into dsputil
aurel [Tue, 4 Mar 2008 00:07:41 +0000 (00:07 +0000)]
move draw_edges() into dsputil

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

16 years agodsputil.h is a local header
aurel [Mon, 3 Mar 2008 23:14:25 +0000 (23:14 +0000)]
dsputil.h is a local header

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

16 years agoinclude required header
aurel [Mon, 3 Mar 2008 23:10:13 +0000 (23:10 +0000)]
include required header

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

16 years agoinclude required headers for int64_t and AV_RB16()
aurel [Mon, 3 Mar 2008 23:00:48 +0000 (23:00 +0000)]
include required headers for int64_t and AV_RB16()

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

16 years agoavi.h don't use anything from avcodec.h
aurel [Mon, 3 Mar 2008 22:56:07 +0000 (22:56 +0000)]
avi.h don't use anything from avcodec.h

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

16 years agoFix endian test with grep not handling non-text files
mru [Mon, 3 Mar 2008 22:01:15 +0000 (22:01 +0000)]
Fix endian test with grep not handling non-text files

POSIX grep is not required to support non-text files.

Idea by Rich Felker.

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

16 years agoremove invalid free() forgotten in r12300
mru [Mon, 3 Mar 2008 21:54:18 +0000 (21:54 +0000)]
remove invalid free() forgotten in r12300

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

16 years agoremove unnecessary backslashes
mru [Mon, 3 Mar 2008 21:48:24 +0000 (21:48 +0000)]
remove unnecessary backslashes

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

16 years agoFix libavfilter compilation and make it more in line
vitor [Mon, 3 Mar 2008 20:53:15 +0000 (20:53 +0000)]
Fix libavfilter compilation and make it more in line
with the other libav*.

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

16 years agoProvide non null class name to avoid crash.
michael [Mon, 3 Mar 2008 19:53:27 +0000 (19:53 +0000)]
Provide non null class name to avoid crash.

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

16 years agoForce DOS users to enable memalign hack when needed,
ramiro [Mon, 3 Mar 2008 17:06:48 +0000 (17:06 +0000)]
Force DOS users to enable memalign hack when needed,
the same way it's done for MinGW.

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

16 years agoSupport setting the debuglevel (-g level) with --enable-debug=#
banan [Mon, 3 Mar 2008 16:59:53 +0000 (16:59 +0000)]
Support setting the debuglevel (-g level) with --enable-debug=#

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

16 years agoFix decoding of interlaced gif, e.g. http://samples.mplayerhq.hu/GIF/7up.gif
reimar [Mon, 3 Mar 2008 13:16:29 +0000 (13:16 +0000)]
Fix decoding of interlaced gif, e.g. http://samples.mplayerhq.hu/GIF/7up.gif

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

16 years agofix issue274
michael [Mon, 3 Mar 2008 01:27:15 +0000 (01:27 +0000)]
fix issue274

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

16 years agoPrint slightly more usefull info.
michael [Mon, 3 Mar 2008 01:23:18 +0000 (01:23 +0000)]
Print slightly more usefull info.

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

16 years agoFallback to sample rate if bit rate is 0. This avoids 0 timebases in nut.
michael [Sun, 2 Mar 2008 23:47:30 +0000 (23:47 +0000)]
Fallback to sample rate if bit rate is 0. This avoids 0 timebases in nut.

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

16 years agofactorize
michael [Sun, 2 Mar 2008 23:13:07 +0000 (23:13 +0000)]
factorize

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

16 years agosubtitles (codec tag tables still missing ...)
michael [Sun, 2 Mar 2008 23:11:36 +0000 (23:11 +0000)]
subtitles (codec tag tables still missing ...)

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

16 years agoUse "disable" helper function
ramiro [Sun, 2 Mar 2008 20:13:47 +0000 (20:13 +0000)]
Use "disable" helper function

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

16 years agoStore aspect ratio in avis.
michael [Sun, 2 Mar 2008 19:51:31 +0000 (19:51 +0000)]
Store aspect ratio in avis.

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