ffmpeg.git
13 years agoset demuxers .value and use common audio_read_header function
Baptiste Coudurier [Mon, 28 Apr 2008 14:14:44 +0000 (14:14 +0000)]
set demuxers .value and use common audio_read_header function

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

13 years agoCalculate motion vector information based on PTS provided in slice header
Kostya Shishkov [Mon, 28 Apr 2008 13:37:36 +0000 (13:37 +0000)]
Calculate motion vector information based on PTS provided in slice header

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

13 years agoAdd long names to some AVCodec declarations.
Stefano Sabatini [Mon, 28 Apr 2008 10:21:58 +0000 (10:21 +0000)]
Add long names to some AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

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

13 years agoAdd long names to AVCodec declarations.
Stefano Sabatini [Sun, 27 Apr 2008 22:39:51 +0000 (22:39 +0000)]
Add long names to AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

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

13 years agoMake 8SVX codec names just a single word for consistency with other codec names.
Stefano Sabatini [Sun, 27 Apr 2008 22:19:02 +0000 (22:19 +0000)]
Make 8SVX codec names just a single word for consistency with other codec names.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

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

13 years agoUse check_cflags for -mdynamic-no-pic so third-party compilers will work on Darwin.
Alexander Strange [Sun, 27 Apr 2008 16:12:24 +0000 (16:12 +0000)]
Use check_cflags for -mdynamic-no-pic so third-party compilers will work on Darwin.

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

13 years agoRemove unused avdevice.h header file; add config.h which is used.
Diego Biurrun [Sun, 27 Apr 2008 11:52:35 +0000 (11:52 +0000)]
Remove unused avdevice.h header file; add config.h which is used.

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

13 years agoAdd long names to many AVCodec declarations.
Stefano Sabatini [Sun, 27 Apr 2008 10:52:44 +0000 (10:52 +0000)]
Add long names to many AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

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

13 years agoUse filename as multiple inclusion guard.
Diego Biurrun [Sun, 27 Apr 2008 10:01:07 +0000 (10:01 +0000)]
Use filename as multiple inclusion guard.

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

13 years agoset pkt duration, only when dts == pts though,
Henrik Gulbrandsen [Sat, 26 Apr 2008 17:51:02 +0000 (17:51 +0000)]
set pkt duration, only when dts == pts though,
patch by Henrik Gulbrandsen henrik at gulbra dot net

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

13 years agoRename i386/cputest.c --> i386/cpuid.c.
Diego Biurrun [Sat, 26 Apr 2008 16:02:22 +0000 (16:02 +0000)]
Rename i386/cputest.c --> i386/cpuid.c.

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

13 years agoRemove unnecessary test program dependency declarations.
Diego Biurrun [Sat, 26 Apr 2008 15:38:00 +0000 (15:38 +0000)]
Remove unnecessary test program dependency declarations.

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

13 years agoGrammar fixes and improvements for the new ACELP code
Robert Swain [Sat, 26 Apr 2008 15:20:06 +0000 (15:20 +0000)]
Grammar fixes and improvements for the new ACELP code

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

13 years agobreak if error in header so it can output already decoded frames
Baptiste Coudurier [Sat, 26 Apr 2008 14:41:29 +0000 (14:41 +0000)]
break if error in header so it can output already decoded frames

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

13 years agomerge init with declaration
Baptiste Coudurier [Sat, 26 Apr 2008 14:36:34 +0000 (14:36 +0000)]
merge init with declaration

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

13 years agocosmetics: merge decls
Baptiste Coudurier [Sat, 26 Apr 2008 14:34:01 +0000 (14:34 +0000)]
cosmetics: merge decls

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

13 years agosimplify: merge loops
Baptiste Coudurier [Sat, 26 Apr 2008 14:33:09 +0000 (14:33 +0000)]
simplify: merge loops

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

13 years agosimplify
Baptiste Coudurier [Sat, 26 Apr 2008 14:30:06 +0000 (14:30 +0000)]
simplify

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

