]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agoCosmetics: indentation
conrad [Tue, 30 Sep 2008 19:51:02 +0000 (19:51 +0000)]
Cosmetics: indentation

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

15 years agoMerge (vp3|theora)_calculate_pixel_addresses
conrad [Tue, 30 Sep 2008 19:50:43 +0000 (19:50 +0000)]
Merge (vp3|theora)_calculate_pixel_addresses

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

15 years agoMissed hunks of last commit
conrad [Tue, 30 Sep 2008 19:22:20 +0000 (19:22 +0000)]
Missed hunks of last commit

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

15 years agoRemove unused vp3 debugging info
conrad [Tue, 30 Sep 2008 19:18:22 +0000 (19:18 +0000)]
Remove unused vp3 debugging info

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

15 years agoMove iv_decode_frame function to remove a forward declaration.
benoit [Tue, 30 Sep 2008 14:43:55 +0000 (14:43 +0000)]
Move iv_decode_frame function to remove a forward declaration.

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

15 years agoRemove useless lines.
benoit [Tue, 30 Sep 2008 14:41:11 +0000 (14:41 +0000)]
Remove useless lines.

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

15 years agoReindent whole file.
benoit [Tue, 30 Sep 2008 14:22:10 +0000 (14:22 +0000)]
Reindent whole file.

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

15 years agoReindent after previous patches.
rbultje [Tue, 30 Sep 2008 13:27:19 +0000 (13:27 +0000)]
Reindent after previous patches.

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

15 years agoImplement a RTSPTransport field, which allows proper separation of server
rbultje [Tue, 30 Sep 2008 13:26:20 +0000 (13:26 +0000)]
Implement a RTSPTransport field, which allows proper separation of server
types and their non-standard extensions, and the data they serve. Practically,
this patch allows Real servers to serve normal non-RDT (standard RTP) data.
See discussion on ML in "Realmedia patch" thread.

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

15 years agoRemove access to rdt_data struct in functions called outside of the
rbultje [Tue, 30 Sep 2008 13:23:33 +0000 (13:23 +0000)]
Remove access to rdt_data struct in functions called outside of the
DynamicProtocol* context. Doing so could lead to problems if we're accessing
Real servers serving non-RDT data (or the other way around). Temporarily,
this patch adds a _subscribe2() function which will soon be removed in one
of the subsequent commits. OK'ed by Luca in "Realmedia patch" thread on ML.

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

15 years agoSend improper UDP SETUP request, which is what Realmedia servers expect.
rbultje [Tue, 30 Sep 2008 13:20:23 +0000 (13:20 +0000)]
Send improper UDP SETUP request, which is what Realmedia servers expect.
See discussion on ML in "Realmedia patch" thread.

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

15 years agoRename RTSPProtocol to RTSPLowerTransport, so that its name properly tells us
rbultje [Tue, 30 Sep 2008 13:18:41 +0000 (13:18 +0000)]
Rename RTSPProtocol to RTSPLowerTransport, so that its name properly tells us
that it only describes the lower-level transport (TCP vs. UDP) and not the
actual data layout (e.g. RDT vs. RTP). See discussion in "Realmedia patch"
thread on ML.

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

15 years agoIndent.
benoit [Tue, 30 Sep 2008 11:55:40 +0000 (11:55 +0000)]
Indent.

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

15 years agoSimplify iv_free_func().
benoit [Tue, 30 Sep 2008 11:55:20 +0000 (11:55 +0000)]
Simplify iv_free_func().

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

15 years agoMove allocated buffer out of YUV buffer structure.
benoit [Tue, 30 Sep 2008 11:51:44 +0000 (11:51 +0000)]
Move allocated buffer out of YUV buffer structure.

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

15 years agoRemove useless initializations.
benoit [Tue, 30 Sep 2008 11:46:37 +0000 (11:46 +0000)]
Remove useless initializations.

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

15 years agoCheck allocations on init.
benoit [Tue, 30 Sep 2008 09:54:13 +0000 (09:54 +0000)]
Check allocations on init.

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

