platform/upstream/libav.git
14 years agotargeenc: fix rgb555 encoding on big endian systems.
Alexis Ballier [Mon, 8 Mar 2010 08:43:20 +0000 (08:43 +0000)]
targeenc: fix rgb555 encoding on big endian systems.
Patch by Alexis Ballier gmail_address(name, surname)

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

14 years agoMake Indeo 5 decoder more robust on bitstream errors.
Maxim Poliakovski [Mon, 8 Mar 2010 06:52:33 +0000 (06:52 +0000)]
Make Indeo 5 decoder more robust on bitstream errors.
Patch by Maxim ($indeo5dec_author)

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

14 years agoScale tile dimensions in case both local decoding and scalability mode
Maxim Poliakovski [Mon, 8 Mar 2010 06:49:16 +0000 (06:49 +0000)]
Scale tile dimensions in case both local decoding and scalability mode
are used in Indeo 5 stream.
Patch by Maxim ($indeo5dec_author)

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

14 years agoAdd myself to CREDITS
Alex Converse [Mon, 8 Mar 2010 05:04:29 +0000 (05:04 +0000)]
Add myself to CREDITS

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

14 years agoAdd an HE-AAC v1 decoder.
Alex Converse [Mon, 8 Mar 2010 04:33:02 +0000 (04:33 +0000)]
Add an HE-AAC v1 decoder.

A large portion of this code was orignally authored by Robert Swain. The rest
was written by me. Full history is available at:
svn://svn.ffmpeg.org/soc/aac-sbr
http://github.com/aconverse/ffmpeg-heaac/tree/sbr_pub

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

14 years agoRevert "Move the probe loop from av_open_input_file() into its own method"
Måns Rullgård [Mon, 8 Mar 2010 03:46:37 +0000 (03:46 +0000)]
Revert "Move the probe loop from av_open_input_file() into its own method"

This reverts r22296.  This change made some files to fail to open.
The patch submitter has promised to investigate next week.

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

14 years agoavfilter: make avfilter_default_free_video_buffer() static
Måns Rullgård [Mon, 8 Mar 2010 03:41:19 +0000 (03:41 +0000)]
avfilter: make avfilter_default_free_video_buffer() static

This function is not referenced outside this file and has no
prototype.  Feel free to flame if this is wrong.

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

14 years agoError on missing function prototypes with gcc
Måns Rullgård [Mon, 8 Mar 2010 02:36:27 +0000 (02:36 +0000)]
Error on missing function prototypes with gcc

This makes it an error to not have a prototype in scope for
a function with external linkage.  The flag is only enabled
for gcc due to -Werror=type not working with all compilers.

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

14 years agosh4: move dsputil prototypes to header file
Måns Rullgård [Mon, 8 Mar 2010 02:36:22 +0000 (02:36 +0000)]
sh4: move dsputil prototypes to header file

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

14 years agosh4: fix about 1000 warnings
Måns Rullgård [Mon, 8 Mar 2010 02:36:16 +0000 (02:36 +0000)]
sh4: fix about 1000 warnings

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

14 years agobfin: fix function prototypes
Måns Rullgård [Mon, 8 Mar 2010 02:36:11 +0000 (02:36 +0000)]
bfin: fix function prototypes

Move prototypes to header files, add missing prototypes,
make some functions static.

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

14 years agoARM: move mpegvideo prototypes to a header file
Måns Rullgård [Mon, 8 Mar 2010 02:36:07 +0000 (02:36 +0000)]
ARM: move mpegvideo prototypes to a header file

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

14 years agoAlpha: move dsputil prototypes to a header file
Måns Rullgård [Mon, 8 Mar 2010 02:36:03 +0000 (02:36 +0000)]
Alpha: move dsputil prototypes to a header file

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

14 years agoIFF: move ff_cmap_read_palette() prototype to a header file
Måns Rullgård [Mon, 8 Mar 2010 02:36:00 +0000 (02:36 +0000)]
IFF: move ff_cmap_read_palette() prototype to a header file

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

14 years agoFix concat seeking SEEK_END case.
Wolfram Gloger [Mon, 8 Mar 2010 00:40:22 +0000 (00:40 +0000)]
Fix concat seeking SEEK_END case.

Patch by Wolfram Gloger wmglo ^ dent.med.uni-muenchen.de.

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

14 years agoMake ffserver regression test run (still fails)
Måns Rullgård [Mon, 8 Mar 2010 00:27:00 +0000 (00:27 +0000)]
Make ffserver regression test run (still fails)

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

