ffmpeg.git
11 years agoFix gcc detection: Not all gcc versions have "(GCC)" in the version string.
Diego Biurrun [Sun, 22 Feb 2009 11:04:22 +0000 (11:04 +0000)]
Fix gcc detection: Not all gcc versions have "(GCC)" in the version string.

Originally committed as revision 17522 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomention MXF D-10 Mapping muxer in documentation
Baptiste Coudurier [Sun, 22 Feb 2009 10:47:16 +0000 (10:47 +0000)]
mention MXF D-10 Mapping muxer in documentation

Originally committed as revision 17521 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoCheck return value of frame_start(), this avoids a crash if AVCodecContext::get_buffe...
Reimar Döffinger [Sun, 22 Feb 2009 09:51:58 +0000 (09:51 +0000)]
Check return value of frame_start(), this avoids a crash if AVCodecContext::get_buffer failed.
Not sure if returning -1 is the best possible solution but at least avoids the crash.

Originally committed as revision 17520 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSupport playback of incorrectly cut DV files where the headers do not
Reimar Döffinger [Sun, 22 Feb 2009 09:42:56 +0000 (09:42 +0000)]
Support playback of incorrectly cut DV files where the headers do not
start at the first byte.

Originally committed as revision 17519 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUpdate regressions for YUV2RGB table generator change in SwScaler
Kostya Shishkov [Sun, 22 Feb 2009 09:23:29 +0000 (09:23 +0000)]
Update regressions for YUV2RGB table generator change in SwScaler

Originally committed as revision 17518 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoNew LGPLed YUV2RGB table generator for SwScaler
Kostya Shishkov [Sun, 22 Feb 2009 09:22:05 +0000 (09:22 +0000)]
New LGPLed YUV2RGB table generator for SwScaler

Originally committed as revision 28700 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agoChange the type of pblocks from pointers to short array into
Ivan Kalvachev [Sun, 22 Feb 2009 09:02:06 +0000 (09:02 +0000)]
Change the type of pblocks from pointers to short array into
pointers to array of 64 DCTELEM, similarly to other block fields.
This also get rid of some casts and fixes a warning.

Originally committed as revision 17517 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoadd bandwidth before failing if feed is already being received
Baptiste Coudurier [Sun, 22 Feb 2009 02:06:55 +0000 (02:06 +0000)]
add bandwidth before failing if feed is already being received

Originally committed as revision 17516 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agodo not set error if an unknown parameter is in config file, just skip
Baptiste Coudurier [Sun, 22 Feb 2009 02:04:24 +0000 (02:04 +0000)]
do not set error if an unknown parameter is in config file, just skip

Originally committed as revision 17515 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agocheck av_get_packet return value
Baptiste Coudurier [Sun, 22 Feb 2009 01:07:46 +0000 (01:07 +0000)]
check av_get_packet return value

Originally committed as revision 17514 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoIncrease ffmpeg intermediate conversion buffer size to accomodate 48-bit RGB rawvideo
Peter Ross [Sun, 22 Feb 2009 01:00:28 +0000 (01:00 +0000)]
Increase ffmpeg intermediate conversion buffer size to accomodate 48-bit RGB rawvideo
images.

Originally committed as revision 17513 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoIncrease ffmpeg intermediate conversion buffer size to accomodate PPM/PNM header.
Peter Ross [Sun, 22 Feb 2009 00:58:51 +0000 (00:58 +0000)]
Increase ffmpeg intermediate conversion buffer size to accomodate PPM/PNM header.

Originally committed as revision 17512 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSupport 48-bit RGB PPM image.
Peter Ross [Sun, 22 Feb 2009 00:56:55 +0000 (00:56 +0000)]
Support 48-bit RGB PPM image.

Originally committed as revision 17511 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd PIX_FMT_RGB48BE and PIX_FMT_RGB48LE.
Peter Ross [Sun, 22 Feb 2009 00:55:49 +0000 (00:55 +0000)]
Add PIX_FMT_RGB48BE and PIX_FMT_RGB48LE.

