platform/upstream/libav.git
15 years agoUse srcptr_end variable to avoid having to update both srcptr and srclen.
Reimar Döffinger [Sun, 31 May 2009 10:26:58 +0000 (10:26 +0000)]
Use srcptr_end variable to avoid having to update both srcptr and srclen.

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

15 years agoChange buffer size checks to avoid the undefined overflow case.
Reimar Döffinger [Sun, 31 May 2009 10:23:38 +0000 (10:23 +0000)]
Change buffer size checks to avoid the undefined overflow case.

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

15 years agoSimply use memcpy instead of AV_RN32/AV_WN32 combination.
Reimar Döffinger [Sun, 31 May 2009 10:16:28 +0000 (10:16 +0000)]
Simply use memcpy instead of AV_RN32/AV_WN32 combination.

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

15 years agoFix decoding of multithread-encoded lcl files on big-endian.
Reimar Döffinger [Sun, 31 May 2009 10:14:27 +0000 (10:14 +0000)]
Fix decoding of multithread-encoded lcl files on big-endian.

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

15 years agoRemove another useless ()
Reimar Döffinger [Sun, 31 May 2009 10:05:21 +0000 (10:05 +0000)]
Remove another useless ()

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

15 years agoCorrect calculation of compressed input length.
Reimar Döffinger [Sun, 31 May 2009 10:01:26 +0000 (10:01 +0000)]
Correct calculation of compressed input length.

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

15 years agoAdd sanity check for mthread_inlen, avoids crashes due to invalid reads.
Reimar Döffinger [Sun, 31 May 2009 09:59:46 +0000 (09:59 +0000)]
Add sanity check for mthread_inlen, avoids crashes due to invalid reads.

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

15 years agoUse FFMIN
Reimar Döffinger [Sun, 31 May 2009 09:57:42 +0000 (09:57 +0000)]
Use FFMIN

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

15 years agoFactor out zlib decompression code to avoid massive code duplication,
Reimar Döffinger [Sun, 31 May 2009 09:51:46 +0000 (09:51 +0000)]
Factor out zlib decompression code to avoid massive code duplication,
particularly due to error checks.

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

15 years agoUse FFALIGN
Reimar Döffinger [Sun, 31 May 2009 09:28:29 +0000 (09:28 +0000)]
Use FFALIGN

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

15 years agoMove variable into block where it is used, avoiding a unused variable
Reimar Döffinger [Sun, 31 May 2009 09:27:07 +0000 (09:27 +0000)]
Move variable into block where it is used, avoiding a unused variable
warning if the zlib decoder is disabled.

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

15 years agoMake lcldec less annoyingly verbose, move messages from AV_LOG_INFO to AV_LOG_DEBUG.
Reimar Döffinger [Sun, 31 May 2009 09:23:54 +0000 (09:23 +0000)]
Make lcldec less annoyingly verbose, move messages from AV_LOG_INFO to AV_LOG_DEBUG.

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

15 years agoGet rid of unreachable code: avctx->codec_id == CODEC_ID_ZLIB is not possible
Reimar Döffinger [Sun, 31 May 2009 09:19:21 +0000 (09:19 +0000)]
Get rid of unreachable code: avctx->codec_id == CODEC_ID_ZLIB is not possible
here when the zlib decoder is disabled and libavcodec is used correctly.

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

15 years agolcldec.c: change #if CONFIG_ZLIB to #if CONFIG_ZLIB_DECODER.
Reimar Döffinger [Sun, 31 May 2009 09:16:06 +0000 (09:16 +0000)]
lcldec.c: change #if CONFIG_ZLIB to #if CONFIG_ZLIB_DECODER.
The zlib related code should not be compiled in when the decoder is disabled
and it thus will never be used, even if we have zlib available.

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

15 years agoGet rid of extradata casts, it already has the right uint8_t * type
Reimar Döffinger [Sun, 31 May 2009 09:12:17 +0000 (09:12 +0000)]
Get rid of extradata casts, it already has the right uint8_t * type

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