14 years agoregtest: move md5sum wrappers into separate file
Måns Rullgård [Mon, 8 Mar 2010 00:26:58 +0000 (00:26 +0000)]
regtest: move md5sum wrappers into separate file

ffserver-regression.sh doesn't need anything else from
regression-funcs.sh, and sourcing the entire file there
breaks things.

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

14 years agoffserver: remove bogus comment
Måns Rullgård [Mon, 8 Mar 2010 00:26:54 +0000 (00:26 +0000)]
ffserver: remove bogus comment

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

14 years agoFix concat seek result.
Wolfram Gloger [Mon, 8 Mar 2010 00:22:03 +0000 (00:22 +0000)]
Fix concat seek result.

Patch by Wolfram Gloger wmglo AT-SIGN dent.med.uni-muenchen DOT de.

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

14 years agoav_find_stream_info(): Add a workaround for backwards compatible HE-AAC signaling.
Alex Converse [Mon, 8 Mar 2010 00:00:50 +0000 (00:00 +0000)]
av_find_stream_info(): Add a workaround for backwards compatible HE-AAC signaling.

The sample rate, frame size, and channel count from the container are
not reliable when backwards compatible signaling is used.

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

14 years agoMake avfilter_default_start_frame() correctly pass the aspect ratio
Stefano Sabatini [Sun, 7 Mar 2010 23:53:47 +0000 (23:53 +0000)]
Make avfilter_default_start_frame() correctly pass the aspect ratio
information to the next filter.

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

14 years ago10l: AAC: Set multiplier to 0.
Alex Converse [Sun, 7 Mar 2010 23:52:33 +0000 (23:52 +0000)]
10l: AAC: Set multiplier to 0.

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

14 years agoAAC: Set codec parameters in the first frame rather than in .init()
Alex Converse [Sun, 7 Mar 2010 23:46:40 +0000 (23:46 +0000)]
AAC: Set codec parameters in the first frame rather than in .init()

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

14 years agoFix pts->dts conversion init for non-zero initial value for pts.
Daniel Kristjansson [Sun, 7 Mar 2010 23:10:18 +0000 (23:10 +0000)]
Fix pts->dts conversion init for non-zero initial value for pts.

Patch by Daniel Kristjansson, danielk cuymedia net

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

14 years agoMove the probe loop from av_open_input_file() into its own method
Micah F. Galizia [Sun, 7 Mar 2010 22:42:11 +0000 (22:42 +0000)]
Move the probe loop from av_open_input_file() into its own method
av_probe_input_buffer() so that it can be reused. Here are a few
differences to the original way things were probed:

- maximum probe buffer size can be specified as a parameter.

- offset within the stream to probe from can be specified as a parameter.

- instead of seeking back to the start each time a probe fails, stream
  data is appended to the reallocated buffer. This lowers the amount
  of data read from the stream (there is no repetition) and results in
  fewer closed and reopened streams (when seeking fails).

Patch by Micah F. Galizia printf("%s%s@%s.%s", "micah", "galizia", "gmail", "com").

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

14 years agoRemove hacks not required since HAVE_AV_CONFIG_H was unset for the apps
Måns Rullgård [Sun, 7 Mar 2010 22:18:37 +0000 (22:18 +0000)]
Remove hacks not required since HAVE_AV_CONFIG_H was unset for the apps

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

14 years agoDefine HAVE_AV_CONFIG_H only when building libraries
Måns Rullgård [Sun, 7 Mar 2010 22:18:33 +0000 (22:18 +0000)]
Define HAVE_AV_CONFIG_H only when building libraries

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

14 years agoffserver: do not use intreadwrite.h
Måns Rullgård [Sun, 7 Mar 2010 22:18:30 +0000 (22:18 +0000)]
ffserver: do not use intreadwrite.h

intreadwrite.h is not part of the public API and should thus
not be used by the ff* applications.

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

14 years agoffplay: use public fft interface
Måns Rullgård [Sun, 7 Mar 2010 21:56:48 +0000 (21:56 +0000)]
ffplay: use public fft interface

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

14 years agoCreate a public API for FFT family of functions
Måns Rullgård [Sun, 7 Mar 2010 21:56:45 +0000 (21:56 +0000)]
Create a public API for FFT family of functions

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

14 years agoGive RDFT types more meaningful names
Måns Rullgård [Sun, 7 Mar 2010 21:47:44 +0000 (21:47 +0000)]
Give RDFT types more meaningful names

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