Originally committed as revision 17510 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoreturn AVERROR(ENOMEM) if alloc failed, set count after alloc, use variable when...
Baptiste Coudurier [Sun, 22 Feb 2009 00:20:07 +0000 (00:20 +0000)]
return AVERROR(ENOMEM) if alloc failed, set count after alloc, use variable when reallocing, based on patch by Netgem

Originally committed as revision 17509 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAvoid warnings from AV_GCC_VERSION_AT_LEAST with some non-gcc compilers
Måns Rullgård [Sun, 22 Feb 2009 00:13:23 +0000 (00:13 +0000)]
Avoid warnings from AV_GCC_VERSION_AT_LEAST with some non-gcc compilers

Originally committed as revision 17508 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoconfigure: detect ccc compiler (Alpha) and set required flags
Måns Rullgård [Sun, 22 Feb 2009 00:13:19 +0000 (00:13 +0000)]
configure: detect ccc compiler (Alpha) and set required flags

Originally committed as revision 17507 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoparse aac extradata to fetch channels and sample rate, patch from Netgem
Baptiste Coudurier [Sat, 21 Feb 2009 23:54:50 +0000 (23:54 +0000)]
parse aac extradata to fetch channels and sample rate, patch from Netgem

Originally committed as revision 17506 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoWaste less space for printing timebases.
Michael Niedermayer [Sat, 21 Feb 2009 23:00:07 +0000 (23:00 +0000)]
Waste less space for printing timebases.

Originally committed as revision 17505 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRename RTSPHeader to RTSPMessageHeader to reflect more clearly what the
Ronald S. Bultje [Sat, 21 Feb 2009 22:26:44 +0000 (22:26 +0000)]
Rename RTSPHeader to RTSPMessageHeader to reflect more clearly what the
structure is meant to represent. See "[PATCH] rtsp.[ch]: RTSPHeader ->
RTSPServerResponse" and "[PATCH] document rtsp.h" threads on ML.

Originally committed as revision 17504 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoconfigure: indent
Måns Rullgård [Sat, 21 Feb 2009 22:12:47 +0000 (22:12 +0000)]
configure: indent

Originally committed as revision 17503 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoPrint all timebases (idea from netgem)
Michael Niedermayer [Sat, 21 Feb 2009 21:30:44 +0000 (21:30 +0000)]
Print all timebases (idea from netgem)

Originally committed as revision 17502 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoCheck the return values of a few functions to avoid the corresponding warnings.
Patrik Kullman [Sat, 21 Feb 2009 21:09:38 +0000 (21:09 +0000)]
Check the return values of a few functions to avoid the corresponding warnings.
patch by Patrik Kullman, patrik yes nu

Originally committed as revision 17501 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoPass sysroot argument to gcc
Måns Rullgård [Sat, 21 Feb 2009 21:07:37 +0000 (21:07 +0000)]
Pass sysroot argument to gcc

Originally committed as revision 17500 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd --sysroot and --sysinclude configure options
Måns Rullgård [Sat, 21 Feb 2009 21:07:34 +0000 (21:07 +0000)]
Add --sysroot and --sysinclude configure options

Some cross-compilers need these parameters, and we can't
figure out the correct values.

Originally committed as revision 17499 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoconfigure: move detection of compiler type to single location
Måns Rullgård [Sat, 21 Feb 2009 21:07:32 +0000 (21:07 +0000)]
configure: move detection of compiler type to single location

Originally committed as revision 17498 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoCheck for alloc failures.
Michael Niedermayer [Sat, 21 Feb 2009 20:57:46 +0000 (20:57 +0000)]
Check for alloc failures.

Originally committed as revision 17497 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoCheck for EOF during index reading.
Michael Niedermayer [Sat, 21 Feb 2009 20:44:39 +0000 (20:44 +0000)]
Check for EOF during index reading.

