platform/upstream/libav.git
17 years agoskip MMX code in rgb32to15 if the size of the input is smaller than the
Ivo van Poorten [Wed, 18 Apr 2007 09:24:49 +0000 (09:24 +0000)]
skip MMX code in rgb32to15 if the size of the input is smaller than the
size of the units the MMX code processes

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

17 years agoAtrac3 decoder.
Benjamin Larsson [Tue, 17 Apr 2007 20:53:39 +0000 (20:53 +0000)]
Atrac3 decoder.

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

17 years agoslightly faster rgb32tobgr32; avoid one add and one cmp
Ivo van Poorten [Tue, 17 Apr 2007 20:38:17 +0000 (20:38 +0000)]
slightly faster rgb32tobgr32; avoid one add and one cmp

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

17 years agoFix the most obvious typos in the development policy doc section
Reimar Döffinger [Tue, 17 Apr 2007 14:06:08 +0000 (14:06 +0000)]
Fix the most obvious typos in the development policy doc section

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

17 years agopatch submission checklist
Michael Niedermayer [Tue, 17 Apr 2007 13:07:31 +0000 (13:07 +0000)]
patch submission checklist

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

17 years agoadd a commit-rule precision when applying patches discussed on the mailing list
Benoit Fouet [Tue, 17 Apr 2007 08:37:39 +0000 (08:37 +0000)]
add a commit-rule precision when applying patches discussed on the mailing list

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

17 years agoNew implementation of rgb32tobgr32
Ivo van Poorten [Mon, 16 Apr 2007 21:41:03 +0000 (21:41 +0000)]
New implementation of rgb32tobgr32

The previous implementation segfaulted with MMX enabled when fed an image
smaller than the size of the units the MMX code processed. The new code:
- is faster for MMX, MMX2 and plain C
- processes small images correctly
- is LGPL

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

17 years agoMention configure parameters for enabling AMR.
Diego Biurrun [Sun, 15 Apr 2007 19:45:48 +0000 (19:45 +0000)]
Mention configure parameters for enabling AMR.

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

17 years agoadd an enum for need_parsing
Aurelien Jacobs [Sun, 15 Apr 2007 13:51:57 +0000 (13:51 +0000)]
add an enum for need_parsing

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

17 years agoMake the declaration of AVInputFormat ac3_demuxer conditional
Diego Biurrun [Sun, 15 Apr 2007 12:35:44 +0000 (12:35 +0000)]
Make the declaration of AVInputFormat ac3_demuxer conditional
on CONFIG_AC3_DEMUXER.

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

17 years agoThe AC3 demuxer depends on the AC3 parser.
Diego Biurrun [Sun, 15 Apr 2007 12:34:50 +0000 (12:34 +0000)]
The AC3 demuxer depends on the AC3 parser.

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

17 years agoMove AC3 header parsing code together with the rest of the AC3 parsing code.
Diego Biurrun [Sun, 15 Apr 2007 12:32:36 +0000 (12:32 +0000)]
Move AC3 header parsing code together with the rest of the AC3 parsing code.

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

17 years agofix mjpeg.mov
Michael Niedermayer [Sun, 15 Apr 2007 08:53:03 +0000 (08:53 +0000)]
fix mjpeg.mov

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

17 years agoimprove horizontal chroma resolution with pal
Michael Niedermayer [Sun, 15 Apr 2007 01:27:34 +0000 (01:27 +0000)]
improve horizontal chroma resolution with pal

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

17 years agoconvert palette to yuv instead of converting each pixel after pal->rgb
Michael Niedermayer [Sun, 15 Apr 2007 00:53:32 +0000 (00:53 +0000)]
convert palette to yuv instead of converting each pixel after pal->rgb

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

17 years agofix playback of angels_480-mjpegcompress.avi
Michael Niedermayer [Sat, 14 Apr 2007 22:58:23 +0000 (22:58 +0000)]
fix playback of angels_480-mjpegcompress.avi

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

17 years agofix playback of odd_height.mov
Michael Niedermayer [Sat, 14 Apr 2007 22:22:34 +0000 (22:22 +0000)]
fix playback of odd_height.mov
this isnt the most beautifull solution but at least it works independant of the
random height in mov and it doesnt add any secholes

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