14 years agoUpdate include directives in fft-test.c
Måns Rullgård [Sun, 7 Mar 2010 21:47:41 +0000 (21:47 +0000)]
Update include directives in fft-test.c

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

14 years agoIncrease FF_INPUT_BUFFER_PADDING_SIZE to 64.
Alex Converse [Sun, 7 Mar 2010 21:16:44 +0000 (21:16 +0000)]
Increase FF_INPUT_BUFFER_PADDING_SIZE to 64.

The purpose of this is to give decoders a reasonable amount of buffer to work
with before needing to check for overreads.

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

14 years agoAAC: Add a new line after the TNS error message.
Alex Converse [Sun, 7 Mar 2010 21:07:22 +0000 (21:07 +0000)]
AAC: Add a new line after the TNS error message.

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

14 years agoregtest: run seektest on image sequences
Måns Rullgård [Sun, 7 Mar 2010 19:50:56 +0000 (19:50 +0000)]
regtest: run seektest on image sequences

Seeking on image sequences doesn't actually work, so this
test isn't very useful until that capability is added.

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

14 years agoinet_aton needs _DARWIN_C_SOURCE on OS X
David Conrad [Sun, 7 Mar 2010 19:49:02 +0000 (19:49 +0000)]
inet_aton needs _DARWIN_C_SOURCE on OS X

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

14 years agoLocalize the #define _SVID_SOURCE needed for inet_aton() to os_support.c
David Conrad [Sun, 7 Mar 2010 19:48:59 +0000 (19:48 +0000)]
Localize the #define _SVID_SOURCE needed for inet_aton() to os_support.c

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

14 years agoregtest: run seektest on lavftest output files
Måns Rullgård [Sun, 7 Mar 2010 19:26:02 +0000 (19:26 +0000)]
regtest: run seektest on lavftest output files

Somehow this got lost in the recent overhaul.

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

14 years agoregtest: place image sequence outputs in separate directories
Måns Rullgård [Sun, 7 Mar 2010 19:25:58 +0000 (19:25 +0000)]
regtest: place image sequence outputs in separate directories

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

14 years agoAdd support for non-backwards compatible signaled parametric stereo.
Alex Converse [Sun, 7 Mar 2010 17:55:23 +0000 (17:55 +0000)]
Add support for non-backwards compatible signaled parametric stereo.

This is done without breaking W6132 Annex YYYY draft MP3onMP4 which also uses AOT 29.
Samples:
http://samples.mplayerhq.hu/A-codecs/AAC/aacPlusDecoderCheckPackage_v2.1/bitstreams/File7.3gp
http://samples.mplayerhq.hu/MPEG-4/mp3on4/id5_1.mp4

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

14 years ago10l: fix make install with only shared libs
Måns Rullgård [Sun, 7 Mar 2010 15:46:22 +0000 (15:46 +0000)]
10l: fix make install with only shared libs

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

14 years agoBand quant tables should not be assigned inside band tile loop,
Maxim Poliakovski [Sun, 7 Mar 2010 12:12:42 +0000 (12:12 +0000)]
Band quant tables should not be assigned inside band tile loop,
one time is enough.
Patch by Maxim (max_pole, gmx de)

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

14 years agoFix --enable-hardcoded-tables compilation: the generate table files now
Reimar Döffinger [Sun, 7 Mar 2010 09:25:57 +0000 (09:25 +0000)]
Fix --enable-hardcoded-tables compilation: the generate table files now
need to include fft.h, not dsputil.h.

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

14 years ago1l trocadero: forgot reference operator on bytestream_get_be32() argument
Kostya Shishkov [Sun, 7 Mar 2010 08:52:53 +0000 (08:52 +0000)]
1l trocadero: forgot reference operator on bytestream_get_be32() argument

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

14 years agoUse -Werror=implicit only with gcc
Måns Rullgård [Sun, 7 Mar 2010 06:53:12 +0000 (06:53 +0000)]
Use -Werror=implicit only with gcc

Some other compilers turn too many warnings into errors with this flag.

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

14 years agoWhen tracking non-zero coefficients during Indeo 5 decoding, make sure
Maxim Poliakovski [Sun, 7 Mar 2010 06:03:45 +0000 (06:03 +0000)]
When tracking non-zero coefficients during Indeo 5 decoding, make sure
it does not ignore coefficient value = 256.
Patch by Maxim ((!min)_pole \at gmx dot/ de)

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