Originally committed as revision 17496 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoCheck return value of posix_memalign and explicitly set pointer to NULL if it
Patrik Kullman [Sat, 21 Feb 2009 20:38:27 +0000 (20:38 +0000)]
Check return value of posix_memalign and explicitly set pointer to NULL if it
fails, patch by Patrik Kullman, patrik yes nu.

Originally committed as revision 17495 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUse av_strdup to allocate string, prevents the warning:
Patrik Kullman [Sat, 21 Feb 2009 20:35:58 +0000 (20:35 +0000)]
Use av_strdup to allocate string, prevents the warning:
vhook/fish.c:130: warning: assignment discards qualifiers from pointer target type
patch by Patrik Kullman, patrik yes nu

Originally committed as revision 17494 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRevert adding av_uninit to out_width/out_height variables.
Diego Biurrun [Sat, 21 Feb 2009 20:29:49 +0000 (20:29 +0000)]
Revert adding av_uninit to out_width/out_height variables.
The warning is not a false positive.

Originally committed as revision 17493 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUse context variable repeat_pict for frame duration computation and
Ivan Schreter [Sat, 21 Feb 2009 20:11:47 +0000 (20:11 +0000)]
Use context variable repeat_pict for frame duration computation and
document this new use.

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17492 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoHandle chunks with the MSB in size set correctly that is unsigned.
Michael Niedermayer [Sat, 21 Feb 2009 20:11:34 +0000 (20:11 +0000)]
Handle chunks with the MSB in size set correctly that is unsigned.

Originally committed as revision 17491 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSet context variable picture_structure in H264 parser.
Ivan Schreter [Sat, 21 Feb 2009 20:03:05 +0000 (20:03 +0000)]
Set context variable picture_structure in H264 parser.

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17490 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSet context variable key_frame in H264 parser.
Ivan Schreter [Sat, 21 Feb 2009 19:59:25 +0000 (19:59 +0000)]
Set context variable key_frame in H264 parser.

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17489 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoParse NAL units in H264 parser.
Ivan Schreter [Sat, 21 Feb 2009 19:56:50 +0000 (19:56 +0000)]
Parse NAL units in H264 parser.

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17488 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMake the following H264 functions available to the parser:
Ivan Schreter [Sat, 21 Feb 2009 19:54:14 +0000 (19:54 +0000)]
Make the following H264 functions available to the parser:
ff_h264_decode_sei, ff_h264_decode_seq_parameter_set,
ff_h264_decode_picture_parameter_set, ff_h264_decode_nal,
ff_h264_decode_rbsp_trailing

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17487 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoBail out if regtest-flashsv is run but zlib is not enabled.
Diego Biurrun [Sat, 21 Feb 2009 18:41:52 +0000 (18:41 +0000)]
Bail out if regtest-flashsv is run but zlib is not enabled.

Originally committed as revision 17486 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix swscale-error vs. swscale_error typo; it is marked as the former in .PHONY.
Diego Biurrun [Sat, 21 Feb 2009 18:31:38 +0000 (18:31 +0000)]
Fix swscale-error vs. swscale_error typo; it is marked as the former in .PHONY.

Originally committed as revision 17485 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRemove special treatment of version.h in DEPEND_CMD
Måns Rullgård [Sat, 21 Feb 2009 18:19:29 +0000 (18:19 +0000)]
Remove special treatment of version.h in DEPEND_CMD

Originally committed as revision 17484 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoDeclare version.h dependencies explicitly
Måns Rullgård [Sat, 21 Feb 2009 18:19:26 +0000 (18:19 +0000)]
Declare version.h dependencies explicitly

Originally committed as revision 17483 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoBe less noisy with invalid pts/dts.
Michael Niedermayer [Sat, 21 Feb 2009 17:29:25 +0000 (17:29 +0000)]
Be less noisy with invalid pts/dts.

