ffmpeg.git
12 years agosilence wmaenc.c:181: warning:suggestparentheses around assignment used as truth...
Benjamin Larsson [Fri, 15 Feb 2008 13:44:08 +0000 (13:44 +0000)]
silence wmaenc.c:181: warning:suggestparentheses around assignment used as truth value

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

12 years agoIt appears last_pts was not set ...
Michael Niedermayer [Fri, 15 Feb 2008 13:21:00 +0000 (13:21 +0000)]
It appears last_pts was not set ...

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

12 years agoFix
Luca Abeni [Fri, 15 Feb 2008 12:04:35 +0000 (12:04 +0000)]
Fix
utils.c: In function ‘avcodec_get_context_defaults2’:
utils.c:793: warning: assignment discards qualifiers from pointer target type

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

12 years agoFix
Luca Abeni [Fri, 15 Feb 2008 11:38:38 +0000 (11:38 +0000)]
Fix
opt.c: In function ‘av_set_string’:
opt.c:164: warning: passing argument 9 of ‘ff_eval2’ from incompatible pointer type

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

12 years agoMore explicit unsupported pixel format error messages.
Stefano Sabatini [Fri, 15 Feb 2008 07:50:27 +0000 (07:50 +0000)]
More explicit unsupported pixel format error messages.
Patch by Stefano Sabatini: stefano sabatini (minus) lala % poste it

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

12 years agoHeader elision muxing support.
Michael Niedermayer [Fri, 15 Feb 2008 02:57:19 +0000 (02:57 +0000)]
Header elision muxing support.
This only removes 2 bytes from MP3 and MP2 currently.
Up to 4 could be removed from MP3/MP2 though this might need a 2pass muxer.
Primitive code to remove headers from MPEG-1/2/4 is there too but for the
single file I tried it on (the one in the regression tests), it was a loss
because all video frames were >4096 byte, so that it is disabled ATM.

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

12 years agoElision header demuxing support.
Michael Niedermayer [Fri, 15 Feb 2008 02:36:09 +0000 (02:36 +0000)]
Elision header demuxing support.

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

12 years ago-vsync 2 (drop frames if there are too many but do not duplicate any)
Michael Niedermayer [Thu, 14 Feb 2008 18:53:12 +0000 (18:53 +0000)]
-vsync 2 (drop frames if there are too many but do not duplicate any)

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

12 years agoUpdate regression test checksum for ffm.
Benoit Fouet [Thu, 14 Feb 2008 09:20:53 +0000 (09:20 +0000)]
Update regression test checksum for ffm.

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

12 years agoAvoid void*-arithmetic.
avcoder [Thu, 14 Feb 2008 08:16:07 +0000 (08:16 +0000)]
Avoid void*-arithmetic.
Patch by mvplayer: ffmpeg gmail com

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

12 years agoRead match time delta in the frame header.
Michael Niedermayer [Wed, 13 Feb 2008 20:17:28 +0000 (20:17 +0000)]
Read match time delta in the frame header.
We do not do anything with it as lavf does not really support it yet.

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

12 years agoRead match_time_delta in the framecode table.
Michael Niedermayer [Wed, 13 Feb 2008 20:13:29 +0000 (20:13 +0000)]
Read match_time_delta in the framecode table.

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

12 years agoupdate flags
Michael Niedermayer [Wed, 13 Feb 2008 20:01:09 +0000 (20:01 +0000)]
update flags

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

12 years agohonor stsd v1 first, fix mace surge-2-8-MAC3.mov, beware of mulaw,alaw
Baptiste Coudurier [Wed, 13 Feb 2008 19:26:45 +0000 (19:26 +0000)]
honor stsd v1 first, fix mace surge-2-8-MAC3.mov, beware of mulaw,alaw

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

12 years agoCosmetics: indentation
Thorsten Jordan [Wed, 13 Feb 2008 14:24:34 +0000 (14:24 +0000)]
Cosmetics: indentation

Patch by Thorsten Jordan (tjordan atay macrosystem otday de)
[FFmpeg-devel] Behaviour of liba52 decoder

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

