ffmpeg.git
11 years agostart track id at 2, track id 1 for timecode
Baptiste Coudurier [Mon, 23 Feb 2009 19:51:16 +0000 (19:51 +0000)]
start track id at 2, track id 1 for timecode

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

11 years agoClose the AAC parse context, discovered by Netgem.
Alex Converse [Mon, 23 Feb 2009 19:25:18 +0000 (19:25 +0000)]
Close the AAC parse context, discovered by Netgem.

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

11 years agoRemove CPUID availability check on AMD64 as it's architectural.
Zuxy Meng [Mon, 23 Feb 2009 15:53:39 +0000 (15:53 +0000)]
Remove CPUID availability check on AMD64 as it's architectural.

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

11 years agoCheck return value of ff_fill_pointer in avcodec_default_get_buffer,
Reimar Döffinger [Mon, 23 Feb 2009 15:18:28 +0000 (15:18 +0000)]
Check return value of ff_fill_pointer in avcodec_default_get_buffer,
if it returns -1 we do not know how to allocate an AVFrame for that format
and must return -1 instead of returning nonsense.

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

11 years ago100l, always declare variables at the top of a block, not inside a for ()
Reimar Döffinger [Mon, 23 Feb 2009 14:02:11 +0000 (14:02 +0000)]
100l, always declare variables at the top of a block, not inside a for ()

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

11 years agoMore approved hunks for VAAPI & our new and cleaner hwaccel API.
Gwenole Beauchesne [Mon, 23 Feb 2009 13:44:51 +0000 (13:44 +0000)]
More approved hunks for VAAPI & our new and cleaner hwaccel API.
patch by Gwenole Beauchesne gbeauchesne splitted-desktop com

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

11 years agoApproved hunks for VAAPI / our new shiny hwaccel API
Michael Niedermayer [Mon, 23 Feb 2009 13:35:52 +0000 (13:35 +0000)]
Approved hunks for VAAPI / our new shiny hwaccel API
by Gwenole Beauchesne gbeauchesne splitted desktop com

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

11 years agoAllow av_find_stream_info() to be aborted.
Michael Niedermayer [Mon, 23 Feb 2009 02:38:45 +0000 (02:38 +0000)]
Allow av_find_stream_info() to be aborted.
Based on a patch by netgem.

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

11 years agoCheck if -lrt is required for nanosleep, as is the case on Solaris.
Diego Biurrun [Mon, 23 Feb 2009 01:56:08 +0000 (01:56 +0000)]
Check if -lrt is required for nanosleep, as is the case on Solaris.
inspired by a patch from Fabian Groffen, grobian gentoo org

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

11 years agoDocument 'ffmpeg -formats', patch by Daniel Verkamp, daniel drv nu.
Daniel Verkamp [Mon, 23 Feb 2009 01:47:18 +0000 (01:47 +0000)]
Document 'ffmpeg -formats', patch by Daniel Verkamp, daniel drv nu.

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

11 years agoUpdates notes about which files are GPL.
Diego Biurrun [Mon, 23 Feb 2009 01:36:22 +0000 (01:36 +0000)]
Updates notes about which files are GPL.

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

11 years agoFix xvmc object dependencies.
Diego Biurrun [Sun, 22 Feb 2009 23:13:00 +0000 (23:13 +0000)]
Fix xvmc object dependencies.

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

11 years agoFix vc1 split().
Michael Niedermayer [Sun, 22 Feb 2009 20:48:12 +0000 (20:48 +0000)]
Fix vc1 split().
Fixes Subtitle-sample.evo, issue52.

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

11 years agoBetter parsing of i263 picture header
Kostya Shishkov [Sun, 22 Feb 2009 18:13:40 +0000 (18:13 +0000)]
Better parsing of i263 picture header

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

11 years agoCompact repeated messages to "Last message repeated x times".
Michael Niedermayer [Sun, 22 Feb 2009 17:53:14 +0000 (17:53 +0000)]
Compact repeated messages to "Last message repeated x times".

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

11 years agomention raw Chinese AVS video demuxer
Stefan Gehrer [Sun, 22 Feb 2009 14:39:06 +0000 (14:39 +0000)]
mention raw Chinese AVS video demuxer

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

11 years agoSearch for things like "int *src" without const.
Michael Niedermayer [Sun, 22 Feb 2009 14:29:48 +0000 (14:29 +0000)]
Search for things like "int *src" without const.

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

11 years agoSplit avutil.h, move all the pixel format definitions to the new
Stefano Sabatini [Sun, 22 Feb 2009 14:27:50 +0000 (14:27 +0000)]
Split avutil.h, move all the pixel format definitions to the new
dedicated file pixfmt.h.

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

11 years agoconsistent naming of Chinese AVS raw demuxer
Stefan Gehrer [Sun, 22 Feb 2009 14:27:50 +0000 (14:27 +0000)]
consistent naming of Chinese AVS raw demuxer

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

11 years agoAdd missing av_cold in static init/close functions.
Daniel Verkamp [Sun, 22 Feb 2009 13:48:55 +0000 (13:48 +0000)]
Add missing av_cold in static init/close functions.

Patch by Daniel Verkamp daniel at drv dot nu.

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

11 years agoAdd note about big vs. little endian.
Michael Niedermayer [Sun, 22 Feb 2009 13:48:25 +0000 (13:48 +0000)]
Add note about big vs. little endian.

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

11 years agoConvert x264 asm files to proper unix line breaks
Jason Garrett-Glaser [Sun, 22 Feb 2009 11:35:32 +0000 (11:35 +0000)]
Convert x264 asm files to proper unix line breaks

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

11 years agoRemove (incorrect) filenames from x264 asm files, add descriptions.
Jason Garrett-Glaser [Sun, 22 Feb 2009 11:33:09 +0000 (11:33 +0000)]
Remove (incorrect) filenames from x264 asm files, add descriptions.

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

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