15 years agoMake lcldec produce YUV output when the input file is coded like that, instead
Reimar Döffinger [Sun, 31 May 2009 09:09:32 +0000 (09:09 +0000)]
Make lcldec produce YUV output when the input file is coded like that, instead
of having it do its own inefficient fixed-point YUV to RGB conversion.

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

15 years agoRemove now unused elements from LclEncContext
Reimar Döffinger [Sun, 31 May 2009 08:54:41 +0000 (08:54 +0000)]
Remove now unused elements from LclEncContext

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

15 years agoRemove useless casts, extradata is already "uint8_t *"
Reimar Döffinger [Sun, 31 May 2009 08:51:30 +0000 (08:51 +0000)]
Remove useless casts, extradata is already "uint8_t *"

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

15 years agolclenc.c: compress directly into output buffer instead of using a pointless
Reimar Döffinger [Sun, 31 May 2009 08:49:27 +0000 (08:49 +0000)]
lclenc.c: compress directly into output buffer instead of using a pointless
temporary buffer and then using put_bits to copy the data over.

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

15 years agoinitialize pes state to skip
Baptiste Coudurier [Sun, 31 May 2009 08:47:40 +0000 (08:47 +0000)]
initialize pes state to skip

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

15 years agoRemove superfluous () from lclenc.c
Reimar Döffinger [Sun, 31 May 2009 08:41:11 +0000 (08:41 +0000)]
Remove superfluous () from lclenc.c

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

15 years agoCosmetics: fix indentation in lclenc.c
Reimar Döffinger [Sun, 31 May 2009 08:38:51 +0000 (08:38 +0000)]
Cosmetics: fix indentation in lclenc.c

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

15 years agoRemove "#if CONFIG_ZLIB" checks from lclenc.c, the file is never compiled
Reimar Döffinger [Sun, 31 May 2009 08:36:44 +0000 (08:36 +0000)]
Remove "#if CONFIG_ZLIB" checks from lclenc.c, the file is never compiled
if zlib is not available.

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

15 years agoAdd a lock manager API to libavcodec.
Andreas Öman [Sun, 31 May 2009 06:51:18 +0000 (06:51 +0000)]
Add a lock manager API to libavcodec.

Allows an application to register a callback that manages mutexes
on behalf of FFmpeg.
With this callback registered FFmpeg is fully thread safe.

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

15 years agoremove cast and use put_sbits, fix assertion in put_bits
Baptiste Coudurier [Sun, 31 May 2009 06:33:58 +0000 (06:33 +0000)]
remove cast and use put_sbits, fix assertion in put_bits

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

15 years agofix 3gp metadata, write strings in UTF8, patch by Larbi Joubala, larbi dot joubala...
Larbi Joubala [Sun, 31 May 2009 05:24:16 +0000 (05:24 +0000)]
fix 3gp metadata, write strings in UTF8, patch by Larbi Joubala, larbi dot joubala at resonate-mp4 dot com

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

15 years agoadd myself as maintainer for mpegts*
Baptiste Coudurier [Sun, 31 May 2009 05:14:09 +0000 (05:14 +0000)]
add myself as maintainer for mpegts*

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

15 years agoprint reg desc in a more friendly way
Baptiste Coudurier [Sun, 31 May 2009 04:47:30 +0000 (04:47 +0000)]
print reg desc in a more friendly way

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

15 years agogive context to dprintf
Baptiste Coudurier [Sun, 31 May 2009 04:45:51 +0000 (04:45 +0000)]
give context to dprintf

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

15 years agoprint registration descriptor in debug
Baptiste Coudurier [Sun, 31 May 2009 04:41:47 +0000 (04:41 +0000)]
print registration descriptor in debug

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

15 years agosplit audio chunks in mov demuxer
Baptiste Coudurier [Sun, 31 May 2009 04:36:26 +0000 (04:36 +0000)]
split audio chunks in mov demuxer

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

15 years ago0x7a is E-AC3 descriptor
Baptiste Coudurier [Sun, 31 May 2009 04:35:05 +0000 (04:35 +0000)]
0x7a is E-AC3 descriptor

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