12 years agoRemove useless buffering of input data, so that avcodec_decode_audio never
Thorsten Jordan [Wed, 13 Feb 2008 14:20:22 +0000 (14:20 +0000)]
Remove useless buffering of input data, so that avcodec_decode_audio never
returns 0 for a valid frame

Patch by Thorsten Jordan (tjordan atay macrosystem otday de)
[FFmpeg-devel] Behaviour of liba52 decoder

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

12 years ago10l, forgot alaw/mulaw mono, use bits_per_sample in fact,
Baptiste Coudurier [Wed, 13 Feb 2008 13:11:10 +0000 (13:11 +0000)]
10l, forgot alaw/mulaw mono, use bits_per_sample in fact,
it should correctly set by av_get_bits_per_sample if recognized

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

12 years agoInclude poll.h instead of sys/poll.h
Luca Abeni [Wed, 13 Feb 2008 12:51:14 +0000 (12:51 +0000)]
Include poll.h instead of sys/poll.h

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

12 years agowarn use if edit list is not starting at 0, a/v desync might occur
Baptiste Coudurier [Wed, 13 Feb 2008 10:58:16 +0000 (10:58 +0000)]
warn use if edit list is not starting at 0, a/v desync might occur

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

12 years agoremove now useless code
Baptiste Coudurier [Wed, 13 Feb 2008 10:53:48 +0000 (10:53 +0000)]
remove now useless code

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

12 years agoremove messy and not always correct chunk size workaround, use correct values instead
Baptiste Coudurier [Wed, 13 Feb 2008 10:52:23 +0000 (10:52 +0000)]
remove messy and not always correct chunk size workaround, use correct values instead

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

12 years agotypo fix: inited --> initialized
Diego Biurrun [Wed, 13 Feb 2008 09:26:10 +0000 (09:26 +0000)]
typo fix: inited --> initialized

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

12 years agotypo
Diego Biurrun [Wed, 13 Feb 2008 09:07:41 +0000 (09:07 +0000)]
typo

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

12 years agoAdd fallback for DECLARE_ALIGNED and DECLARE_ASM_CONST.
Diego Biurrun [Wed, 13 Feb 2008 08:36:04 +0000 (08:36 +0000)]
Add fallback for DECLARE_ALIGNED and DECLARE_ASM_CONST.

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

12 years agoMark MSVC compiler macros as such.
Diego Biurrun [Wed, 13 Feb 2008 08:33:05 +0000 (08:33 +0000)]
Mark MSVC compiler macros as such.

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

12 years agoDisentangle nested preprocessor directives.
Diego Biurrun [Wed, 13 Feb 2008 08:08:03 +0000 (08:08 +0000)]
Disentangle nested preprocessor directives.

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

12 years agoPrint Theora bitstream version at DEBUG, not at VERBOSE level.
Diego Biurrun [Wed, 13 Feb 2008 08:05:51 +0000 (08:05 +0000)]
Print Theora bitstream version at DEBUG, not at VERBOSE level.

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

12 years agocosmetics: Replace // by /* */ comments.
Diego Biurrun [Wed, 13 Feb 2008 01:18:12 +0000 (01:18 +0000)]
cosmetics: Replace // by /* */ comments.
sync with upstream libmpeg2 0.4.1

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

12 years agoDo not use ranges with tr, the results are locale-dependent.
Diego Biurrun [Mon, 11 Feb 2008 23:17:06 +0000 (23:17 +0000)]
Do not use ranges with tr, the results are locale-dependent.
Suggested by Rich Felker.

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

12 years agoreturn error when dv audio extraction fails
Baptiste Coudurier [Mon, 11 Feb 2008 22:37:44 +0000 (22:37 +0000)]
return error when dv audio extraction fails

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

12 years agoremove obsolete comments
Baptiste Coudurier [Mon, 11 Feb 2008 22:34:43 +0000 (22:34 +0000)]
remove obsolete comments

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

12 years agoremove useless braces
Baptiste Coudurier [Mon, 11 Feb 2008 22:34:03 +0000 (22:34 +0000)]
remove useless braces

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