15 years agoRemove useless test.
benoit [Tue, 30 Sep 2008 09:41:04 +0000 (09:41 +0000)]
Remove useless test.

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

15 years agoCosmetics
benoit [Tue, 30 Sep 2008 09:35:53 +0000 (09:35 +0000)]
Cosmetics

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

15 years agouse uint8_t instead of unsigned char
benoit [Tue, 30 Sep 2008 09:32:14 +0000 (09:32 +0000)]
use uint8_t instead of unsigned char

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

15 years agoCorrector type fits in 8 bits.
benoit [Tue, 30 Sep 2008 09:26:49 +0000 (09:26 +0000)]
Corrector type fits in 8 bits.

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

15 years agoRemove useless casts and use variable instead of its type in sizeof.
benoit [Tue, 30 Sep 2008 09:08:27 +0000 (09:08 +0000)]
Remove useless casts and use variable instead of its type in sizeof.

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

15 years agoChange table types to uint8_t
benoit [Tue, 30 Sep 2008 09:05:34 +0000 (09:05 +0000)]
Change table types to uint8_t

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

15 years agoDowngrade severity of leftover bits in header packets, and don't check for the commen...
conrad [Tue, 30 Sep 2008 04:18:22 +0000 (04:18 +0000)]
Downgrade severity of leftover bits in header packets, and don't check for the comment header

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

15 years agosupport negative ctts in some way, unset wrong dts
bcoudurier [Tue, 30 Sep 2008 02:44:57 +0000 (02:44 +0000)]
support negative ctts in some way, unset wrong dts

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

15 years agoAllocate 1 line more in the chroma plane for H.264, this avoids some
michael [Tue, 30 Sep 2008 01:45:53 +0000 (01:45 +0000)]
Allocate 1 line more in the chroma plane for H.264, this avoids some
out of array reads with mmx/sse2 code.
Fixes issue327.

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

15 years agoReplace second (and wrong) call to avcodec_align_dimensions() by adjusting stride_align.
michael [Tue, 30 Sep 2008 01:07:25 +0000 (01:07 +0000)]
Replace second (and wrong) call to avcodec_align_dimensions() by adjusting stride_align.
This is not particularely pretty and ill gladly implement something else if someone
has an idea!

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

15 years agoDo not attempt to perform error concealment in lowres mode as this is
michael [Tue, 30 Sep 2008 00:28:13 +0000 (00:28 +0000)]
Do not attempt to perform error concealment in lowres mode as this is
not supported currently.

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

15 years agoatrac3: ensure input frame is not overwritten (it is const)
aurel [Mon, 29 Sep 2008 22:22:46 +0000 (22:22 +0000)]
atrac3: ensure input frame is not overwritten (it is const)
this fixes the following warning:
atrac3.c:889: warning: assignment discards qualifiers from pointer target type

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

15 years agoUse skip_frame for keyframe-only decoding rather than #ifdef
conrad [Mon, 29 Sep 2008 22:04:35 +0000 (22:04 +0000)]
Use skip_frame for keyframe-only decoding rather than #ifdef

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

15 years agoFix a warning about an undefined function when compiling h264.c
cehoyos [Mon, 29 Sep 2008 15:41:55 +0000 (15:41 +0000)]
Fix a warning about an undefined function when compiling h264.c

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

15 years agoRemove some format string warnings.
diego [Mon, 29 Sep 2008 07:15:49 +0000 (07:15 +0000)]
Remove some format string warnings.
patch by Diego Pettenò, flameeyes gmail com

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

15 years agoUniformly define _XOPEN_SOURCE to 600.
diego [Mon, 29 Sep 2008 06:22:12 +0000 (06:22 +0000)]
Uniformly define _XOPEN_SOURCE to 600.
The feature_tests.h header from Sun systems (Solaris/OpenSolaris) will abort
the build if _XOPEN_SOURCE is defined to 500, and C99 is requested (as well
as POSIX.1-2001), and will only accept it to be defined to 600.
inspired by a patch from Diego Pettenò, flameeyes gmail com

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

15 years agocosmetics: Consistently use #ifdef in preprocessor directives.
diego [Mon, 29 Sep 2008 06:15:51 +0000 (06:15 +0000)]
cosmetics: Consistently use #ifdef in preprocessor directives.

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