15 years agofix compilation with DEBUG defined
Baptiste Coudurier [Sun, 31 May 2009 04:32:45 +0000 (04:32 +0000)]
fix compilation with DEBUG defined

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

15 years agofix compilation with DEBUG defined
Baptiste Coudurier [Sun, 31 May 2009 04:26:22 +0000 (04:26 +0000)]
fix compilation with DEBUG defined

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

15 years agouse dts codec probing
Baptiste Coudurier [Sun, 31 May 2009 04:13:25 +0000 (04:13 +0000)]
use dts codec probing

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

15 years agoset codec_tag to stream type, so user can deal with it
Baptiste Coudurier [Sun, 31 May 2009 04:10:15 +0000 (04:10 +0000)]
set codec_tag to stream type, so user can deal with it

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

15 years agoset codec_tag to registration descriptor if present
Baptiste Coudurier [Sun, 31 May 2009 04:04:20 +0000 (04:04 +0000)]
set codec_tag to registration descriptor if present

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

15 years agoadd streams even if they are not present in PMT, fix #1092 and #835
Baptiste Coudurier [Sun, 31 May 2009 03:55:23 +0000 (03:55 +0000)]
add streams even if they are not present in PMT, fix #1092 and #835

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

15 years agoremove no longer needed fake dvbsub stream type
Baptiste Coudurier [Sun, 31 May 2009 03:46:24 +0000 (03:46 +0000)]
remove no longer needed fake dvbsub stream type

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

15 years agoreindent
Baptiste Coudurier [Sun, 31 May 2009 03:45:45 +0000 (03:45 +0000)]
reindent

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

15 years agoremove no longer needed init
Baptiste Coudurier [Sun, 31 May 2009 03:44:03 +0000 (03:44 +0000)]
remove no longer needed init

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

15 years agofactorize
Baptiste Coudurier [Sun, 31 May 2009 03:40:36 +0000 (03:40 +0000)]
factorize

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

15 years agosimplify and merge
Baptiste Coudurier [Sun, 31 May 2009 03:35:29 +0000 (03:35 +0000)]
simplify and merge

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

15 years agomove new_pes_av_stream to avoid forward declaration
Baptiste Coudurier [Sun, 31 May 2009 03:12:25 +0000 (03:12 +0000)]
move new_pes_av_stream to avoid forward declaration

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

15 years agoremove defines
Baptiste Coudurier [Sun, 31 May 2009 03:02:12 +0000 (03:02 +0000)]
remove defines

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

15 years agorework stream type and codec identification
Baptiste Coudurier [Sun, 31 May 2009 02:56:15 +0000 (02:56 +0000)]
rework stream type and codec identification

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

15 years agocosmetics, reindent, remove useless braces, whitespaces
Baptiste Coudurier [Sun, 31 May 2009 00:33:37 +0000 (00:33 +0000)]
cosmetics, reindent, remove useless braces, whitespaces

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

15 years agoexport all streams in ts demuxer
Baptiste Coudurier [Sun, 31 May 2009 00:31:47 +0000 (00:31 +0000)]
export all streams in ts demuxer

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

15 years agofix codec probing, stop after MAX_PROBE_PACKETS and return all packets
Baptiste Coudurier [Sun, 31 May 2009 00:24:06 +0000 (00:24 +0000)]
fix codec probing, stop after MAX_PROBE_PACKETS and return all packets

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

15 years agoH264: Fix out of bounds reads in SSSE3 MC
Alexander Strange [Sat, 30 May 2009 22:19:14 +0000 (22:19 +0000)]
H264: Fix out of bounds reads in SSSE3 MC

Reading above src[-2] isn't safe, so move loads and palignr ahead
3 pixels to load starting at the first pixel actually used.

Fixes issue941.

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

15 years agoImplement SoX native format muxer and demuxer.
Daniel Verkamp [Sat, 30 May 2009 18:51:15 +0000 (18:51 +0000)]
Implement SoX native format muxer and demuxer.

Patch by Daniel Verkamp $firstname@drv DOT nu.

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