Originally committed as revision 17482 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoindent
Michael Niedermayer [Sat, 21 Feb 2009 17:17:09 +0000 (17:17 +0000)]
indent

Originally committed as revision 17481 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoCorrect, portable definition of INT_BIT
Måns Rullgård [Sat, 21 Feb 2009 16:03:30 +0000 (16:03 +0000)]
Correct, portable definition of INT_BIT

Originally committed as revision 17480 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoconfigure: add (empty) avr32 arch case
Måns Rullgård [Sat, 21 Feb 2009 16:03:27 +0000 (16:03 +0000)]
configure: add (empty) avr32 arch case

Originally committed as revision 17479 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoconfigure: sort cases in arch section
Måns Rullgård [Sat, 21 Feb 2009 16:03:25 +0000 (16:03 +0000)]
configure: sort cases in arch section

Originally committed as revision 17478 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAlpha: fix inline asm with DEC/Compaq/HP compiler
Måns Rullgård [Sat, 21 Feb 2009 16:03:23 +0000 (16:03 +0000)]
Alpha: fix inline asm with DEC/Compaq/HP compiler

Originally committed as revision 17477 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoTake account of struct size in total packet queue size tracking.
Aurelien Jacobs [Sat, 21 Feb 2009 16:01:52 +0000 (16:01 +0000)]
Take account of struct size in total packet queue size tracking.
fix issue806

Originally committed as revision 17476 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix raw rgb/bgr vertical flip in avi based on info from http://www.fourcc.org/fccbihg...
Michael Niedermayer [Sat, 21 Feb 2009 15:32:56 +0000 (15:32 +0000)]
Fix raw rgb/bgr vertical flip in avi based on info from fourcc.org/fccbihgt.php.
partially fixes issue862.

Originally committed as revision 17475 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFactorize some code in yuv2rgb_template.c to ease further yuva2rgb patch.
Cédric Schieli [Sat, 21 Feb 2009 14:51:01 +0000 (14:51 +0000)]
Factorize some code in yuv2rgb_template.c to ease further yuva2rgb patch.

Patch by Cédric Schieli, cschieli gmail

Originally committed as revision 28690 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agoChange sizeof(struct_type) to sizeof(variable).
Ronald S. Bultje [Sat, 21 Feb 2009 14:40:19 +0000 (14:40 +0000)]
Change sizeof(struct_type) to sizeof(variable).

Originally committed as revision 17474 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomove zeroing of alpha channel register out of YSCALEYUV2xxx macros,
Cédric Schieli [Sat, 21 Feb 2009 10:54:29 +0000 (10:54 +0000)]
move zeroing of alpha channel register out of YSCALEYUV2xxx macros,
patch by Cédric Schieli (cschieli at gmail youknowwhat)

Originally committed as revision 28687 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agosplits various YSCALEYUV2xxx macros into YSCALEYUV2xxx_UV,
Cédric Schieli [Sat, 21 Feb 2009 10:52:59 +0000 (10:52 +0000)]
splits various YSCALEYUV2xxx macros into YSCALEYUV2xxx_UV,
 YSCALEYUV2xxx_YA and YSCALEYUV2xxx_COEFF,
patch by Cédric Schieli (cschieli at gmail youknowwhat)

Originally committed as revision 28686 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agomake MMX registers parametrized in the WRITEBGR32 macro,
Cédric Schieli [Sat, 21 Feb 2009 10:49:52 +0000 (10:49 +0000)]
make MMX registers parametrized in the WRITEBGR32 macro,
patch by Cédric Schieli (cschieli at gmail youknowwhat)

Originally committed as revision 28685 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agoadd raw demuxer for Chinese AVS elementary streams
Stefan Gehrer [Sat, 21 Feb 2009 10:34:29 +0000 (10:34 +0000)]
add raw demuxer for Chinese AVS elementary streams

