23972 Commits

Author SHA1 Message Date
Janne Grunau
b9a35435a5 In ts demuxer, output pes packet as soon as they are complete.
This is needed for subtitles where packets are infrequent.
Patch by Janne Grunau, janne-ffmpeg at jannau dot net.


backport r23157 by bcoudurier


Originally committed as revision 23226 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-21 20:15:53 +00:00
Reinhard Tartler
85ed859e6b set avg frame rate in mkv demuxer
backport r23152 by bcoudurier


Originally committed as revision 23225 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-21 20:13:34 +00:00
Reinhard Tartler
fcaba83909 ffserver: Make sure a destination URL is set when creating the SDP
Debugged by Howard Chu, hyc at highlandsun dot com.


backport r23151 by mstorsjo


Originally committed as revision 23224 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-21 18:49:32 +00:00
Reinhard Tartler
daf864016d Clarify description for the MONOWHITE and MONOBLACK pixel formats.
backport r23144 by stefano


Originally committed as revision 23223 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-21 18:47:19 +00:00
Reinhard Tartler
7454142424 Clarify descriptions for RGB4, BGR4, NV12, NV21,
RGB48BE, and RGB48LE pixel formats.

backport r23142 by stefano


Originally committed as revision 23222 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-21 18:46:59 +00:00
Reinhard Tartler
a7216204eb Change MAX_READ_SIZE message during av_find_stream_info to DEBUG level.
It is not harmful and it scares too many users.


backport r23139 by bcoudurier


Originally committed as revision 23221 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-21 18:46:03 +00:00
Reinhard Tartler
cff1f85c3f Fix compilation of AC3 decoder if E-AC3 decoder was disabled.
backport r23131 by cehoyos


Originally committed as revision 23220 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-21 18:38:39 +00:00
Reinhard Tartler
dd92ff49c9 Make lsf_sf_expand() 4 times faster.
backport r23096 by michael


Originally committed as revision 23219 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-21 18:32:58 +00:00
Reinhard Tartler
b12045c8c7 Set cur_channel in the AAC encoder context where needed.
Most coder functions read it. Carting this around in the context may be
suboptimal; a refactor should be considered.


backport r23094 by alexc


Originally committed as revision 23218 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-21 18:27:16 +00:00
Janne Grunau
a70e7cc928 Add -ldl to libfaadbin_extralibs instead of libfaadbin_decoder_extralibs.
The latter does not exist and thus compilation fails.
patch by Janne Grunau, janne-ffmpeg jannau.net


backport r23087 by diego


Originally committed as revision 23217 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-21 18:25:46 +00:00
Nick Brereton
6f8fbbf8d7 mlpdec: Comment channel_params field in struct SubStream.
Patch by Nick Brereton <nick at nbrereton dot net>

backport r23085 by ramiro


Originally committed as revision 23216 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-21 18:22:49 +00:00
Nick Brereton
b68d9df427 mlpdec: Allocate channel decoding parameters for each substream. Some file
was encountered with a channel range that overlapped the previous substreams,
and the code assumed no such overlap was possible.
Patch by Nick Brereton <nick at nbrereton dot net>


backport r23084 by ramiro


Originally committed as revision 23215 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-21 18:22:32 +00:00
Reinhard Tartler
26fe0ec7d6 Adding missing () to mathops.h.
backport r23083 by michael


Originally committed as revision 23214 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-21 18:19:49 +00:00
Reinhard Tartler
7590718414 Replace more "m" constraints with MANGLE to fix compilation issues
with x86_32 gcc 4.4.4 and -fPIC.


backport r23082 by reimar


Originally committed as revision 23213 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-21 18:19:13 +00:00
Ronaldo Moura
37a0852009 blackfin: fix yuv422 to yuv420 conversion
The old code is correct only when stride = 2*width.

Patch by Ronaldo Moura <ronaldo d moura monity com br>


backport r31142 by mru


Originally committed as revision 23212 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-21 18:05:38 +00:00
Thomas Devanneaux
b50601e882 Check NAL unit size to avoid reading past the buffer.
This fixes issue1907

Patch by Thomas Devanneaux gmail(thomdev)


backport r23078 by benoit


Originally committed as revision 23211 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-21 18:03:57 +00:00
Reinhard Tartler
d1026ab506 Make the nut demuxer issue a more meaningful error message if it
cannot recognize the provided codec tag.

backport r23071 by stefano


Originally committed as revision 23205 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-20 22:46:11 +00:00
Reinhard Tartler
08a441d4ad bswap: 10L add missing parens around macro args
backport r23070 by mru


Originally committed as revision 23204 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-20 22:45:00 +00:00
Reinhard Tartler
369e37e900 qt-faststart: Avoid leaking memory if encountering a file with double ftyp atoms
backport r23065 by mstorsjo


Originally committed as revision 23190 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-19 13:51:54 +00:00
Reinhard Tartler
40630a90ed Fix build with swscale disabled
backport r23062 by mru


Originally committed as revision 23189 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-19 13:43:34 +00:00
Reinhard Tartler
dc04fb36d7 Remove hardcoded-tables hack for IA-64: with latest binutils that now actually
causes linking errors instead of avoiding them.


backport r23058 by reimar


Originally committed as revision 23188 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-19 13:30:30 +00:00
Reinhard Tartler
8740ed496c Another try for fixing/improving decode_video documentation.
backport r23057 by reimar


Originally committed as revision 23187 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-19 13:29:36 +00:00
Reinhard Tartler
77a023f422 Document cmdutils.c:print_error().
backport r23051 by stefano