14 years agoFix clang sysroot flag
David Conrad [Sun, 7 Mar 2010 03:01:36 +0000 (03:01 +0000)]
Fix clang sysroot flag

Older versions accepted both with and without an '=', but newer versions
require the '=' to be omitted

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

14 years agoAdd internal.h include for av_read_frame_flush prototype
David Conrad [Sun, 7 Mar 2010 02:35:45 +0000 (02:35 +0000)]
Add internal.h include for av_read_frame_flush prototype

Fixes build with clang

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

14 years agoFix warning about incompatible pointer types
David Conrad [Sun, 7 Mar 2010 02:26:34 +0000 (02:26 +0000)]
Fix warning about incompatible pointer types

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

14 years agomatroskadec: Fix a buffer overread
David Conrad [Sun, 7 Mar 2010 02:26:30 +0000 (02:26 +0000)]
matroskadec: Fix a buffer overread

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

14 years agoheader for common code between mp3 decoder and encoder.
Michael Niedermayer [Sat, 6 Mar 2010 23:36:30 +0000 (23:36 +0000)]
header for common code between mp3 decoder and encoder.
unfinished, iam just commiting this so the functions that should be
non static have prototypes.

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

14 years agoError on implicit function declarations
Måns Rullgård [Sat, 6 Mar 2010 23:19:07 +0000 (23:19 +0000)]
Error on implicit function declarations

Turning on -Werror=implicit makes implicit function declarations
an error with supported compilers.

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

14 years agoMove av_read_frame_flush() prototype to lavf/internal.h
Måns Rullgård [Sat, 6 Mar 2010 23:19:05 +0000 (23:19 +0000)]
Move av_read_frame_flush() prototype to lavf/internal.h

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

14 years agoPPC: move prototypes to headers and make some functions static
Måns Rullgård [Sat, 6 Mar 2010 22:37:14 +0000 (22:37 +0000)]
PPC: move prototypes to headers and make some functions static

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

14 years agox86: move function prototypes to header files
Måns Rullgård [Sat, 6 Mar 2010 22:37:08 +0000 (22:37 +0000)]
x86: move function prototypes to header files

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

14 years agoMove ff_spatial_dwt() prototype to snow.h
Måns Rullgård [Sat, 6 Mar 2010 22:37:03 +0000 (22:37 +0000)]
Move ff_spatial_dwt() prototype to snow.h

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

14 years agoMove some dsp func prototypes to dsputil.h; they are defined in dsputil.c
Måns Rullgård [Sat, 6 Mar 2010 22:36:59 +0000 (22:36 +0000)]
Move some dsp func prototypes to dsputil.h; they are defined in dsputil.c

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

14 years agoMove some VC1 dsp prototypes to dsputil.h; they are defined in dsputil.c
Måns Rullgård [Sat, 6 Mar 2010 22:36:55 +0000 (22:36 +0000)]
Move some VC1 dsp prototypes to dsputil.h; they are defined in dsputil.c

Also fix function definitions to match prototypes (missing const).

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

14 years agoMove ff_set_qscale() prototype to mpegvideo.h; it is defined in mpegvideo.c
Måns Rullgård [Sat, 6 Mar 2010 22:36:52 +0000 (22:36 +0000)]
Move ff_set_qscale() prototype to mpegvideo.h; it is defined in mpegvideo.c

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

14 years agoMove prototypes for various dsputil init functions to dsputil.h
Måns Rullgård [Sat, 6 Mar 2010 22:36:49 +0000 (22:36 +0000)]
Move prototypes for various dsputil init functions to dsputil.h

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

14 years agoMove some prototypes from dsputil.c to reasonable header files
Måns Rullgård [Sat, 6 Mar 2010 22:36:45 +0000 (22:36 +0000)]
Move some prototypes from dsputil.c to reasonable header files

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

14 years agoMake some functions static
Måns Rullgård [Sat, 6 Mar 2010 22:36:41 +0000 (22:36 +0000)]
Make some functions static

These functions are not used outside their respective files, and they
lack a prototype in a header.

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

14 years agoAdd some missing #includes
Måns Rullgård [Sat, 6 Mar 2010 22:36:36 +0000 (22:36 +0000)]
Add some missing #includes

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

14 years agoSet GXF fallback time-base to match the one specified for audio-only.
Reimar Döffinger [Sat, 6 Mar 2010 22:25:53 +0000 (22:25 +0000)]
Set GXF fallback time-base to match the one specified for audio-only.

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