15 years agofix -uninstalled.pc includedir for out-of-tree builds
aurel [Sun, 28 Sep 2008 23:29:23 +0000 (23:29 +0000)]
fix -uninstalled.pc includedir for out-of-tree builds
patch by Diego 'Flameeyes' Pettenò  flameeyes _at_ gmail

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

15 years agoset video_enc->sample_aspect_ratio to fix stream copy
aurel [Sun, 28 Sep 2008 23:24:32 +0000 (23:24 +0000)]
set video_enc->sample_aspect_ratio to fix stream copy
patch by Wolfram Gloger  wmglo _at_ dent.med.uni-muenchen _dot_ de

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

15 years agoGuess picture type from picture coding extension when the main header is damaged.
michael [Sun, 28 Sep 2008 23:19:12 +0000 (23:19 +0000)]
Guess picture type from picture coding extension when the main header is damaged.

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

15 years agomatroskadec: merge ASS events which share the same pts in the same AVPavket
aurel [Sun, 28 Sep 2008 23:06:25 +0000 (23:06 +0000)]
matroskadec: merge ASS events which share the same pts in the same AVPavket

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

15 years agomatroskadec: ass events lines must end with a DOS style EOL
aurel [Sun, 28 Sep 2008 23:01:07 +0000 (23:01 +0000)]
matroskadec: ass events lines must end with a DOS style EOL

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

15 years agomatroskadec: set duration only for CODEC_ID_TEXT subtitles
aurel [Sun, 28 Sep 2008 22:58:53 +0000 (22:58 +0000)]
matroskadec: set duration only for CODEC_ID_TEXT subtitles

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

15 years agomatroskadec: pass duration as parameter of matroska_fix_ass_packet()
aurel [Sun, 28 Sep 2008 22:55:28 +0000 (22:55 +0000)]
matroskadec: pass duration as parameter of matroska_fix_ass_packet()

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

15 years agoAVOptions support for ffplay.
michael [Sun, 28 Sep 2008 19:39:18 +0000 (19:39 +0000)]
AVOptions support for ffplay.

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

15 years agoMove opt_default() and set_context_opts() to cmdutils so it can be used from
michael [Sun, 28 Sep 2008 19:35:22 +0000 (19:35 +0000)]
Move opt_default() and set_context_opts() to cmdutils so it can be used from
the other tools as well.

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

15 years agoRename opt_default() so it will not conflict with the one from ffmpeg.c
michael [Sun, 28 Sep 2008 19:33:19 +0000 (19:33 +0000)]
Rename opt_default() so it will not conflict with the one from ffmpeg.c
when it is moved to cmdutils.c/h.

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

15 years agoDocument the directpred auto value.
stefano [Sun, 28 Sep 2008 19:11:26 +0000 (19:11 +0000)]
Document the directpred auto value.
Patch by Francesco Cosoleto cosoleto ^^AT^^ gmail @@dot@@ com

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

15 years agoSubstitute the not anymore supported "me" option name with "me_method"
stefano [Sun, 28 Sep 2008 19:06:46 +0000 (19:06 +0000)]
Substitute the not anymore supported "me" option name with "me_method"
in ffpreset files.
Patch by Francesco Cosoleto cosoleto -- gmail --dot-- com

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

15 years agoMake myself maintainer of the preset files
superdump [Sun, 28 Sep 2008 19:05:34 +0000 (19:05 +0000)]
Make myself maintainer of the preset files

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

15 years agoImplement the force_fps option, which disables the automatic selection
stefano [Sun, 28 Sep 2008 17:34:03 +0000 (17:34 +0000)]
Implement the force_fps option, which disables the automatic selection
of the best framerate amongst the list of supported framerates of the
codec. Use the av_find_nearest_q_idx() function to choose the best
framerate.

See the thread: "Implement in lavc a flag which makes avcodec_open()
to choose the best framerate".

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