Originally committed as revision 17473 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSet the correct number of samples for E-AC-3 in the AC3 parser.
Justin Ruggles [Fri, 20 Feb 2009 22:00:41 +0000 (22:00 +0000)]
Set the correct number of samples for E-AC-3 in the AC3 parser.

Originally committed as revision 17472 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUse last decoded SPS as current SPS in order to parse picture timing SEI
Ivan Schreter [Fri, 20 Feb 2009 16:20:01 +0000 (16:20 +0000)]
Use last decoded SPS as current SPS in order to parse picture timing SEI
correctly. This works around an apparent H.264 standard deficiency.

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17471 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd myself as maintainer for American Laser Games and Electronic Arts decoders.
Peter Ross [Fri, 20 Feb 2009 12:03:35 +0000 (12:03 +0000)]
Add myself as maintainer for American Laser Games and Electronic Arts decoders.

Originally committed as revision 17470 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFixing a value returning issue
Roman Shaposhnik [Fri, 20 Feb 2009 02:00:44 +0000 (02:00 +0000)]
Fixing a value returning issue

Originally committed as revision 17469 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd convergence_duration to AVCodecParserContext.
Ivan Schreter [Thu, 19 Feb 2009 23:35:59 +0000 (23:35 +0000)]
Add convergence_duration to AVCodecParserContext.

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17468 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRe-indent after last commit
Alex Converse [Thu, 19 Feb 2009 23:24:41 +0000 (23:24 +0000)]
Re-indent after last commit

Originally committed as revision 17467 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAAC in ASF does not need parsing.
Alex Converse [Thu, 19 Feb 2009 23:23:53 +0000 (23:23 +0000)]
AAC in ASF does not need parsing.

Originally committed as revision 17466 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd Divio MPEG-4 FOURCC (M4CC)
Alex Converse [Thu, 19 Feb 2009 23:09:24 +0000 (23:09 +0000)]
Add Divio MPEG-4 FOURCC (M4CC)

Originally committed as revision 17465 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoReindent after last commit
Alex Converse [Thu, 19 Feb 2009 23:08:23 +0000 (23:08 +0000)]
Reindent after last commit

Originally committed as revision 17464 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSilence two warnings:
Ivan Schreter [Thu, 19 Feb 2009 23:01:13 +0000 (23:01 +0000)]
Silence two warnings:
cast discards qualifiers from pointer target type

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17463 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoSome buffer checks for indeo3
Alex Converse [Thu, 19 Feb 2009 22:56:35 +0000 (22:56 +0000)]
Some buffer checks for indeo3

Originally committed as revision 17462 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomatroskadec: fix seek regression tests according to r17460
Aurelien Jacobs [Thu, 19 Feb 2009 21:41:40 +0000 (21:41 +0000)]
matroskadec: fix seek regression tests according to r17460

Originally committed as revision 17461 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agomatroskadec: return AVERROR_EOF upon detection of end of file
Aurelien Jacobs [Thu, 19 Feb 2009 21:01:45 +0000 (21:01 +0000)]
matroskadec: return AVERROR_EOF upon detection of end of file

Originally committed as revision 17460 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoA try to fix the regressions.
Michael Niedermayer [Thu, 19 Feb 2009 17:54:23 +0000 (17:54 +0000)]
A try to fix the regressions.

Originally committed as revision 17459 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFFplay: Stop processing input file when AVERROR_EOF is returned from av_read_frame()
Peter Ross [Thu, 19 Feb 2009 12:21:09 +0000 (12:21 +0000)]
FFplay: Stop processing input file when AVERROR_EOF is returned from av_read_frame()

Originally committed as revision 17458 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFLV demuxer: return AVERROR_EOF upon detection of end of file.
Peter Ross [Thu, 19 Feb 2009 12:19:55 +0000 (12:19 +0000)]
FLV demuxer: return AVERROR_EOF upon detection of end of file.