15 years agoUse memcpy instead of per-pixel copy loop for rgb lcl format
Reimar Döffinger [Sat, 30 May 2009 11:20:07 +0000 (11:20 +0000)]
Use memcpy instead of per-pixel copy loop for rgb lcl format

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

15 years agoMake sure offsets of mjpeg b are within the buffer.
Michael Niedermayer [Sat, 30 May 2009 10:04:09 +0000 (10:04 +0000)]
Make sure offsets of mjpeg b are within the buffer.
Fixes issue1132

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

15 years agoRemove useless () from lcldec for more consistency with "normal" FFmpeg coding style.
Reimar Döffinger [Sat, 30 May 2009 09:07:10 +0000 (09:07 +0000)]
Remove useless () from lcldec for more consistency with "normal" FFmpeg coding style.

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

15 years agoAdd casts to v210x decoder to avoid warnings.
Reimar Döffinger [Sat, 30 May 2009 09:05:24 +0000 (09:05 +0000)]
Add casts to v210x decoder to avoid warnings.

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

15 years agoreturn AVERROR_EOF
Baptiste Coudurier [Sat, 30 May 2009 06:16:44 +0000 (06:16 +0000)]
return AVERROR_EOF

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

15 years agoreturn AVERROR_EOF
Baptiste Coudurier [Sat, 30 May 2009 06:15:27 +0000 (06:15 +0000)]
return AVERROR_EOF

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

15 years agocast size to int64_t to avoid overflow
Baptiste Coudurier [Sat, 30 May 2009 04:08:43 +0000 (04:08 +0000)]
cast size to int64_t to avoid overflow

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

15 years agoThe GIF decoder uses get_buffer, so set DR1.
Baptiste Coudurier [Sat, 30 May 2009 04:07:14 +0000 (04:07 +0000)]
The GIF decoder uses get_buffer, so set DR1.

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

15 years agoremove commented code using real_pict_num
Baptiste Coudurier [Sat, 30 May 2009 02:48:47 +0000 (02:48 +0000)]
remove commented code using real_pict_num

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

15 years agoremove unused hack which set AVCodecContext frame_number to pic timestamp
Baptiste Coudurier [Sat, 30 May 2009 00:24:20 +0000 (00:24 +0000)]
remove unused hack which set AVCodecContext frame_number to pic timestamp

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

15 years agoset pict_type in VC-1 parser, fix some timestamps problems
Baptiste Coudurier [Sat, 30 May 2009 00:09:00 +0000 (00:09 +0000)]
set pict_type in VC-1 parser, fix some timestamps problems

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

15 years agoSupport block-level quantization in Theora
David Conrad [Fri, 29 May 2009 21:43:22 +0000 (21:43 +0000)]
Support block-level quantization in Theora

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

15 years agoUse av_clip_uint8 instead of equivalent but unoptimzed code,
Reimar Döffinger [Fri, 29 May 2009 20:15:38 +0000 (20:15 +0000)]
Use av_clip_uint8 instead of equivalent but unoptimzed code,

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

15 years agoCorrectly set the "AU size" field in the payload header for
Luca Abeni [Fri, 29 May 2009 13:46:46 +0000 (13:46 +0000)]
Correctly set the "AU size" field in the payload header for
fragmented AAC frames

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

15 years agomatroska.c was split to matroskadec.c which I'm also maintainer of
Aurelien Jacobs [Fri, 29 May 2009 12:44:44 +0000 (12:44 +0000)]
matroska.c was split to matroskadec.c which I'm also maintainer of

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

15 years agoadd myself as metadata subsystem maintainer
Aurelien Jacobs [Fri, 29 May 2009 12:42:58 +0000 (12:42 +0000)]
add myself as metadata subsystem maintainer

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

15 years agoMove *.map from LIBSUFFIXES to CLEANSUFFIXES, executables on OS/2 have
Dave Yeo [Fri, 29 May 2009 11:56:54 +0000 (11:56 +0000)]
Move *.map from LIBSUFFIXES to CLEANSUFFIXES, executables on OS/2 have
generated map files as well, so map files need to be removed in all
places where executables are removed.
patch by Dave Yeo, daveryeo telus net

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