15 years agoUse DECLARE_ALIGNED_16() on vorbis windows as they are used in dsputils
superdump [Sun, 28 Sep 2008 16:16:05 +0000 (16:16 +0000)]
Use DECLARE_ALIGNED_16() on vorbis windows as they are used in dsputils
functions that require such alignment.

Patch by Siarhei Siamashka (siarhei siamashka gmail com)

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

15 years agoSupport loading presets from random pathes.
michael [Sun, 28 Sep 2008 13:09:29 +0000 (13:09 +0000)]
Support loading presets from random pathes.
Fixes issue659.

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

15 years agoassdec: don't remove CR, they are part of the spec
aurel [Sat, 27 Sep 2008 23:12:24 +0000 (23:12 +0000)]
assdec: don't remove CR, they are part of the spec

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

15 years agocosmetics: Break overly long lines, one grammar fix.
diego [Sat, 27 Sep 2008 20:05:12 +0000 (20:05 +0000)]
cosmetics: Break overly long lines, one grammar fix.

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

15 years agospelling/wording/grammar
diego [Sat, 27 Sep 2008 19:51:53 +0000 (19:51 +0000)]
spelling/wording/grammar

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

15 years agoMove doxygen comments for av_gettime from utils.c to avformat.h.
diego [Sat, 27 Sep 2008 17:37:22 +0000 (17:37 +0000)]
Move doxygen comments for av_gettime from utils.c to avformat.h.

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

15 years agoAdd alltools target to build all the tools/ stuff.
diego [Sat, 27 Sep 2008 05:01:57 +0000 (05:01 +0000)]
Add alltools target to build all the tools/ stuff.

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

15 years agoReplace apparently always true condition by assert().
michael [Sat, 27 Sep 2008 02:39:24 +0000 (02:39 +0000)]
Replace apparently always true condition by assert().

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

15 years agoSimplify pix_fmt_id instead of listing a subset of non-simplified ones.
michael [Sat, 27 Sep 2008 01:59:50 +0000 (01:59 +0000)]
Simplify pix_fmt_id instead of listing a subset of non-simplified ones.

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

15 years agoCheck the 4th plane too when selecting the pixfmt.
michael [Sat, 27 Sep 2008 01:50:57 +0000 (01:50 +0000)]
Check the 4th plane too when selecting the pixfmt.
Fixes a crash with Test-4-component-YCCK.jpg.

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

15 years agoReplace 'test' invocation by 'test -n', this should be safer.
diego [Fri, 26 Sep 2008 21:39:22 +0000 (21:39 +0000)]
Replace 'test' invocation by 'test -n', this should be safer.

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

15 years agoAdd support for passing a version string to configure that is appended to
diego [Fri, 26 Sep 2008 21:37:50 +0000 (21:37 +0000)]
Add support for passing a version string to configure that is appended to
FFmpeg's version string output. This can be used by distributions to mark
their packages as being modified versions without hacking the sources.

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

15 years agoUse better table heading names in the supported formats tables.
diego [Fri, 26 Sep 2008 19:58:27 +0000 (19:58 +0000)]
Use better table heading names in the supported formats tables.

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

15 years agoForgotten changelog update for ASS/SSA (de)muxer.
michael [Fri, 26 Sep 2008 19:57:06 +0000 (19:57 +0000)]
Forgotten changelog update for ASS/SSA (de)muxer.

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

15 years agoASS/SSA muxer.
michael [Fri, 26 Sep 2008 19:42:21 +0000 (19:42 +0000)]
ASS/SSA muxer.

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

15 years agowhitespace cosmetics
diego [Fri, 26 Sep 2008 19:35:17 +0000 (19:35 +0000)]
whitespace cosmetics

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

15 years agoSimplify: avoid duplication backward_filter()
vitor [Fri, 26 Sep 2008 18:42:06 +0000 (18:42 +0000)]
Simplify: avoid duplication backward_filter()

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

15 years agoRemove unused variable.
diego [Fri, 26 Sep 2008 18:11:41 +0000 (18:11 +0000)]
Remove unused variable.

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

15 years agoadd ok parts to the rm demuxer for SIPRO support
banan [Fri, 26 Sep 2008 12:12:25 +0000 (12:12 +0000)]
add ok parts to the rm demuxer for SIPRO support

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

