ffmpeg.git
10 years agoApproved hunk from the AVHWaccel patch by Gwenole Beauchesne.
Gwenole Beauchesne [Tue, 24 Feb 2009 18:24:56 +0000 (18:24 +0000)]
Approved hunk from the AVHWaccel patch by Gwenole Beauchesne.

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

10 years agoDo not reimplement ff_celp_lp_synthesis_filterf().
Vitor Sessak [Tue, 24 Feb 2009 18:11:42 +0000 (18:11 +0000)]
Do not reimplement ff_celp_lp_synthesis_filterf().

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

10 years agoRename buf_vdpau to buf_start
Gwenole Beauchesne [Tue, 24 Feb 2009 17:09:57 +0000 (17:09 +0000)]
Rename buf_vdpau to buf_start
Patch by Gwenole Beauchesne <g$lastname> <at> <(antonym of "joined")-desktop><com>

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

10 years agoAdd ff_h263_find_resync_marker() to find the bit position of the next resync_marker...
Gwenole Beauchesne [Tue, 24 Feb 2009 16:12:47 +0000 (16:12 +0000)]
Add ff_h263_find_resync_marker() to find the bit position of the next resync_marker, if any.
patch by Gwenole Beauchesne gbeauchesne splitted-desktopcom
based on suggested implementation by me

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

10 years agocheck for a stuffing byte at the end of a slice
Stefan Gehrer [Tue, 24 Feb 2009 15:56:53 +0000 (15:56 +0000)]
check for a stuffing byte at the end of a slice

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

10 years agochange macroblock loop in inter frames so that after a
Stefan Gehrer [Tue, 24 Feb 2009 15:54:51 +0000 (15:54 +0000)]
change macroblock loop in inter frames so that after a
slice header the skip count is always parsed first

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

10 years ago100l: Revert removal of GPL check for libswscale.
Diego Biurrun [Tue, 24 Feb 2009 15:33:39 +0000 (15:33 +0000)]
100l: Revert removal of GPL check for libswscale.
libswscale still compiles GPL parts by default.

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

10 years agoRelicense AltiVec optimizations as LGPL with the permission of Marc Hoffman
Diego Biurrun [Tue, 24 Feb 2009 15:27:14 +0000 (15:27 +0000)]
Relicense AltiVec optimizations as LGPL with the permission of Marc Hoffman
and Reza Jelveh, the original authors.

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

10 years agoThe software scaler is no longer GPLed.
Diego Biurrun [Tue, 24 Feb 2009 15:11:45 +0000 (15:11 +0000)]
The software scaler is no longer GPLed.

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

10 years agoDo not duplicate frames if the muxer claims that it is not needed.
Michael Niedermayer [Tue, 24 Feb 2009 15:06:17 +0000 (15:06 +0000)]
Do not duplicate frames if the muxer claims that it is not needed.
Note to release manager, this is risky and should be reverted if
it causes any problem.

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

10 years agoAdd AVFMT_VARIABLE_FPS to specify which muxers do not need duplicated frames.
Michael Niedermayer [Tue, 24 Feb 2009 15:04:18 +0000 (15:04 +0000)]
Add AVFMT_VARIABLE_FPS to specify which muxers do not need duplicated frames.

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

10 years agoUpdate information regarding LGPL libswscale.
Diego Biurrun [Tue, 24 Feb 2009 14:53:46 +0000 (14:53 +0000)]
Update information regarding LGPL libswscale.

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

10 years agoRemove GPL version of yuv2rgb.c that has been replaced by an LGPL substitute.
Diego Biurrun [Tue, 24 Feb 2009 14:50:28 +0000 (14:50 +0000)]
Remove GPL version of yuv2rgb.c that has been replaced by an LGPL substitute.

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

10 years agoMark two variables with av_uninit to avoid false positive gcc warnings.
Diego Biurrun [Tue, 24 Feb 2009 14:13:46 +0000 (14:13 +0000)]
Mark two variables with av_uninit to avoid false positive gcc warnings.

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

10 years agoAdd CODEC_ID_H264 to tb_unreliable(), it belongs there for the same
Michael Niedermayer [Tue, 24 Feb 2009 13:35:54 +0000 (13:35 +0000)]
Add CODEC_ID_H264 to tb_unreliable(), it belongs there for the same
reason as mpeg2. (telecine amongth others)

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

10 years agoFix get_ur_golomb_jpegls() with A32_BITSTREAM_READER
Måns Rullgård [Tue, 24 Feb 2009 01:41:44 +0000 (01:41 +0000)]
Fix get_ur_golomb_jpegls() with A32_BITSTREAM_READER

If k==0, log==0 can indicate that the coded value uses more than
MIN_CACHE_BITS bits.  With MIN_CACHE_BITS==32, the fast branch is
incorrectly taken in this case unless explicitly forbidden.

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

10 years agoAVPixFmtDescriptor doxy
Michael Niedermayer [Tue, 24 Feb 2009 01:12:25 +0000 (01:12 +0000)]
AVPixFmtDescriptor doxy

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

10 years agoPixel Format descriptor, try #1.
Michael Niedermayer [Tue, 24 Feb 2009 01:08:29 +0000 (01:08 +0000)]
Pixel Format descriptor, try #1.
(yes its intentionally unused, this is intended as a basis for further
 work, and to prevent repeation of the whole discussion dying and the
 results being forgotten)

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

10 years agoImplement in AVFilterGraph the scale_sws_opts field, and pass its
Stefano Sabatini [Mon, 23 Feb 2009 23:45:21 +0000 (23:45 +0000)]
Implement in AVFilterGraph the scale_sws_opts field, and pass its
value in the args for the auto-inserted scale filters.

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

10 years agoChange sign in ff_celp_lp_synthesis_filterf(). This makes this function
Kenan Gillet [Mon, 23 Feb 2009 22:19:16 +0000 (22:19 +0000)]
Change sign in ff_celp_lp_synthesis_filterf(). This makes this function
useful for AMR and RA144.

Patch by Kenan Gillet

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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