14 years agoGXF time base is always based on "fields" per second even for
Reimar Döffinger [Sat, 6 Mar 2010 22:20:33 +0000 (22:20 +0000)]
GXF time base is always based on "fields" per second even for
non-interlaced video.
Should fix issue 1766.

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

14 years agoShow aspect ratio information in dprintf_picref() traces.
Stefano Sabatini [Sat, 6 Mar 2010 21:28:08 +0000 (21:28 +0000)]
Show aspect ratio information in dprintf_picref() traces.

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

14 years agoBump minor number and add APIchanges entry after the inclusion of
Stefano Sabatini [Sat, 6 Mar 2010 20:07:52 +0000 (20:07 +0000)]
Bump minor number and add APIchanges entry after the inclusion of
av_stristr().

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

14 years agoffserver: use av_stristr()
Måns Rullgård [Sat, 6 Mar 2010 19:41:24 +0000 (19:41 +0000)]
ffserver: use av_stristr()

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

14 years agoAdd av_stristr() function
Måns Rullgård [Sat, 6 Mar 2010 19:41:22 +0000 (19:41 +0000)]
Add av_stristr() function

This is a case-insensitive version of strstr().

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

14 years agoFix build with compilers using a separate dependency command
Måns Rullgård [Sat, 6 Mar 2010 19:29:29 +0000 (19:29 +0000)]
Fix build with compilers using a separate dependency command

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

14 years agoReindent after the last commit.
Stefano Sabatini [Sat, 6 Mar 2010 19:19:13 +0000 (19:19 +0000)]
Reindent after the last commit.

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

14 years agoUse av_get_pict_type_char() in debug code within output_picture2(),
Stefano Sabatini [Sat, 6 Mar 2010 19:19:11 +0000 (19:19 +0000)]
Use av_get_pict_type_char() in debug code within output_picture2(),
simplify.

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

14 years agoFix install with shared libs on weird systems
Måns Rullgård [Sat, 6 Mar 2010 17:45:38 +0000 (17:45 +0000)]
Fix install with shared libs on weird systems

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

14 years agoFix make install
Måns Rullgård [Sat, 6 Mar 2010 17:44:18 +0000 (17:44 +0000)]
Fix make install

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

14 years agoPrettify make output
Måns Rullgård [Sat, 6 Mar 2010 17:14:19 +0000 (17:14 +0000)]
Prettify make output

This gives brief messages from make by default.  For full command
echoing, add V=1 to make command line.

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

14 years agoSplit install-headers target and simplify rules
Måns Rullgård [Sat, 6 Mar 2010 17:14:16 +0000 (17:14 +0000)]
Split install-headers target and simplify rules

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

14 years agoAdd INSTALL makefile variable
Måns Rullgård [Sat, 6 Mar 2010 17:14:13 +0000 (17:14 +0000)]
Add INSTALL makefile variable

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

14 years agoUse mkdir -p to create directories
Måns Rullgård [Sat, 6 Mar 2010 17:14:11 +0000 (17:14 +0000)]
Use mkdir -p to create directories

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

14 years agoAdd CP make variable
Måns Rullgård [Sat, 6 Mar 2010 17:14:08 +0000 (17:14 +0000)]
Add CP make variable

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

14 years agoAdd YASMDEP variable; use for deps on yasm files
Måns Rullgård [Sat, 6 Mar 2010 17:14:06 +0000 (17:14 +0000)]
Add YASMDEP variable; use for deps on yasm files

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

14 years agoFix last frame block size correction.
Thilo Borgmann [Sat, 6 Mar 2010 17:13:31 +0000 (17:13 +0000)]
Fix last frame block size correction.

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

14 years agoBink version 'h' also has chroma planes swapped
Kostya Shishkov [Sat, 6 Mar 2010 15:09:14 +0000 (15:09 +0000)]
Bink version 'h' also has chroma planes swapped

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

14 years agoMove FFT parts from dsputil.h to fft.h
Måns Rullgård [Sat, 6 Mar 2010 14:34:46 +0000 (14:34 +0000)]
Move FFT parts from dsputil.h to fft.h

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

14 years agoUse $(RM) to delete files
Måns Rullgård [Sat, 6 Mar 2010 14:25:10 +0000 (14:25 +0000)]
Use $(RM) to delete files

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