Originally committed as revision 17457 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAVI demuxer: return AVERROR_EOF upon detection of end of file.
Peter Ross [Thu, 19 Feb 2009 12:19:33 +0000 (12:19 +0000)]
AVI demuxer: return AVERROR_EOF upon detection of end of file.

Originally committed as revision 17456 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd AVERROR_EOF.
Peter Ross [Thu, 19 Feb 2009 12:18:09 +0000 (12:18 +0000)]
Add AVERROR_EOF.

Originally committed as revision 17455 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMark functions only used within the test programs as static.
Diego Biurrun [Thu, 19 Feb 2009 10:09:46 +0000 (10:09 +0000)]
Mark functions only used within the test programs as static.

Originally committed as revision 17454 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd more paranoid checks of xvmc token.
Ivan Kalvachev [Thu, 19 Feb 2009 09:55:52 +0000 (09:55 +0000)]
Add more paranoid checks of xvmc token.

Originally committed as revision 17453 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoExit with error if MPV_common_init() is called with PIX_FMT_NONE.
Ivan Kalvachev [Thu, 19 Feb 2009 08:39:47 +0000 (08:39 +0000)]
Exit with error if MPV_common_init() is called with PIX_FMT_NONE.
Give nice error message to fix codecs that call it this way.

Originally committed as revision 17452 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoOnly enable SSE/3DNOW optimizations when they have been enabled at compilation.
Diego Biurrun [Thu, 19 Feb 2009 00:54:59 +0000 (00:54 +0000)]
Only enable SSE/3DNOW optimizations when they have been enabled at compilation.
Fixes shared build with SSE/3DNOW disabled but MMX and yasm enabled.

Originally committed as revision 17451 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoDirectly #include required X11/XvMC header.
Diego Biurrun [Thu, 19 Feb 2009 00:47:11 +0000 (00:47 +0000)]
Directly #include required X11/XvMC header.

Originally committed as revision 17450 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agotransitioning dv_guess_dct_mode to dsputil cmp function
Roman Shaposhnik [Thu, 19 Feb 2009 00:34:42 +0000 (00:34 +0000)]
transitioning dv_guess_dct_mode to dsputil cmp function

Originally committed as revision 17449 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdding 2 intra 8x8 cmp functions: vsad, vsse
Roman Shaposhnik [Thu, 19 Feb 2009 00:30:24 +0000 (00:30 +0000)]
Adding 2 intra 8x8 cmp functions: vsad, vsse

Originally committed as revision 17448 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAllow AC-3 parser to modify codec_id.
Joakim Plate [Thu, 19 Feb 2009 00:28:19 +0000 (00:28 +0000)]
Allow AC-3 parser to modify codec_id.
Patch by Joakim Plate (elupus A ecce D se).

Originally committed as revision 17447 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMaking the arrays accomodate an extra intra 8x8 cmp function
Roman Shaposhnik [Thu, 19 Feb 2009 00:28:08 +0000 (00:28 +0000)]
Making the arrays accomodate an extra intra 8x8 cmp function

Originally committed as revision 17446 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agofix missing dependencies
Aurelien Jacobs [Thu, 19 Feb 2009 00:27:57 +0000 (00:27 +0000)]
fix missing dependencies

Originally committed as revision 17445 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoFix typo: explixitly -> explicitly.
Stefano Sabatini [Thu, 19 Feb 2009 00:14:41 +0000 (00:14 +0000)]
Fix typo: explixitly -> explicitly.

Originally committed as revision 17444 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoprettyprinting whitespace cosmetics
Diego Biurrun [Thu, 19 Feb 2009 00:06:17 +0000 (00:06 +0000)]
prettyprinting whitespace cosmetics