13 years agosimplify: remove useless fields and vars
Baptiste Coudurier [Sat, 26 Apr 2008 14:28:18 +0000 (14:28 +0000)]
simplify: remove useless fields and vars

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

13 years agomove MP3On4DecodeContext def near the code and under ifdef
Baptiste Coudurier [Sat, 26 Apr 2008 14:22:43 +0000 (14:22 +0000)]
move MP3On4DecodeContext def near the code and under ifdef

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

13 years agocorrectly patch syncword for samples rates < 16000, decoder now fully support all...
Baptiste Coudurier [Sat, 26 Apr 2008 14:18:29 +0000 (14:18 +0000)]
correctly patch syncword for samples rates < 16000, decoder now fully support all iso ref files

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

13 years agofix 1 frame config decoding
Baptiste Coudurier [Sat, 26 Apr 2008 14:10:31 +0000 (14:10 +0000)]
fix 1 frame config decoding

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

13 years agoremove old draft last case not present anymore in iso specs
Baptiste Coudurier [Sat, 26 Apr 2008 14:08:34 +0000 (14:08 +0000)]
remove old draft last case not present anymore in iso specs

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

13 years agomp3on4 decoder now depends on mpeg4audio code
Baptiste Coudurier [Sat, 26 Apr 2008 14:00:27 +0000 (14:00 +0000)]
mp3on4 decoder now depends on mpeg4audio code

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

13 years agouse mpeg4audio common code
Baptiste Coudurier [Sat, 26 Apr 2008 13:56:52 +0000 (13:56 +0000)]
use mpeg4audio common code

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

13 years agoSkip blocks in B-frames reuse motion vectors from next reference frame.
Kostya Shishkov [Sat, 26 Apr 2008 13:09:36 +0000 (13:09 +0000)]
Skip blocks in B-frames reuse motion vectors from next reference frame.
So if referenced blocks is 16x8, 8x16 or 8x8 partitions, skip block
will have them too.

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

13 years agosimplify
Baptiste Coudurier [Sat, 26 Apr 2008 13:08:16 +0000 (13:08 +0000)]
simplify

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

13 years agocorrectly compute out_size and samples number
Baptiste Coudurier [Sat, 26 Apr 2008 13:03:41 +0000 (13:03 +0000)]
correctly compute out_size and samples number

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

13 years agofsize is 12 bits according to specs
Baptiste Coudurier [Sat, 26 Apr 2008 12:59:46 +0000 (12:59 +0000)]
fsize is 12 bits according to specs

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

13 years agosimplify using FFMIN3
Baptiste Coudurier [Sat, 26 Apr 2008 12:51:52 +0000 (12:51 +0000)]
simplify using FFMIN3

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

13 years agoadd FFMIN3
Baptiste Coudurier [Sat, 26 Apr 2008 12:47:02 +0000 (12:47 +0000)]
add FFMIN3

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

13 years agoreturn error if buf_size is too small
Baptiste Coudurier [Sat, 26 Apr 2008 12:39:45 +0000 (12:39 +0000)]
return error if buf_size is too small

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

13 years agovalues can fit uint8_t
Baptiste Coudurier [Sat, 26 Apr 2008 12:34:37 +0000 (12:34 +0000)]
values can fit uint8_t

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

13 years agoadd const
Baptiste Coudurier [Sat, 26 Apr 2008 12:33:02 +0000 (12:33 +0000)]
add const

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

13 years agoFixed-point LSP and LPC decoding routines for ACELP-based codecs
Vladimir Voroshilov [Sat, 26 Apr 2008 11:52:33 +0000 (11:52 +0000)]
Fixed-point LSP and LPC decoding routines for ACELP-based codecs

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

13 years agoMissing tags in APE is normal situation, so don't print an error.
Kostya Shishkov [Sat, 26 Apr 2008 06:29:56 +0000 (06:29 +0000)]
Missing tags in APE is normal situation, so don't print an error.
Resolves issue 437

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