17 years agocorrect another possible buffer overflow where interlaced would
Michael Niedermayer [Sat, 14 Apr 2007 22:05:12 +0000 (22:05 +0000)]
correct another possible buffer overflow where interlaced would
get stuck to 1 but then width/height would change and interlaced
wouldnt be reset ...

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

17 years agofix tiff regression test (bitexact flag was ignoredwhich caused the
Michael Niedermayer [Sat, 14 Apr 2007 18:58:26 +0000 (18:58 +0000)]
fix tiff regression test (bitexact flag was ignoredwhich caused the
LAVC version to be in the file and thus breaking with the last change of that)

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

17 years agoremove MpegEncContext, patch by baptiste
Baptiste Coudurier [Sat, 14 Apr 2007 18:42:50 +0000 (18:42 +0000)]
remove MpegEncContext, patch by baptiste
approved by me already but apparently forgotten

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

17 years agofix overhead and bitrate statistics
Michael Niedermayer [Sat, 14 Apr 2007 17:50:39 +0000 (17:50 +0000)]
fix overhead and bitrate statistics

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

17 years agoUpdate preprocessor directive comments to take recent changes to this file
Diego Biurrun [Sat, 14 Apr 2007 09:59:57 +0000 (09:59 +0000)]
Update preprocessor directive comments to take recent changes to this file
into account.

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

17 years agoSimplify Darwin gcc flags setting.
Diego Biurrun [Sat, 14 Apr 2007 09:52:30 +0000 (09:52 +0000)]
Simplify Darwin gcc flags setting.

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

17 years agoRemove redundant 2.95 branch from the Darwin gcc check. It is already
Diego Biurrun [Sat, 14 Apr 2007 08:33:46 +0000 (08:33 +0000)]
Remove redundant 2.95 branch from the Darwin gcc check.  It is already
being handled by the default case.

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

17 years agoone patch one mail
Michael Niedermayer [Fri, 13 Apr 2007 23:36:58 +0000 (23:36 +0000)]
one patch one mail

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

17 years agotrap signals in tests that can crash
Måns Rullgård [Fri, 13 Apr 2007 20:16:13 +0000 (20:16 +0000)]
trap signals in tests that can crash

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

17 years agocosmetics: Fix indentation.
Diego Biurrun [Fri, 13 Apr 2007 12:02:54 +0000 (12:02 +0000)]
cosmetics: Fix indentation.

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

17 years agotimestamps generation improvement when parsing avi
Joakim Plate [Fri, 13 Apr 2007 07:50:04 +0000 (07:50 +0000)]
timestamps generation improvement when parsing avi
patch by Joakim \ elupus chez ecce dot se /
original thread:
date: 03/19/2007 01:47 AM
subject: [Ffmpeg-devel] [RFC] Improvement for the odd timestamp generation when parser is in use.

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

17 years agochange atoll call to equivalent strtoll to fix compilation on Mac OS X 10.2
Patrice Bensoussan [Fri, 13 Apr 2007 07:19:12 +0000 (07:19 +0000)]
change atoll call to equivalent strtoll to fix compilation on Mac OS X 10.2
patch by Patrice Bensoussan \ patrice dot bensoussan chez free dot fr
Original thread:
date: 04/05/2007 07:56 PM
subject: [Ffmpeg-devel] [PATCH] Fix broken compilation on Mac OS X 10.2 due to OPT_INT64 support

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

17 years agocosmetics, expand all tabs to four spaces.
Ivo van Poorten [Thu, 12 Apr 2007 19:31:35 +0000 (19:31 +0000)]
cosmetics, expand all tabs to four spaces.

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

17 years agoReplace huge switch statement by a lookup table.
Ivo van Poorten [Thu, 12 Apr 2007 19:25:36 +0000 (19:25 +0000)]
Replace huge switch statement by a lookup table.
Add newline to final report.

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

17 years agoAs usual Real actually took something existing and rebranded it.
Benjamin Larsson [Thu, 12 Apr 2007 15:37:23 +0000 (15:37 +0000)]
As usual Real actually took something existing and rebranded it.
Cook looks very much like G.722.1.

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

17 years agospelling
Diego Biurrun [Thu, 12 Apr 2007 11:28:34 +0000 (11:28 +0000)]
spelling

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

17 years agoAdd a note about how to enable external libraries.
Diego Biurrun [Thu, 12 Apr 2007 11:15:23 +0000 (11:15 +0000)]
Add a note about how to enable external libraries.

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

17 years agoAdd complete instructions for the brave people wishing to fiddle with the
Diego Biurrun [Thu, 12 Apr 2007 11:12:43 +0000 (11:12 +0000)]
Add complete instructions for the brave people wishing to fiddle with the
reference encoder/decoder source.

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

17 years agotypo
Diego Biurrun [Thu, 12 Apr 2007 11:07:10 +0000 (11:07 +0000)]
typo

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

17 years agoUpdate AMR instructions for last round of changes.
Diego Biurrun [Thu, 12 Apr 2007 11:05:38 +0000 (11:05 +0000)]
Update AMR instructions for last round of changes.

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

17 years agoReplace hackish support for amr-nb and amr-wb. Instead of including the source
Stanislav Brabec [Thu, 12 Apr 2007 10:59:52 +0000 (10:59 +0000)]
Replace hackish support for amr-nb and amr-wb. Instead of including the source
of the reference implementation it is possible to use proper libraries now.
patch by Stanislav Brabec, sbrabec suse cz, changes and bug fixes by me

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

17 years agoUpdate download URL with a link to a working version.
Diego Biurrun [Thu, 12 Apr 2007 10:27:40 +0000 (10:27 +0000)]
Update download URL with a link to a working version.

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

17 years agoDVR-MS probe audio format
John Donaghy [Thu, 12 Apr 2007 08:11:33 +0000 (08:11 +0000)]
DVR-MS probe audio format
patch by John Donaghy \ johnfdonaghy chez gmail dot com /
Original thread:
date: 03/13/2007 04:56 PM
subject: [Ffmpeg-devel] [PATCH] DVR-MS probe audio format - was DVR-MS bug (MP2 decoding)

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

17 years agocosmetics after last commit; remove superfluous braces
Ivo van Poorten [Wed, 11 Apr 2007 22:17:58 +0000 (22:17 +0000)]
cosmetics after last commit; remove superfluous braces

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

17 years agoRemove code duplication in sws_rgb2rgb_init.
Ivo van Poorten [Wed, 11 Apr 2007 21:00:25 +0000 (21:00 +0000)]
Remove code duplication in sws_rgb2rgb_init.

The lists of assignments of all rgbxtoy variants are removed from
sws_rgb2rgb_init and replaced by a single list inside the template file.
This way, multiple lists are generated by the preprocessor and each list
gets its own initialization function. Those are called from the main
sws_rgb2rgb_init function, if applicable.

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

17 years agoadd a check before find_frame_end call
Limin Wang [Wed, 11 Apr 2007 14:04:47 +0000 (14:04 +0000)]
add a check before find_frame_end call
Patch by Limin Wang % lance P lmwang A gmail P com %
Original thread:
date: 04/09/2007 03:54 PM
subject: [Ffmpeg-devel] [PATCH] fix segment fault in h264_parse if buf_size is zero

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

17 years agoPer reference swf/flv adpcm encoder.
Benjamin Larsson [Wed, 11 Apr 2007 13:10:13 +0000 (13:10 +0000)]
Per reference swf/flv adpcm encoder.

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

17 years agocosmetics: indentation
Diego Biurrun [Wed, 11 Apr 2007 06:59:09 +0000 (06:59 +0000)]
cosmetics: indentation

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

17 years agoFix the poll() loop (ret == 0 means that a timeout expired, so it must be
Luca Abeni [Tue, 10 Apr 2007 14:40:03 +0000 (14:40 +0000)]
Fix the poll() loop (ret == 0 means that a timeout expired, so it must be
handled)

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

17 years agoFix the generation of RTSP reply headers (the "DEF()" macro is not used
Luca Abeni [Tue, 10 Apr 2007 14:36:11 +0000 (14:36 +0000)]
Fix the generation of RTSP reply headers (the "DEF()" macro is not used
anymore in rtspcodes.h)

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

17 years agoadd D-10 PAL 40 audio essence container ul
Baptiste Coudurier [Tue, 10 Apr 2007 14:10:36 +0000 (14:10 +0000)]
add D-10 PAL 40 audio essence container ul

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

17 years agoadd D-10 PAL 40 ul
Baptiste Coudurier [Tue, 10 Apr 2007 14:04:59 +0000 (14:04 +0000)]
add D-10 PAL 40 ul

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

17 years agocosmetics: indentation
Aurelien Jacobs [Tue, 10 Apr 2007 11:27:24 +0000 (11:27 +0000)]
cosmetics: indentation

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

17 years agossd_int8_vs_int16_altivec, not completely benchmarkedwith svq1
Luca Barbato [Tue, 10 Apr 2007 09:47:37 +0000 (09:47 +0000)]
ssd_int8_vs_int16_altivec, not completely benchmarkedwith svq1

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

17 years agocosmetics after last commit
Ivo van Poorten [Tue, 10 Apr 2007 09:16:35 +0000 (09:16 +0000)]
cosmetics after last commit

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

17 years agoAdd support for grayscale images with arbitrary maxvals.
Ivo van Poorten [Tue, 10 Apr 2007 09:15:54 +0000 (09:15 +0000)]
Add support for grayscale images with arbitrary maxvals.

The image data is rescaled to the nearest pix_fmt it will fit in (gray8 or
gray16). Conversion is done inside the codec in order to avoid the need
for 14 (or 65534) new pix_fmt's.

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

17 years agoFix an underflow/overflow that was causing some crackles when playing
Marco Gerards [Tue, 10 Apr 2007 08:18:04 +0000 (08:18 +0000)]
Fix an underflow/overflow that was causing some crackles when playing
certain THP files.
patch by Marco Gerards, mgerards xs4all nl

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

17 years agoSet C predictor to zero if unavailable (should fix B-frame border artifacts)
Kostya Shishkov [Tue, 10 Apr 2007 05:31:22 +0000 (05:31 +0000)]
Set C predictor to zero if unavailable (should fix B-frame border artifacts)

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

17 years agosuperflouos ()
Michael Niedermayer [Mon, 9 Apr 2007 22:25:27 +0000 (22:25 +0000)]
superflouos ()

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

17 years agoremove code_prefix variable, no speed change
Michael Niedermayer [Mon, 9 Apr 2007 22:21:49 +0000 (22:21 +0000)]
remove code_prefix variable, no speed change

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

17 years agosimplify
Michael Niedermayer [Mon, 9 Apr 2007 22:18:09 +0000 (22:18 +0000)]
simplify

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

17 years agoadd support for seeking to a keyframe instead of a random frame
Aurelien Jacobs [Mon, 9 Apr 2007 17:03:20 +0000 (17:03 +0000)]
add support for seeking to a keyframe instead of a random frame

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

17 years agoadd an intermediate variable (prepare for next patch)
Aurelien Jacobs [Mon, 9 Apr 2007 17:00:09 +0000 (17:00 +0000)]
add an intermediate variable (prepare for next patch)

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

17 years agoadd support for seeking in matroska files
Aurelien Jacobs [Mon, 9 Apr 2007 16:48:28 +0000 (16:48 +0000)]
add support for seeking in matroska files

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

17 years agomove matroska_find_track_by_num() upper in the file
Aurelien Jacobs [Mon, 9 Apr 2007 16:45:43 +0000 (16:45 +0000)]
move matroska_find_track_by_num() upper in the file
so that it can be used by other part of the code

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

17 years agocluster position is relative to segment_start
Aurelien Jacobs [Mon, 9 Apr 2007 16:29:10 +0000 (16:29 +0000)]
cluster position is relative to segment_start

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

17 years agoproperly set streams start_time
Aurelien Jacobs [Mon, 9 Apr 2007 16:27:00 +0000 (16:27 +0000)]
properly set streams start_time

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

17 years agoremove unused context field
Aurelien Jacobs [Mon, 9 Apr 2007 16:24:03 +0000 (16:24 +0000)]
remove unused context field

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

17 years agoremove wrong and no more used packet reordering code
Aurelien Jacobs [Mon, 9 Apr 2007 16:22:18 +0000 (16:22 +0000)]
remove wrong and no more used packet reordering code

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

17 years agoWhen dst_length == 0 bit_length has to be 0, too, but the current code still
Reinhard Nissl [Mon, 9 Apr 2007 14:10:07 +0000 (14:10 +0000)]
When dst_length == 0 bit_length has to be 0, too, but the current code still
calls decode_rbsp_trailing() and therefore bit_length might get negative.
Although the remaining code is able to handle a negative bit_length, avoid
the calculation at all by setting bit_length to 0 for dst_length == 0.
patch by Reinhard Nissl, rnissl gmx de

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

17 years agoRemove a NAL unit's trailing zero bytes even when dst_length is 1.
Reinhard Nissl [Mon, 9 Apr 2007 13:39:35 +0000 (13:39 +0000)]
Remove a NAL unit's trailing zero bytes even when dst_length is 1.
Consider the following byte sequence

    00 00 01 0a 00 00 00 01 09 ...
               ^  ^
               A  B

decode_nal() determines dst_length to be 1 (i. e. the byte between label
A and B above). However, this byte is a trailing zero byte as the spec
says the the current NAL unit is terminated by a byte sequence 00 00 00.

The current code used a loop to decrement dst_length accordingly. But the
loop doesn't start as the loop condition checks for dst_length > 1, which
should read dst_length > 0.
patch by Reinhard Nissl, rnissl gmx de

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

17 years agoscenario: A properly coded frame is followed by an end of sequence NAL unit,
Reinhard Nissl [Mon, 9 Apr 2007 12:55:07 +0000 (12:55 +0000)]
scenario: A properly coded frame is followed by an end of sequence NAL unit,
i.e. the four bytes 00 00 01 0a.
When decode_nal() decodes the end of sequence NAL unit, it returns with
dst_length == 0. The original code leads to a return -1 which discards
the current properly decoded frame.
patch by Reinhard Nissl, rnissl gmx de

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

17 years agoGet rid of unnecessary pointer casts.
Nicholas Tung [Sun, 8 Apr 2007 20:24:16 +0000 (20:24 +0000)]
Get rid of unnecessary pointer casts.
patch by Nicholas Tung, ntung ntung com

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

17 years agoMake some functions which aren't used outside their declaring source file
Stefan Huehner [Sun, 8 Apr 2007 20:21:11 +0000 (20:21 +0000)]
Make some functions which aren't used outside their declaring source file
and have no prototype in a header file static.
patch by Stefan Huehner, stefan huehner org

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

17 years agoOnly compile in Theora-specific functions if the Theora decoder has been
Diego Biurrun [Sun, 8 Apr 2007 18:54:53 +0000 (18:54 +0000)]
Only compile in Theora-specific functions if the Theora decoder has been
enabled.  Also fixes some "defined but not used" warnings in that case.

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

17 years agocosmetics: Move one code block to save an #ifdef in the next commit.
Diego Biurrun [Sun, 8 Apr 2007 18:52:03 +0000 (18:52 +0000)]
cosmetics: Move one code block to save an #ifdef in the next commit.

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

17 years agoRemove #if 0 code.
Diego Biurrun [Sun, 8 Apr 2007 18:50:18 +0000 (18:50 +0000)]
Remove #if 0 code.

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

17 years agoFix compilation when Theora decoder is disabled, but VP3 is enabled.
Diego Biurrun [Sun, 8 Apr 2007 13:42:44 +0000 (13:42 +0000)]
Fix compilation when Theora decoder is disabled, but VP3 is enabled.

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

17 years agoRemove unused variable.
Diego Biurrun [Sun, 8 Apr 2007 13:02:25 +0000 (13:02 +0000)]
Remove unused variable.

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

17 years agocosmetics: indentation fix
Marco Gerards [Sun, 8 Apr 2007 12:05:02 +0000 (12:05 +0000)]
cosmetics: indentation fix
patch by Marco Gerards, mgerards xs4all nl

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

17 years agofile extension based probe is max/2
Michael Niedermayer [Sun, 8 Apr 2007 11:37:43 +0000 (11:37 +0000)]
file extension based probe is max/2

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

17 years agofactorize
Michael Niedermayer [Sun, 8 Apr 2007 11:37:04 +0000 (11:37 +0000)]
factorize

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

17 years agoallocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size...
Michael Niedermayer [Sun, 8 Apr 2007 11:34:15 +0000 (11:34 +0000)]
allocate 32 extra bytes at the end of the probe buffer and remove most probe buf_size checks

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

17 years agoalso remove c93_ prefix for static function in the c93 demuxer
Michael Niedermayer [Sun, 8 Apr 2007 09:50:08 +0000 (09:50 +0000)]
also remove c93_ prefix for static function in the c93 demuxer

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

17 years agofactorize & 0x0F
Michael Niedermayer [Sun, 8 Apr 2007 09:44:34 +0000 (09:44 +0000)]
factorize & 0x0F

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

17 years agoremove c93_ prefix from static functions in c93.c
Michael Niedermayer [Sun, 8 Apr 2007 09:31:54 +0000 (09:31 +0000)]
remove c93_ prefix from static functions in c93.c

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

17 years agos/rle_num_bytes/code/
Michael Niedermayer [Sat, 7 Apr 2007 23:32:55 +0000 (23:32 +0000)]
s/rle_num_bytes/code/
shorter and correcter (its not the number of anything)

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

17 years agoalign vertically
Michael Niedermayer [Sat, 7 Apr 2007 23:31:30 +0000 (23:31 +0000)]
align vertically

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

17 years agoshorter variable names
Michael Niedermayer [Sat, 7 Apr 2007 23:30:47 +0000 (23:30 +0000)]
shorter variable names

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

17 years agogeneral purpose var should be int
Michael Niedermayer [Sat, 7 Apr 2007 23:27:11 +0000 (23:27 +0000)]
general purpose var should be int

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

17 years agosimplify
Michael Niedermayer [Sat, 7 Apr 2007 23:26:11 +0000 (23:26 +0000)]
simplify

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

17 years agoconform to spec
Michael Niedermayer [Sat, 7 Apr 2007 23:24:31 +0000 (23:24 +0000)]
conform to spec

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

17 years agoremove redundant comments
Michael Niedermayer [Sat, 7 Apr 2007 23:18:34 +0000 (23:18 +0000)]
remove redundant comments

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

17 years agoremove useless debuging av_log()
Michael Niedermayer [Sat, 7 Apr 2007 23:17:06 +0000 (23:17 +0000)]
remove useless debuging av_log()

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

17 years agoindention cleanup
Michael Niedermayer [Sat, 7 Apr 2007 23:16:05 +0000 (23:16 +0000)]
indention cleanup

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

17 years agouse shorter names for the block type enum
Michael Niedermayer [Sat, 7 Apr 2007 23:10:22 +0000 (23:10 +0000)]
use shorter names for the block type enum

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

17 years agocosmetic
Michael Niedermayer [Sat, 7 Apr 2007 23:02:43 +0000 (23:02 +0000)]
cosmetic

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

17 years agocode claims to use 32bit timestamp, lets make it also use that
Michael Niedermayer [Sat, 7 Apr 2007 22:57:04 +0000 (22:57 +0000)]
code claims to use 32bit timestamp, lets make it also use that

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

17 years agoremove redundant comments
Michael Niedermayer [Sat, 7 Apr 2007 22:55:15 +0000 (22:55 +0000)]
remove redundant comments

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

17 years agoremove inappropriate debuging av_log() alternatively they could be changed to dprintf()
Michael Niedermayer [Sat, 7 Apr 2007 22:51:05 +0000 (22:51 +0000)]
remove inappropriate debuging av_log() alternatively they could be changed to dprintf()

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

17 years agomemleak (seems ive missed that under the obfuscated indention)
Michael Niedermayer [Sat, 7 Apr 2007 22:47:55 +0000 (22:47 +0000)]
memleak (seems ive missed that under the obfuscated indention)

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

17 years agosane indention (no more 3 statements on one line...)
Michael Niedermayer [Sat, 7 Apr 2007 22:41:45 +0000 (22:41 +0000)]
sane indention (no more 3 statements on one line...)

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

17 years agouse bytestream reader instead of bitstream for THP
Michael Niedermayer [Sat, 7 Apr 2007 22:04:33 +0000 (22:04 +0000)]
use bytestream reader instead of bitstream for THP
5% smaller adpcm.o
20% faster

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