12 years agocosmetics, indentation, braces
Baptiste Coudurier [Mon, 11 Feb 2008 22:33:35 +0000 (22:33 +0000)]
cosmetics, indentation, braces

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

12 years agosplit chunks in the case of big compressed audio frames,
Baptiste Coudurier [Mon, 11 Feb 2008 22:32:35 +0000 (22:32 +0000)]
split chunks in the case of big compressed audio frames,
might be tweaked, fix qt_dv_pal_test.mov.

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

12 years agouse correct demux mechanism when audio compression id is -2, dv audio does not matter...
Baptiste Coudurier [Mon, 11 Feb 2008 22:23:05 +0000 (22:23 +0000)]
use correct demux mechanism when audio compression id is -2, dv audio does not matter, demux partially qt_dv_pal_test.mov which does NOT use cid -2

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

12 years agoFactor bytewidth determination in its own function
Vitor Sessak [Mon, 11 Feb 2008 21:49:24 +0000 (21:49 +0000)]
Factor bytewidth determination in its own function

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

12 years agofcp imx 40 fourccs
Baptiste Coudurier [Mon, 11 Feb 2008 15:20:35 +0000 (15:20 +0000)]
fcp imx 40 fourccs

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

12 years agoindentation
Baptiste Coudurier [Mon, 11 Feb 2008 14:10:52 +0000 (14:10 +0000)]
indentation

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

12 years agomore correct and simpler
Baptiste Coudurier [Mon, 11 Feb 2008 14:10:29 +0000 (14:10 +0000)]
more correct and simpler

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

12 years agoAdd 'reservoir' flag to lavc's flags2 controlling whether or not codes may
Paul Kelly [Mon, 11 Feb 2008 08:01:07 +0000 (08:01 +0000)]
Add 'reservoir' flag to lavc's flags2 controlling whether or not codes may
utilize a bit reservoir. Also, make the lame encoder utilize this flag.

patch by Paul Kelly, paul a stjohnspoint d co d uk

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

12 years agoDo not use GNU-specific (or BSD-specific or whatever they may be)
D Richard Felker III [Mon, 11 Feb 2008 03:30:42 +0000 (03:30 +0000)]
Do not use GNU-specific (or BSD-specific or whatever they may be)
constants which are completely unneeded anyway. Note that 3 is a cheap
integer bound for log10(1<<CHAR_BIT).

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

12 years agoCoding style changes
Vitor Sessak [Sun, 10 Feb 2008 18:05:02 +0000 (18:05 +0000)]
Coding style changes

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

12 years agoMore code factorization
Vitor Sessak [Sun, 10 Feb 2008 18:04:55 +0000 (18:04 +0000)]
More code factorization

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

12 years agoFactor duplicated loop
Vitor Sessak [Sun, 10 Feb 2008 18:04:52 +0000 (18:04 +0000)]
Factor duplicated loop

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

12 years agoDo not hardcode the list of pixel formats and use PIX_FMT_NB instead.
Vitor Sessak [Sun, 10 Feb 2008 18:04:49 +0000 (18:04 +0000)]
Do not hardcode the list of pixel formats and use PIX_FMT_NB instead.

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

12 years agoDo not hardcode the type of AVFilterFormats.formats in allocation
Vitor Sessak [Sun, 10 Feb 2008 18:04:43 +0000 (18:04 +0000)]
Do not hardcode the type of AVFilterFormats.formats in allocation

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

12 years agoOops, my last commit broke compilation...
Vitor Sessak [Sun, 10 Feb 2008 18:04:38 +0000 (18:04 +0000)]
Oops, my last commit broke compilation...

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

12 years agoMake regression tests to pass with libavfilter.
Vitor Sessak [Sun, 10 Feb 2008 18:04:36 +0000 (18:04 +0000)]
Make regression tests to pass with libavfilter.

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

12 years agoNeed to be careful when dealing with references.
Vitor Sessak [Sun, 10 Feb 2008 18:04:32 +0000 (18:04 +0000)]
Need to be careful when dealing with references.

Commited in SoC by Bobby Bingham

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