13 years agoget_vlc2() only gets up to three levels in the tables. The last codes weren't being...
Ramiro Polla [Sat, 26 Apr 2008 05:03:36 +0000 (05:03 +0000)]
get_vlc2() only gets up to three levels in the tables. The last codes weren't being read properly.

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

13 years agoCorrect company name
Kostya Shishkov [Sat, 26 Apr 2008 04:14:33 +0000 (04:14 +0000)]
Correct company name

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

13 years agoFixed-point implementation of ff_cos, ff_log2, ff_exp2.
Vladimir Voroshilov [Fri, 25 Apr 2008 17:14:47 +0000 (17:14 +0000)]
Fixed-point implementation of ff_cos, ff_log2, ff_exp2.
Also implemented routine for calculating sum(a[i] * a[i-offset]>>shift)

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

13 years ago10l, alphabetical order
Baptiste Coudurier [Fri, 25 Apr 2008 16:54:53 +0000 (16:54 +0000)]
10l, alphabetical order

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

13 years agoyes it is true for mp4
Baptiste Coudurier [Fri, 25 Apr 2008 16:52:30 +0000 (16:52 +0000)]
yes it is true for mp4

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

13 years agoremove unneeded variable
Baptiste Coudurier [Fri, 25 Apr 2008 16:50:06 +0000 (16:50 +0000)]
remove unneeded variable

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

13 years agomove vars decls where vars are used
Baptiste Coudurier [Fri, 25 Apr 2008 16:47:22 +0000 (16:47 +0000)]
move vars decls where vars are used

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

13 years agoidentation
Baptiste Coudurier [Fri, 25 Apr 2008 15:15:56 +0000 (15:15 +0000)]
identation

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

13 years agoremove no more needed field
Baptiste Coudurier [Fri, 25 Apr 2008 15:11:39 +0000 (15:11 +0000)]
remove no more needed field

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

13 years agoremove unused var
Baptiste Coudurier [Fri, 25 Apr 2008 15:10:33 +0000 (15:10 +0000)]
remove unused var

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

13 years agoremove ima qt decoding hack, decode whole frame at once
Baptiste Coudurier [Fri, 25 Apr 2008 15:09:26 +0000 (15:09 +0000)]
remove ima qt decoding hack, decode whole frame at once

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

13 years agofix adpcm ima qt decoding, channel at init is 0, correct stereo out since samples...
Baptiste Coudurier [Fri, 25 Apr 2008 15:06:07 +0000 (15:06 +0000)]
fix adpcm ima qt decoding, channel at init is 0, correct stereo out since samples += avctx->channels

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

13 years agoset channels and sample rate from mpeg4audio config
Baptiste Coudurier [Fri, 25 Apr 2008 14:09:42 +0000 (14:09 +0000)]
set channels and sample rate from mpeg4audio config

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

13 years agomov demuxer depends on mpeg4audio code now
Baptiste Coudurier [Fri, 25 Apr 2008 14:05:32 +0000 (14:05 +0000)]
mov demuxer depends on mpeg4audio code now

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

13 years agocosmetics
Baptiste Coudurier [Fri, 25 Apr 2008 14:04:27 +0000 (14:04 +0000)]
cosmetics

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

13 years agoparse mpeg4audio config to correctly detect mp3on4, fix iso mp3on4 reference files
Baptiste Coudurier [Fri, 25 Apr 2008 14:03:28 +0000 (14:03 +0000)]
parse mpeg4audio config to correctly detect mp3on4, fix iso mp3on4 reference files

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

13 years agoupdate doc
Baptiste Coudurier [Fri, 25 Apr 2008 13:56:08 +0000 (13:56 +0000)]
update doc

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

13 years agoerror is -1
Baptiste Coudurier [Fri, 25 Apr 2008 13:54:33 +0000 (13:54 +0000)]
error is -1

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

13 years agocosmetics
Baptiste Coudurier [Fri, 25 Apr 2008 13:45:46 +0000 (13:45 +0000)]
cosmetics

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