14 years agoRemove DECLARE_ALIGNED_{8,16} macros
Måns Rullgård [Sat, 6 Mar 2010 14:24:59 +0000 (14:24 +0000)]
Remove DECLARE_ALIGNED_{8,16} macros

These macros are redundant.  All uses are replaced with the generic
DECLARE_ALIGNED macro instead.

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

14 years agoMake opt_default() look for options in sws_opts only if sws_opts is
Stefano Sabatini [Sat, 6 Mar 2010 14:09:35 +0000 (14:09 +0000)]
Make opt_default() look for options in sws_opts only if sws_opts is
defined, fix crash.

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

14 years agoAdd support to input devices in ffprobe.
Stefano Sabatini [Sat, 6 Mar 2010 13:06:45 +0000 (13:06 +0000)]
Add support to input devices in ffprobe.

See the thread:
Subject: [FFmpeg-devel] [PATCH] Add support to input device to ffprobe
Date: Sun, 21 Feb 2010 14:57:44 +0100

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

14 years agoMove DECLARE_ALIGNED_{8,16} macros to mem.h
Måns Rullgård [Sat, 6 Mar 2010 12:40:43 +0000 (12:40 +0000)]
Move DECLARE_ALIGNED_{8,16} macros to mem.h

These macros naturally belong next to the generic DECLARE_ALIGNED
macro.

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

14 years agoAvoid duplication of usePal() macro.
Stefano Sabatini [Sat, 6 Mar 2010 11:50:54 +0000 (11:50 +0000)]
Avoid duplication of usePal() macro.

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

14 years agoAdd support to BGR444/RGB444 foreign endian output in libswscale.
Janusz Krzysztofik [Sat, 6 Mar 2010 11:27:31 +0000 (11:27 +0000)]
Add support to BGR444/RGB444 foreign endian output in libswscale.

Patch by Janusz Krzysztofik |jkrzyszt ^ tis icnet pl|.

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

14 years agoRemove apparently unneeded define and includes.
Michael Niedermayer [Sat, 6 Mar 2010 01:32:52 +0000 (01:32 +0000)]
Remove apparently unneeded define and includes.

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

14 years agoMake trasher use a well defined random number generator and allow the seed to be...
Michael Niedermayer [Sat, 6 Mar 2010 01:31:17 +0000 (01:31 +0000)]
Make trasher use a well defined random number generator and allow the seed to be specified on the cmd line.

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

14 years agoDon't explicitly initialize networking in the tcp and udp protocols
Martin Storsjö [Fri, 5 Mar 2010 22:38:48 +0000 (22:38 +0000)]
Don't explicitly initialize networking in the tcp and udp protocols

Networking is always initialized when opening protocols.

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

14 years agoUse ff_url_join for assembling URLs, instead of snprintf
Martin Storsjö [Fri, 5 Mar 2010 22:35:21 +0000 (22:35 +0000)]
Use ff_url_join for assembling URLs, instead of snprintf

This ensures proper escaping of numerical IPv6 addresses.

The RTSP (de)muxer needs its own network initialization, since it isn't
a protocol and url_open hasn't been called yet.

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

14 years agoAdd a function ff_url_join for assembling URLs
Martin Storsjö [Fri, 5 Mar 2010 22:31:45 +0000 (22:31 +0000)]
Add a function ff_url_join for assembling URLs

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

14 years agoAlways call ff_network_init/ff_network_close when opening protocols
Martin Storsjö [Fri, 5 Mar 2010 22:30:21 +0000 (22:30 +0000)]
Always call ff_network_init/ff_network_close when opening protocols

ff_network_init is a no-op on all platforms except windows, and on
windows the performance penalty is minimal (less than 1 ms in my tests).

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

14 years agotry to avoid returning odd slices.
Michael Niedermayer [Fri, 5 Mar 2010 21:39:27 +0000 (21:39 +0000)]
try to avoid returning odd slices.

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

14 years agoRound correctly chroma picture height.
Vitor Sessak [Fri, 5 Mar 2010 20:04:24 +0000 (20:04 +0000)]
Round correctly chroma picture height.

Fix issue 956.

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

14 years agoFix memory leak in NUT muxer
Vitor Sessak [Fri, 5 Mar 2010 17:26:34 +0000 (17:26 +0000)]
Fix memory leak in NUT muxer

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

14 years agoCosmetics: fix vertical alignment.
Benoit Fouet [Fri, 5 Mar 2010 08:41:35 +0000 (08:41 +0000)]
Cosmetics: fix vertical alignment.

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