12 years ago10l. parameter was unused and redundant.
Vitor Sessak [Sun, 10 Feb 2008 18:04:27 +0000 (18:04 +0000)]
10l. parameter was unused and redundant.

Commited in SoC by Bobby Bingham

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

12 years agoavfilter_formats_unref() should remove the given reference, not the last
Vitor Sessak [Sun, 10 Feb 2008 18:03:18 +0000 (18:03 +0000)]
avfilter_formats_unref() should remove the given reference, not the last
reference.

Commited in SoC by Bobby Bingham

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

12 years agoFirst libavfilter commit.
Vitor Sessak [Sun, 10 Feb 2008 18:02:11 +0000 (18:02 +0000)]
First libavfilter commit.

Original log message:
Forgot to add in the big colorspace commit

Commited in SoC by Bobby Bingham

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

12 years agoasm argument that might be in memory needs a size
Loren Merritt [Sun, 10 Feb 2008 01:45:42 +0000 (01:45 +0000)]
asm argument that might be in memory needs a size

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

12 years agoMake dither4 & dither8 const.
Carl Eugen Hoyos [Sat, 9 Feb 2008 22:57:37 +0000 (22:57 +0000)]
Make dither4 & dither8 const.

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

12 years agoAllow compilation with icc 10.1.
Carl Eugen Hoyos [Sat, 9 Feb 2008 20:47:11 +0000 (20:47 +0000)]
Allow compilation with icc 10.1.

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

12 years agoRemove pointless #if.
Diego Biurrun [Sat, 9 Feb 2008 18:07:20 +0000 (18:07 +0000)]
Remove pointless #if.

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

12 years agoRemove pointless code.
Michael Niedermayer [Sat, 9 Feb 2008 18:02:28 +0000 (18:02 +0000)]
Remove pointless code.

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

12 years agoUse HAVE_ALTIVEC preprocessor conditionals like in the rest of FFmpeg.
Diego Biurrun [Sat, 9 Feb 2008 17:55:07 +0000 (17:55 +0000)]
Use HAVE_ALTIVEC preprocessor conditionals like in the rest of FFmpeg.

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

12 years agoRemove pointless code.
Michael Niedermayer [Sat, 9 Feb 2008 17:26:40 +0000 (17:26 +0000)]
Remove pointless code.

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

12 years agoassert() and note about odd len.
Michael Niedermayer [Sat, 9 Feb 2008 14:45:36 +0000 (14:45 +0000)]
assert() and note about odd len.

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

12 years ago30% faster ff_vorbis_floor1_render_list, 3% faster overall
Loren Merritt [Sat, 9 Feb 2008 13:53:15 +0000 (13:53 +0000)]
30% faster ff_vorbis_floor1_render_list, 3% faster overall

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

12 years agouse fewer registers in apply_welch_window_sse2
Loren Merritt [Sat, 9 Feb 2008 05:29:47 +0000 (05:29 +0000)]
use fewer registers in apply_welch_window_sse2

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

12 years agooptimize apply_welch_window()
Michael Niedermayer [Sat, 9 Feb 2008 03:42:48 +0000 (03:42 +0000)]
optimize apply_welch_window()

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

12 years agoUse a consistent capitalization for 'Snow' as discussed on the list
Mike Melanson [Fri, 8 Feb 2008 19:17:46 +0000 (19:17 +0000)]
Use a consistent capitalization for 'Snow' as discussed on the list

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

12 years agocosmetics, remove whitespaces before and after parenthesis
Baptiste Coudurier [Wed, 6 Feb 2008 18:57:00 +0000 (18:57 +0000)]
cosmetics, remove whitespaces before and after parenthesis

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

12 years agoAdd support for speex in ogg
Reimar Döffinger [Wed, 6 Feb 2008 12:37:37 +0000 (12:37 +0000)]
Add support for speex in ogg

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

12 years agosse2 h264 motion compensation. not new code, just separate out the cases that didn...
Loren Merritt [Wed, 6 Feb 2008 12:32:31 +0000 (12:32 +0000)]
sse2 h264 motion compensation. not new code, just separate out the cases that didn't need ssse3.

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