13 years agomove vars decls where vars are used
Baptiste Coudurier [Fri, 25 Apr 2008 13:44:34 +0000 (13:44 +0000)]
move vars decls where vars are used

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

13 years agoparser should not be needed anymore, merge cases and set frame size for amr too
Baptiste Coudurier [Fri, 25 Apr 2008 13:34:51 +0000 (13:34 +0000)]
parser should not be needed anymore, merge cases and set frame size for amr too

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

13 years agoMake sure some value is always returned via data_size
Michel Bardiaux [Fri, 25 Apr 2008 13:25:11 +0000 (13:25 +0000)]
Make sure some value is always returned via data_size

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

13 years agolower frame size to split amr/qcelp/gsm frames
Baptiste Coudurier [Fri, 25 Apr 2008 13:24:25 +0000 (13:24 +0000)]
lower frame size to split amr/qcelp/gsm frames

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

13 years agoAllow bitrates zero and 13200 (needed for decoding mov and aiff)
Michel Bardiaux [Fri, 25 Apr 2008 13:05:15 +0000 (13:05 +0000)]
Allow bitrates zero and 13200 (needed for decoding mov and aiff)

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

13 years agoalign and remove useless braces
Baptiste Coudurier [Fri, 25 Apr 2008 12:02:01 +0000 (12:02 +0000)]
align and remove useless braces

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

13 years agocosmetics, remove whitespaces in tags
Baptiste Coudurier [Fri, 25 Apr 2008 11:57:39 +0000 (11:57 +0000)]
cosmetics, remove whitespaces in tags

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

13 years agoset gsm default frame size and bytes per frame, needed by old qt format, fix sample...
Baptiste Coudurier [Fri, 25 Apr 2008 10:35:06 +0000 (10:35 +0000)]
set gsm default frame size and bytes per frame, needed by old qt format, fix sample-gsm-8000.mov

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

13 years agopts are unsigned according to specs, fix negative pts when 32bit pts are used
Baptiste Coudurier [Fri, 25 Apr 2008 09:08:13 +0000 (09:08 +0000)]
pts are unsigned according to specs, fix negative pts when 32bit pts are used

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

13 years agoset wrap bits to 32bit to actually use it
Baptiste Coudurier [Fri, 25 Apr 2008 09:04:38 +0000 (09:04 +0000)]
set wrap bits to 32bit to actually use it

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

13 years agoRevert "Adjust pkg-config files to include files residing in separate subdirectories."
Måns Rullgård [Fri, 25 Apr 2008 07:56:15 +0000 (07:56 +0000)]
Revert "Adjust pkg-config files to include files residing in separate subdirectories."

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

13 years agoAvoid using reserved __names.
Michael Niedermayer [Thu, 24 Apr 2008 23:21:58 +0000 (23:21 +0000)]
Avoid using reserved __names.

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

13 years agominor memleak
Michael Niedermayer [Thu, 24 Apr 2008 23:09:28 +0000 (23:09 +0000)]
minor memleak

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

13 years agoadd a ff_ac3_parse_header_full() which calls ff_ac3_parse_header()
Bartlomiej Wolowiec [Thu, 24 Apr 2008 22:27:13 +0000 (22:27 +0000)]
add a ff_ac3_parse_header_full() which calls ff_ac3_parse_header()
and then reads the channel_map stuff

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

13 years agoFixing memleaks.
Michael Niedermayer [Thu, 24 Apr 2008 22:16:00 +0000 (22:16 +0000)]
Fixing memleaks.

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

13 years agocosmetics: remove useless whitespaces and put braces correctly
Baptiste Coudurier [Thu, 24 Apr 2008 17:22:39 +0000 (17:22 +0000)]
cosmetics: remove useless whitespaces and put braces correctly

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

13 years agodemux qcelp, so this can work with soc decoder and stream copy
Baptiste Coudurier [Thu, 24 Apr 2008 17:17:41 +0000 (17:17 +0000)]
demux qcelp, so this can work with soc decoder and stream copy

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