15 years agoAdd support for Acelp.net fourcc and codecid, remuxing wav to avi should work
banan [Fri, 26 Sep 2008 10:59:42 +0000 (10:59 +0000)]
Add support for Acelp.net fourcc and codecid, remuxing wav to avi should work

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

15 years agoDo not loose the '\n'.
michael [Fri, 26 Sep 2008 03:24:05 +0000 (03:24 +0000)]
Do not loose the '\n'.

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

15 years agosync to latest mingw api, remove no more needed struct definitions
bcoudurier [Fri, 26 Sep 2008 03:20:35 +0000 (03:20 +0000)]
sync to latest mingw api, remove no more needed struct definitions

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

15 years ago2 in 1, an ASS and SSA demuxer.
michael [Fri, 26 Sep 2008 02:19:21 +0000 (02:19 +0000)]
2 in 1, an ASS and SSA demuxer.
Tested with -scodec copy on all ASS & SSA samples that i found on mphq (exactly 2).

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

15 years agoinclude sys/select.h, fix freebsd 5.5 compilation
bcoudurier [Fri, 26 Sep 2008 02:13:38 +0000 (02:13 +0000)]
include sys/select.h, fix freebsd 5.5 compilation

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

15 years agoonly include sys/select.h if present, fix mingw compilation
bcoudurier [Fri, 26 Sep 2008 02:12:37 +0000 (02:12 +0000)]
only include sys/select.h if present, fix mingw compilation

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

15 years agoPrevent image2 from complaining about non monotone timestamps as
michael [Fri, 26 Sep 2008 02:07:56 +0000 (02:07 +0000)]
Prevent image2 from complaining about non monotone timestamps as
there are no timestamps in "raw" image2.

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

15 years agoAvoid out of picture accesses when CODEC_FLAG_EMU_EDGE is set.
michael [Thu, 25 Sep 2008 21:44:07 +0000 (21:44 +0000)]
Avoid out of picture accesses when CODEC_FLAG_EMU_EDGE is set.
Fixes issue427.

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

15 years agoDo instead of divising a float by a constant, multiply by its inverse
vitor [Thu, 25 Sep 2008 20:03:57 +0000 (20:03 +0000)]
Do instead of divising a float by a constant, multiply by its inverse

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

15 years agoEnsure that no non-existing frame is used.
michael [Thu, 25 Sep 2008 19:25:28 +0000 (19:25 +0000)]
Ensure that no non-existing frame is used.
Fixes issue624.

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

15 years agoImplement av_nearer_q() and av_find_nearest_q_idx() functions.
stefano [Thu, 25 Sep 2008 19:23:13 +0000 (19:23 +0000)]
Implement av_nearer_q() and av_find_nearest_q_idx() functions.

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

15 years agoDo not free sps & pps on width/height changes.
michael [Thu, 25 Sep 2008 19:01:39 +0000 (19:01 +0000)]
Do not free sps & pps on width/height changes.
Fixes issue557.

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

15 years agoDo not use the generic "alloc missing references" code for h.264 as it does
michael [Thu, 25 Sep 2008 14:34:14 +0000 (14:34 +0000)]
Do not use the generic "alloc missing references" code for h.264 as it does
not work correctly in that case.
Fixes issue652.

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

15 years agoInitialize next/last_picture* as the generic code does not always
michael [Thu, 25 Sep 2008 14:29:35 +0000 (14:29 +0000)]
Initialize next/last_picture* as the generic code does not always
set them to sane values.

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

15 years agoPrint which slices are IDR not just the slice type.
michael [Thu, 25 Sep 2008 12:04:25 +0000 (12:04 +0000)]
Print which slices are IDR not just the slice type.

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

15 years agoFix CAVLC+8x8+MBAFF loop filter.
michael [Thu, 25 Sep 2008 00:41:49 +0000 (00:41 +0000)]
Fix CAVLC+8x8+MBAFF loop filter.
Fixes FREXT02_JVC_C.

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