12 years agoput loop counter in a register if possible. makes some of the qpel functions 3% faster.
Loren Merritt [Wed, 6 Feb 2008 04:44:21 +0000 (04:44 +0000)]
put loop counter in a register if possible. makes some of the qpel functions 3% faster.

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

12 years agofix aliasing warnings. simpler too.
Loren Merritt [Wed, 6 Feb 2008 04:14:07 +0000 (04:14 +0000)]
fix aliasing warnings. simpler too.

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

12 years agoconstant was excessively aligned
Loren Merritt [Wed, 6 Feb 2008 03:51:53 +0000 (03:51 +0000)]
constant was excessively aligned

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

12 years agoAllow the user to select which codec out of several in stsd he wants.
Michael Niedermayer [Wed, 6 Feb 2008 01:51:32 +0000 (01:51 +0000)]
Allow the user to select which codec out of several in stsd he wants.

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

12 years agoCheck that we have enough input data in IMC decoder.
Reimar Döffinger [Tue, 5 Feb 2008 18:39:55 +0000 (18:39 +0000)]
Check that we have enough input data in IMC decoder.

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

12 years agossse3 h264 motion compensation.
Loren Merritt [Tue, 5 Feb 2008 11:22:55 +0000 (11:22 +0000)]
ssse3 h264 motion compensation.
25% faster tham mmx on core2, 35% if you discount fullpel, 4% overall decoding.

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

12 years agoadd qpel rounder once during hv rather than twice during hv and whatever it's average...
Loren Merritt [Tue, 5 Feb 2008 03:58:13 +0000 (03:58 +0000)]
add qpel rounder once during hv rather than twice during hv and whatever it's averaged with

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

12 years agoseek regression ref update for ogg
Baptiste Coudurier [Tue, 5 Feb 2008 01:35:34 +0000 (01:35 +0000)]
seek regression ref update for ogg

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

12 years agoclean up an ugliness introduced in r11826. this syntax will require fewer changes...
Loren Merritt [Tue, 5 Feb 2008 01:16:48 +0000 (01:16 +0000)]
clean up an ugliness introduced in r11826. this syntax will require fewer changes when adding future sse2 code.

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

12 years agoFix issue 338:
Baptiste Coudurier [Tue, 5 Feb 2008 01:16:47 +0000 (01:16 +0000)]
Fix issue 338:
Correctly interleave ogg packets per granule
and set eos correctly, 2 packets buffering is needed.
It duplicates interleave_per_dts a bit,
if someone has a good solution, I'll implement it.

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

12 years agoit seems ogg requires granule to be -1 on unfinished packets
Baptiste Coudurier [Tue, 5 Feb 2008 01:01:56 +0000 (01:01 +0000)]
it seems ogg requires granule to be -1 on unfinished packets

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

12 years agoDeprecate old and inefficient per instruction asm().
Michael Niedermayer [Mon, 4 Feb 2008 20:03:08 +0000 (20:03 +0000)]
Deprecate old and inefficient per instruction asm().

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

12 years agoUpdate seektest regression as well to previous lavf/nut commits
Oded Shimon [Mon, 4 Feb 2008 19:03:50 +0000 (19:03 +0000)]
Update seektest regression as well to previous lavf/nut commits

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

12 years agoreduce code duplication
Loren Merritt [Mon, 4 Feb 2008 16:20:46 +0000 (16:20 +0000)]
reduce code duplication

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

12 years agoCorrect fatal ambiguity.
Michael Niedermayer [Mon, 4 Feb 2008 13:12:15 +0000 (13:12 +0000)]
Correct fatal ambiguity.

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

12 years agoCorrect incorrect statement about warnings.
Michael Niedermayer [Mon, 4 Feb 2008 13:10:14 +0000 (13:10 +0000)]
Correct incorrect statement about warnings.

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

12 years agoString pointers of ogg_codec_t should have const attribute.
Reimar Döffinger [Mon, 4 Feb 2008 12:32:25 +0000 (12:32 +0000)]
String pointers of ogg_codec_t should have const attribute.

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