13 years agoqcelp fourcc
Baptiste Coudurier [Thu, 24 Apr 2008 17:16:13 +0000 (17:16 +0000)]
qcelp fourcc

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

13 years agoAdjust pkg-config files to include files residing in separate subdirectories.
Diego Biurrun [Thu, 24 Apr 2008 14:32:14 +0000 (14:32 +0000)]
Adjust pkg-config files to include files residing in separate subdirectories.

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

13 years agosupport for alac in .mov
Baptiste Coudurier [Thu, 24 Apr 2008 13:59:39 +0000 (13:59 +0000)]
support for alac in .mov

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

13 years agoset alac frame size from extradata
Baptiste Coudurier [Thu, 24 Apr 2008 13:58:22 +0000 (13:58 +0000)]
set alac frame size from extradata

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

13 years agoSet pixel aspect ratio for libxvid wrapper.
Thorsten Jordan [Thu, 24 Apr 2008 12:39:25 +0000 (12:39 +0000)]
Set pixel aspect ratio for libxvid wrapper.
Patch by Thorsten Jordan tjordanATmacrosystem de

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

13 years agoEnhance documentation for AVClass
Stefano Sabatini [Thu, 24 Apr 2008 10:13:38 +0000 (10:13 +0000)]
Enhance documentation for AVClass
Patch by Stefano Sabatini stefanodotsabatini-lalaatpostedotit

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

13 years agoSupport shared pthreads-win32.
Gianluigi Tiesi [Thu, 24 Apr 2008 02:03:07 +0000 (02:03 +0000)]
Support shared pthreads-win32.
Patch by Gianluigi Tiesi <mplayer at netfarm.it>

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

13 years agoEnsure that the timestamp reading code used for seeking chooses a position
Michael Niedermayer [Wed, 23 Apr 2008 21:16:25 +0000 (21:16 +0000)]
Ensure that the timestamp reading code used for seeking chooses a position
which is a multiple of the packet size from the last packet start instead
of the file start. This fixes some seek issues with randomly cut ts files
and the mysterious "4 byte PCR somehing MTS something bug".

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

13 years agoFix regression introduced by r12929.
Ramiro Polla [Tue, 22 Apr 2008 23:24:47 +0000 (23:24 +0000)]
Fix regression introduced by r12929.
num_coeffs is just one byte.
It would make no sense for num_coeffs to be as high as 2^32.

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

13 years agoThe code now is pretty self explanatory about the header structure.
Ramiro Polla [Tue, 22 Apr 2008 20:30:50 +0000 (20:30 +0000)]
The code now is pretty self explanatory about the header structure.
Remove the big comment and add comments about the skipped fields.

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

13 years agoUse bytestream functions for reading frame header.
Ramiro Polla [Tue, 22 Apr 2008 20:24:07 +0000 (20:24 +0000)]
Use bytestream functions for reading frame header.

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

13 years agoMake Xvid wrapper use threads (with support for newest CVS Xvid only)
Thorsten Jordan [Tue, 22 Apr 2008 20:21:21 +0000 (20:21 +0000)]
Make Xvid wrapper use threads (with support for newest CVS Xvid only)

Patch by Thorsten Jordan ( tjordan macrosystem de )

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

13 years agoSend context to some ffmpeg.c opt* function
Stefano Sabatini [Tue, 22 Apr 2008 20:17:30 +0000 (20:17 +0000)]
Send context to some ffmpeg.c opt* function

Patch by Stefano Sabatini ( stefano sabatini-lala poste it )

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

13 years agoRead asf file header fields in the right order
Rafaël Carré [Tue, 22 Apr 2008 20:08:39 +0000 (20:08 +0000)]
Read asf file header fields in the right order

Patch by Rafaël Carré ( funman videolan org )

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

13 years agoAdd supported_samplerates field to AVCodec
Stefano Sabatini [Tue, 22 Apr 2008 20:06:20 +0000 (20:06 +0000)]
Add supported_samplerates field to AVCodec

Patch by Stefano Sabatini ( stefano sabatini-lala poste it )

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