Originally committed as revision 17443 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd key_frame to AVCodecParserContext, used in libavformat.
Ivan Schreter [Wed, 18 Feb 2009 23:46:05 +0000 (23:46 +0000)]
Add key_frame to AVCodecParserContext, used in libavformat.
Initialized to -1 in parser.c for backward compatibility.

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17442 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoParse buffering period (H.264, D.1.1).
Ivan Schreter [Wed, 18 Feb 2009 23:33:30 +0000 (23:33 +0000)]
Parse buffering period (H.264, D.1.1).

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17441 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoThe 3DNow! and SSE FFT optimizations depend on the yasm optimizations in
Diego Biurrun [Wed, 18 Feb 2009 23:32:41 +0000 (23:32 +0000)]
The 3DNow! and SSE FFT optimizations depend on the yasm optimizations in
x86/fft_mmx.asm, so only build them if the latter is built.

Originally committed as revision 17440 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoStore CPB count in the context.
Ivan Schreter [Wed, 18 Feb 2009 23:25:59 +0000 (23:25 +0000)]
Store CPB count in the context.

Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17439 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoRename the "src" parameter in the sws_scale() declaration to
Stefano Sabatini [Wed, 18 Feb 2009 23:16:31 +0000 (23:16 +0000)]
Rename the "src" parameter in the sws_scale() declaration to
"srcSlice" to stress the fact that it references a slice rather than an
image.

Originally committed as revision 28655 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agoDocument sws_scale().
Stefano Sabatini [Wed, 18 Feb 2009 23:11:47 +0000 (23:11 +0000)]
Document sws_scale().

Originally committed as revision 28654 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agoUse const qualifier for the variable "tbp", fix warning.
Stefano Sabatini [Wed, 18 Feb 2009 21:32:59 +0000 (21:32 +0000)]
Use const qualifier for the variable "tbp", fix warning.

Originally committed as revision 17438 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoUse parentheses around assignment used as truth value, fix warning.
Stefano Sabatini [Wed, 18 Feb 2009 21:30:44 +0000 (21:30 +0000)]
Use parentheses around assignment used as truth value, fix warning.

Originally committed as revision 17437 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAssign const qualifier to the font variable, fix warning.
Stefano Sabatini [Wed, 18 Feb 2009 21:29:03 +0000 (21:29 +0000)]
Assign const qualifier to the font variable, fix warning.

Originally committed as revision 17436 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoAdd const qualifier to the error var, fix warnings.
Stefano Sabatini [Wed, 18 Feb 2009 21:20:02 +0000 (21:20 +0000)]
Add const qualifier to the error var, fix warnings.

Originally committed as revision 17435 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoMove debug trace to the new compute_frame_delay() function.
Tomer Barletz [Wed, 18 Feb 2009 15:25:57 +0000 (15:25 +0000)]
Move debug trace to the new compute_frame_delay() function.
Patch by Tomer Barletz: barletz gmail

Originally committed as revision 17434 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoCosmetics: reindent after previous commit.
Benoit Fouet [Wed, 18 Feb 2009 15:23:30 +0000 (15:23 +0000)]
Cosmetics: reindent after previous commit.

Originally committed as revision 17433 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoDo not force last delay value to its own value.
Tomer Barletz [Wed, 18 Feb 2009 15:23:05 +0000 (15:23 +0000)]
Do not force last delay value to its own value.
Adapted from a patch by Tomer Barletz: surname chez gmail

Originally committed as revision 17432 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoExtract into its own function the code to compute frame delay.
Tomer Barletz [Wed, 18 Feb 2009 15:17:39 +0000 (15:17 +0000)]
Extract into its own function the code to compute frame delay.
Patch by Tomer Barletz gmail_address(last_name)

Originally committed as revision 17431 to svn://svn.ffmpeg.org/ffmpeg/trunk

11 years agoav_alloc_format_context has been renamed, update AVFormatContext av_class
avcoder [Wed, 18 Feb 2009 14:01:46 +0000 (14:01 +0000)]
av_alloc_format_context has been renamed, update AVFormatContext av_class
documentation accordingly.
Patch by avcoder: `gmail_address(ffmpeg)`

Originally committed as revision 17430 to svn://svn.ffmpeg.org/ffmpeg/trunk