12 years agoAdd dv50 tag to support samples with dv50 fourcc in AVI.
Christophe Lorenz [Mon, 4 Feb 2008 12:18:00 +0000 (12:18 +0000)]
Add dv50 tag to support samples with dv50 fourcc in AVI.
patch by christophelorenz  christophelorenz gmail com

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

12 years agoUpdate policy entry about compiler warnings to reflect ml discussions.
Diego Biurrun [Mon, 4 Feb 2008 12:16:14 +0000 (12:16 +0000)]
Update policy entry about compiler warnings to reflect ml discussions.

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

12 years agoFix a possible use of an uninitialized pointer.
Reimar Döffinger [Mon, 4 Feb 2008 12:13:09 +0000 (12:13 +0000)]
Fix a possible use of an uninitialized pointer.

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

12 years agoback_ptr calculation used wrong timebase when searching for back syncpoint
Oded Shimon [Mon, 4 Feb 2008 10:48:41 +0000 (10:48 +0000)]
back_ptr calculation used wrong timebase when searching for back syncpoint

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

12 years agoFix intented algo in syncpoint writing before keyframes in NUT muxer
Oded Shimon [Mon, 4 Feb 2008 10:45:32 +0000 (10:45 +0000)]
Fix intented algo in syncpoint writing before keyframes in NUT muxer

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

12 years agonut->max_distance was not set at all anywhere in the NUT muxer
Oded Shimon [Mon, 4 Feb 2008 10:34:35 +0000 (10:34 +0000)]
nut->max_distance was not set at all anywhere in the NUT muxer

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

12 years agoRemove old workaround in nutdec.c for libnut bug
Oded Shimon [Mon, 4 Feb 2008 10:30:38 +0000 (10:30 +0000)]
Remove old workaround in nutdec.c for libnut bug

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

12 years agomissing " && j<syncpoint_count" protection in the index parsing, as the
Oded Shimon [Mon, 4 Feb 2008 10:29:03 +0000 (10:29 +0000)]
missing " && j<syncpoint_count" protection in the index parsing, as the
spec instructs...

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

12 years agoff_nut_reset_ts() expected to get 'ts*time_base_count', but muxer only
Oded Shimon [Mon, 4 Feb 2008 10:27:32 +0000 (10:27 +0000)]
ff_nut_reset_ts() expected to get 'ts*time_base_count', but muxer only
gave it 'ts'. Fixed by changing ff_nut_reset_ts() and demuxer params

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

12 years agoMake luma_dc_quant_i and luma_dc_quant_p const, fixes a couple of
Diego Biurrun [Mon, 4 Feb 2008 10:26:35 +0000 (10:26 +0000)]
Make luma_dc_quant_i and luma_dc_quant_p const, fixes a couple of
"assignment discards qualifiers from pointer target type" warnings.
blessed by Konstantin Shishkov

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

12 years ago2 more missing consts found by -Wwrite-strings.
Michael Niedermayer [Mon, 4 Feb 2008 01:06:04 +0000 (01:06 +0000)]
2 more missing consts found by -Wwrite-strings.

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

12 years agoRemove incorrect cast found by -Wwrite-strings.
Michael Niedermayer [Mon, 4 Feb 2008 01:04:27 +0000 (01:04 +0000)]
Remove incorrect cast found by -Wwrite-strings.

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

12 years agoAnother const found by -Wwrite-strings.
Michael Niedermayer [Mon, 4 Feb 2008 01:01:52 +0000 (01:01 +0000)]
Another const found by -Wwrite-strings.

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

12 years agoconst
Michael Niedermayer [Mon, 4 Feb 2008 00:49:14 +0000 (00:49 +0000)]
const

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

12 years agofix 8 "initialization discards qualifiers from pointer target type"
Michael Niedermayer [Mon, 4 Feb 2008 00:42:27 +0000 (00:42 +0000)]
fix 8 "initialization discards qualifiers from pointer target type"
warnings

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

12 years agoconst
Michael Niedermayer [Mon, 4 Feb 2008 00:37:36 +0000 (00:37 +0000)]
const

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