15 years agoMIPS: inline asm for intreadwrite.h
Måns Rullgård [Thu, 28 May 2009 23:19:35 +0000 (23:19 +0000)]
MIPS: inline asm for intreadwrite.h

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

15 years agoMIPS: add MIPS64 and Loongson asm for MAC64/MLS64
Måns Rullgård [Thu, 28 May 2009 23:19:32 +0000 (23:19 +0000)]
MIPS: add MIPS64 and Loongson asm for MAC64/MLS64

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

15 years agoconfigure: detect Loongson MIPS extensions
Måns Rullgård [Thu, 28 May 2009 23:19:29 +0000 (23:19 +0000)]
configure: detect Loongson MIPS extensions

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

15 years agoblackfin: disable broken dsputil functions
Måns Rullgård [Thu, 28 May 2009 22:36:06 +0000 (22:36 +0000)]
blackfin: disable broken dsputil functions

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

15 years agoblackfin: add missing const in function prototypes
Måns Rullgård [Thu, 28 May 2009 22:36:02 +0000 (22:36 +0000)]
blackfin: add missing const in function prototypes

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

15 years agoblackfin: use optimised (I)DCT only when ctx->(i)dct_algo is auto
Måns Rullgård [Thu, 28 May 2009 22:35:58 +0000 (22:35 +0000)]
blackfin: use optimised (I)DCT only when ctx->(i)dct_algo is auto

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

15 years agoblackfin: use DCT function pointer in dct_quantize_bfin()
Måns Rullgård [Thu, 28 May 2009 22:35:56 +0000 (22:35 +0000)]
blackfin: use DCT function pointer in dct_quantize_bfin()

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

15 years agoRemove $(CLEANSUFFIXES) and $(DISTCLEANSUFFIXES) on clean/distclean
Dave Yeo [Thu, 28 May 2009 22:13:17 +0000 (22:13 +0000)]
Remove $(CLEANSUFFIXES) and $(DISTCLEANSUFFIXES) on clean/distclean
in the root directory as well as in subdirectories.
patch by Dave Yeo, daveryeo telus net

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

15 years agoARM: add some PLD in NEON IDCT
Måns Rullgård [Thu, 28 May 2009 17:19:28 +0000 (17:19 +0000)]
ARM: add some PLD in NEON IDCT

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

15 years agoDocument match_ext().
Stefano Sabatini [Wed, 27 May 2009 22:43:52 +0000 (22:43 +0000)]
Document match_ext().

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

15 years agomsrle uncompressed decoding, fix #1074 and many other samples under /RLE
Baptiste Coudurier [Wed, 27 May 2009 21:45:25 +0000 (21:45 +0000)]
msrle uncompressed decoding, fix #1074 and many other samples under /RLE

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

15 years agoremove apparently unused real_pict_num from AVCodecContext
Baptiste Coudurier [Wed, 27 May 2009 21:40:10 +0000 (21:40 +0000)]
remove apparently unused real_pict_num from AVCodecContext

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

15 years agoRename alloc_picture to ff_alloc_picture and move its definition
Baptiste Coudurier [Wed, 27 May 2009 19:55:35 +0000 (19:55 +0000)]
Rename alloc_picture to ff_alloc_picture and move its definition
in mpegvideo.h to avoid including mpegvideo_common.h in mpeg12.c,
because it contains motion code.

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

15 years agoUse AV_R/WN32 instead of direct integer copying.
Jeff Downs [Wed, 27 May 2009 18:59:24 +0000 (18:59 +0000)]
Use AV_R/WN32 instead of direct integer copying.
Fixes decoding on at least Sparc/Solaris where unaligned accesses cause
crashes.
ML thread: http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/91414

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

15 years agotechnically mp2 in pva needs AVSTREAM_PARSE_FULL
Baptiste Coudurier [Wed, 27 May 2009 06:58:22 +0000 (06:58 +0000)]
technically mp2 in pva needs AVSTREAM_PARSE_FULL

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

15 years agodo not print false error if eof follows eol
Baptiste Coudurier [Wed, 27 May 2009 06:43:51 +0000 (06:43 +0000)]
do not print false error if eof follows eol

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