15 years agocosmetics, remove GXF: in log messages since it is present in context
bcoudurier [Wed, 24 Sep 2008 23:40:55 +0000 (23:40 +0000)]
cosmetics, remove GXF: in log messages since it is present in context

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

15 years agoskip non valid audio samples in gxf packets
bcoudurier [Wed, 24 Sep 2008 23:31:04 +0000 (23:31 +0000)]
skip non valid audio samples in gxf packets

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

15 years agoField -> MBAFF direct mode can use data from fields that are not
michael [Wed, 24 Sep 2008 23:24:24 +0000 (23:24 +0000)]
Field -> MBAFF direct mode can use data from fields that are not
in the reference list. Follow the spec and no comment on the sanity of this
design ...
Fixes HPCAMAPALQ_BRCM_B

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

15 years agoinclude sys/select.h to get select, according to posix 2001,
bcoudurier [Wed, 24 Sep 2008 22:11:53 +0000 (22:11 +0000)]
include sys/select.h to get select, according to posix 2001,
fix compilation on freebsd 5.5

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

15 years agoinclude sys/select.h instead of unistd.h to get select,
bcoudurier [Wed, 24 Sep 2008 22:08:50 +0000 (22:08 +0000)]
include sys/select.h instead of unistd.h to get select,
according to posix 2001, fix compilation on freebsd 5.5

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

15 years agoMove constant multiplication out of the loop
vitor [Wed, 24 Sep 2008 20:31:24 +0000 (20:31 +0000)]
Move constant multiplication out of the loop

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

15 years agoCosmetics: move convolve() together with the other DSP functions
vitor [Wed, 24 Sep 2008 20:05:22 +0000 (20:05 +0000)]
Cosmetics: move convolve() together with the other DSP functions

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

15 years agoSimplify: move division by constant off the loop
vitor [Wed, 24 Sep 2008 20:03:58 +0000 (20:03 +0000)]
Simplify: move division by constant off the loop

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

15 years agostop parsing if tag size is wrongly < 8 to avoid infinite loop
bcoudurier [Wed, 24 Sep 2008 18:55:00 +0000 (18:55 +0000)]
stop parsing if tag size is wrongly < 8 to avoid infinite loop

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

15 years agoAvoid segfault due to not set AVCodec.
michael [Wed, 24 Sep 2008 17:46:23 +0000 (17:46 +0000)]
Avoid segfault due to not set AVCodec.

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

15 years agomerge amr wb case with amr nb and qcelp
bcoudurier [Wed, 24 Sep 2008 17:17:11 +0000 (17:17 +0000)]
merge amr wb case with amr nb and qcelp

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

15 years agoonly write trailer when state says so, should fix issue #646
bcoudurier [Wed, 24 Sep 2008 17:11:46 +0000 (17:11 +0000)]
only write trailer when state says so, should fix issue #646

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

15 years agodo not override sample rate for amr nor qcelp, should fix some qcelp files at 16000hz
bcoudurier [Wed, 24 Sep 2008 17:09:59 +0000 (17:09 +0000)]
do not override sample rate for amr nor qcelp, should fix some qcelp files at 16000hz

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

15 years agoCorrect wrong lower limit and condition used in APE decoder
kostya [Wed, 24 Sep 2008 12:45:28 +0000 (12:45 +0000)]
Correct wrong lower limit and condition used in APE decoder

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

15 years agoASF stands for "advanced stream format" not "adaptive ...", changing it to "ASF".
michael [Wed, 24 Sep 2008 12:03:25 +0000 (12:03 +0000)]
ASF stands for "advanced stream format" not "adaptive ...", changing it to "ASF".

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

15 years agoMerge the 2 lpc loops.
michael [Tue, 23 Sep 2008 23:16:48 +0000 (23:16 +0000)]
Merge the 2 lpc loops.
This changes the output by (stddev:    0.21 PSNR:109.51, file:ddinterview28.ra),
the changes are due to float rounding inaccuracies and do not happen if doubles
are used.

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

15 years agoFactorize lpc code slightly.
michael [Tue, 23 Sep 2008 22:49:22 +0000 (22:49 +0000)]
Factorize lpc code slightly.

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