Originally committed as revision 23186 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-19 11:46:39 +00:00
Reinhard Tartler
ba9cecf5e5 Favor chunk size over hitting the correct position after reading the chunk size in asf.
Fixes issue1923


backport r23040 by michael


Originally committed as revision 23185 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-19 11:44:45 +00:00
Reinhard Tartler
8ab1409a59 10l: store the result of clipping added in r23035
backport r23037 by alexc


Originally committed as revision 23184 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-19 11:39:02 +00:00
Reinhard Tartler
3589ac6334 Error out when too many bits per frame are requested.
backport r23036 by alexc


Originally committed as revision 23183 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-19 11:38:30 +00:00
Reinhard Tartler
dd68bb3cab Make the faac inspired quantizer search make sense for a slightly narrower definition of "make sense."
backport r23035 by alexc


Originally committed as revision 23182 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-19 11:38:07 +00:00
Reinhard Tartler
50dab63690 Reindent after the last commit.
backport r23034 by stefano


Originally committed as revision 23177 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-19 08:04:41 +00:00
Reinhard Tartler
da8e4f5f79 Simplify print_error(), directly use av_strerror()/strerror() for
printing the error code associated to FF_NETERROR(EPROTONOSUPPORT).

backport r23033 by stefano


Originally committed as revision 23176 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-19 08:04:25 +00:00
Reinhard Tartler
e0e0283778 Make print_error() use strerror() in case av_strerror() fails.
Should provide a meaningful error message for systems which do not
support strerror_r().

Fix roundup issue #1894.

backport r23032 by stefano


Originally committed as revision 23175 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-19 08:03:50 +00:00
Reinhard Tartler
1673bf86d6 Make av_strerror() return -1 even in the case when av_strerror_r() is
not defined.

This allows applications to check if av_strerror() cannot provide a
meaningful representation for the provided error code, without having
to actually check the filled string.

backport r23031 by stefano


Originally committed as revision 23174 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-19 08:03:22 +00:00
Reinhard Tartler
0db6f6cfed movenc: Write QuickTime chapters
backport r23022 by conrad


Originally committed as revision 23173 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-19 08:02:33 +00:00
Reinhard Tartler
9d08b20fea movenc: Swap positions of mov_write_header and mov_write_packet
backport r23021 by conrad


Originally committed as revision 23172 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-19 08:02:05 +00:00
Reinhard Tartler
a03dcb9682 mov: Read nero chapters
backport r23020 by conrad


Originally committed as revision 23171 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-19 07:58:17 +00:00
Martin Storsjö
26899578f1 Mention that both packetizers and depacketizers of H.263 and AMR were added
Originally committed as revision 23130 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-13 19:42:32 +00:00
Reinhard Tartler
eb9df4ac33 first draft of the release notes
Originally committed as revision 23117 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-13 16:37:21 +00:00
Reinhard Tartler
64c2076bfc update version string in changelog
Originally committed as revision 23114 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
2010-05-13 16:26:55 +00:00
David Conrad
ddb630177a movenc: Write QuickTime chapters
Originally committed as revision 23022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-05 08:41:10 +00:00
David Conrad
1b206f62ea movenc: Swap positions of mov_write_header and mov_write_packet
Originally committed as revision 23021 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-05 08:41:06 +00:00
David Conrad
1cf9f6ed4f mov: Read nero chapters
Originally committed as revision 23020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-05 08:41:01 +00:00
Thierry Foucu
e1954bb5ca Do not use pkt->size when it is potentially uninitialized.
Patch by Thierry Foucu, tfoucu gmail

Originally committed as revision 23017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-04 17:17:16 +00:00
Diego Biurrun
f4ea7c8911 alternative LGPL-licensed, MMX-optimized YUV to RGB conversion routines
written by Kostya Shishkov

Originally committed as revision 31135 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-05-04 09:11:01 +00:00
Ronald S. Bultje
4fe4bb6150 Revert r22974 int->unsigned parts that don't have any meaningful effect.
Originally committed as revision 23016 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-03 22:08:31 +00:00
Stefano Sabatini
441ea0ce91 Make av_strerror() print an error message mentioning the error code
number if strerror_r() did not succeed for whatever reason.

This avoids the need for the application to fill the string in case
strerror_r() fails, for example because the error code is not known.

Originally committed as revision 23015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-03 21:56:21 +00:00
Alex Converse
17d5959998 10l: The SBR refactor requires the use of 2 independent output X buffers.
Originally committed as revision 23014 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-03 19:21:35 +00:00
Måns Rullgård
b05394a081 configure: allow compiler-specific flags for --disable-optimizations
ICC needs at least -O1 to link so add this when optimisations are
otherwise disabled.

Originally committed as revision 23013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-03 15:14:55 +00:00
Martin Storsjö
fa36165adf amrnbdec: Apply AMR_SAMPLE_SCALE when finishing the decoder output
The output scaling was accidentally removed in rev 22937.

Originally committed as revision 23012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-03 05:57:48 +00:00
Ronald S. Bultje
1302ccc1a7 Another buffer overflow, fixes issue1758.
Originally committed as revision 23011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-02 21:52:25 +00:00
Carl Eugen Hoyos
121d78d00c Allow to set archiver tool ar.
Originally committed as revision 23010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-02 18:59:15 +00:00
Reimar Döffinger
bf9766995c Clarify how allocation works for the picture argument for
avcodec_decode_video3.

Originally committed as revision 23009 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-02 16:07:29 +00:00