15 years agosupport AVDISCARD_ALL in mpegts demuxer
Baptiste Coudurier [Wed, 27 May 2009 01:29:55 +0000 (01:29 +0000)]
support AVDISCARD_ALL in mpegts demuxer

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

15 years agoreturn error in mpegts_push_data and propagate it
Baptiste Coudurier [Wed, 27 May 2009 00:56:31 +0000 (00:56 +0000)]
return error in mpegts_push_data and propagate it

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

15 years ago10l, forgot ';', fix compilation
Baptiste Coudurier [Wed, 27 May 2009 00:48:39 +0000 (00:48 +0000)]
10l, forgot ';', fix compilation

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

15 years agocheck that len is not negative
Baptiste Coudurier [Wed, 27 May 2009 00:46:20 +0000 (00:46 +0000)]
check that len is not negative

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

15 years agodemux whole PES packets from TS
Baptiste Coudurier [Wed, 27 May 2009 00:44:00 +0000 (00:44 +0000)]
demux whole PES packets from TS

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

15 years agoFix off by one offset with fetch_timestamps, pts_parser_problem.mpg.
Wolfram Gloger [Wed, 27 May 2009 00:14:32 +0000 (00:14 +0000)]
Fix off by one offset with fetch_timestamps, pts_parser_problem.mpg.
Patch by Wolfram Gloger, wmglo at dentm dot med dot uni-muenchen dot de.

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

15 years agodo not reference remainder packets in the parser, fix timestamps fetching
Baptiste Coudurier [Tue, 26 May 2009 23:58:30 +0000 (23:58 +0000)]
do not reference remainder packets in the parser, fix timestamps fetching

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

15 years agoIn the event of a mismatch, do not follow the sample rate index in an AAC PCE.
Alex Converse [Tue, 26 May 2009 21:34:56 +0000 (21:34 +0000)]
In the event of a mismatch, do not follow the sample rate index in an AAC PCE.
This matches the behavior the reference decoder and fixes issue 1072.

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

15 years agomove DEBUG define before include to get dprintf
Baptiste Coudurier [Tue, 26 May 2009 20:13:03 +0000 (20:13 +0000)]
move DEBUG define before include to get dprintf

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

15 years agoAdd lowres support to the libopenjpeg wrapper.
Jai Menon [Tue, 26 May 2009 17:04:28 +0000 (17:04 +0000)]
Add lowres support to the libopenjpeg wrapper.
Fixes issue 1097.

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

15 years agoUse dimensions stored in AVCodecContext instead of local variables.
Jai Menon [Tue, 26 May 2009 16:59:05 +0000 (16:59 +0000)]
Use dimensions stored in AVCodecContext instead of local variables.

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

15 years agoChange HAVE_PPC64 to ARCH_PPC64.
Reimar Döffinger [Tue, 26 May 2009 05:00:51 +0000 (05:00 +0000)]
Change HAVE_PPC64 to ARCH_PPC64.
As a side-effect this also gives it the correct value on e.g. PPC970FX-based
PPC64 systems, thus fixing "make test" (mp2/mp3 decoding).

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

15 years agoSupport YVU9 AVI 4cc.
Michael Niedermayer [Tue, 26 May 2009 03:51:00 +0000 (03:51 +0000)]
Support YVU9 AVI 4cc.
Fixes issue1068.

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

15 years agomap dvh1 fourcc to dv, fixes incoming/dvh1_sample
Ben Littler [Tue, 26 May 2009 01:14:10 +0000 (01:14 +0000)]
map dvh1 fourcc to dv, fixes incoming/dvh1_sample

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

15 years agoFactorize initial "printf(" and ");" in show_license().
Stefano Sabatini [Mon, 25 May 2009 22:22:51 +0000 (22:22 +0000)]
Factorize initial "printf(" and ");" in show_license().

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

15 years agoAltivec VP3 IDCT
David Conrad [Mon, 25 May 2009 22:19:35 +0000 (22:19 +0000)]
Altivec VP3 IDCT

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