13 years agoRename diracschro_common.[ch] to libdirac_libschro.[ch], external library
Diego Biurrun [Tue, 22 Apr 2008 16:26:15 +0000 (16:26 +0000)]
Rename diracschro_common.[ch] to libdirac_libschro.[ch], external library
glue code should have a lib prefix in its name.

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

13 years agolibdirac and libschro common code, patch from Anuradha Suraparaju anuradhaAtrdDoTbbcD...
Luca Barbato [Tue, 22 Apr 2008 13:22:21 +0000 (13:22 +0000)]
libdirac and libschro common code, patch from Anuradha Suraparaju anuradhaAtrdDoTbbcDoTcoDotuk

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

13 years agochange ff_ac3_parse_header() to take a GetBitContext instead of const char*
Bartlomiej Wolowiec [Tue, 22 Apr 2008 11:14:01 +0000 (11:14 +0000)]
change ff_ac3_parse_header() to take a GetBitContext instead of const char*

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

13 years agoAdd .longname to bfi_decoder declaration.
Sisir Koppaka [Tue, 22 Apr 2008 09:16:05 +0000 (09:16 +0000)]
Add .longname to bfi_decoder declaration.
patch by Sisir Koppaka, sisir.koppaka gmail com

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

13 years agoCompute AC3 frame CRC for stronger raw AC3 format probing.
Andreas Öman [Mon, 21 Apr 2008 15:20:53 +0000 (15:20 +0000)]
Compute AC3 frame CRC for stronger raw AC3 format probing.

Closes issue64.

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

13 years agoMake some ffmpeg opts use parse-number-or-die.
Stefano Sabatini [Mon, 21 Apr 2008 08:59:38 +0000 (08:59 +0000)]
Make some ffmpeg opts use parse-number-or-die.
Patch by Stefano Sabatini stefano sabatini-lala posteit

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

13 years agoForce inlining of MPV_motion_internal.
Keiji Costantini [Mon, 21 Apr 2008 08:32:11 +0000 (08:32 +0000)]
Force inlining of MPV_motion_internal.
Patch by strites: strites gmail com
Original thread: [FFmpeg-devel] [PATCH] Patch cleanup for MPEG 1 & 2 optimizations
Date: 04/06/2008 11:32 PM

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

13 years agoUnroll codepath
Keiji Costantini [Mon, 21 Apr 2008 08:30:54 +0000 (08:30 +0000)]
Unroll codepath
Patch by strites: strites gmail com
Original thread: [FFmpeg-devel] [PATCH] Patch cleanup for MPEG 1 & 2 optimizations
Date: 04/06/2008 11:32 PM

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

13 years agoCorrect ASF duration.
Henrik Gulbrandsen [Mon, 21 Apr 2008 08:19:16 +0000 (08:19 +0000)]
Correct ASF duration.
Patch by Henrik Gulbrandsen: henrik gulbra net

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

13 years agoFix bug introduced by r12827.
Ramiro Polla [Mon, 21 Apr 2008 01:22:25 +0000 (01:22 +0000)]
Fix bug introduced by r12827.
If av_exit() was called after an AVFormatContext was created, but before
its file was opened, av_exit() would pass a NULL pointer to url_fclose().

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

13 years agoSimplify ff_split_xiph_headers
Reimar Döffinger [Sun, 20 Apr 2008 23:54:40 +0000 (23:54 +0000)]
Simplify ff_split_xiph_headers

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

13 years agoAdd checks to ff_split_xiph_headers to ensure that returned header_len and
Reimar Döffinger [Sun, 20 Apr 2008 23:33:49 +0000 (23:33 +0000)]
Add checks to ff_split_xiph_headers to ensure that returned header_len and
header_start values are always valid.
Fixes a crash with http://samples.mplayerhq.hu/ogg/mmw-deadzy.ogg
(still does not play though).

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

13 years agoRaw dts muxer
Benjamin Larsson [Sun, 20 Apr 2008 20:28:12 +0000 (20:28 +0000)]
Raw dts muxer

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