Reimar Döffinger [Sat, 4 Jul 2009 18:20:35 +0000 (18:20 +0000)]
Add a got_picture flag to MJpegDecodeContext which indicates if its picture
element is valid. Skip the code handling SOS and EOI if not, since it can not
work without a valid AVPicture.
This fixes a crash with mjpeg/smclockmjpeg.avi.1.0 from issue 1240 where the
decoder returned an invalid AVPicture.
Originally committed as revision 19342 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Sat, 4 Jul 2009 12:54:36 +0000 (12:54 +0000)]
mjpegdec: check that the coded dc_index and ac_index have a valid associated VLC table.
Removes some disabled dc_index/ac_index checking code that seems to have had
some undocumented issues and should not really be necessary anymore now.
Fixes from issue 1240 the files mjpeg/smclockmjpeg.avi.1.10 and mjpeg/smclockmjpeg.avi.1.171.
Originally committed as revision 19341 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Sat, 4 Jul 2009 08:18:03 +0000 (08:18 +0000)]
Use enum CodecID instead of int.
Fixes the following icc warning:
warning #188: enumerated type mixed with another type
Originally committed as revision 19340 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sat, 4 Jul 2009 08:02:01 +0000 (08:02 +0000)]
fix and simplify long gop mpeg codec ul computation
Originally committed as revision 19339 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sat, 4 Jul 2009 07:56:58 +0000 (07:56 +0000)]
set index duration to 0 for cbr, specifying whole container coverage
Originally committed as revision 19338 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sat, 4 Jul 2009 07:52:28 +0000 (07:52 +0000)]
use ber4 length for descriptors preferred by specs
Originally committed as revision 19337 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Sat, 4 Jul 2009 07:49:12 +0000 (07:49 +0000)]
write profile and level local tag in mpeg descriptor
Originally committed as revision 19336 to svn://svn.ffmpeg.org/ffmpeg/trunk
Alexander Strange [Sat, 4 Jul 2009 07:46:58 +0000 (07:46 +0000)]
H.264: Check the return value of decode_vui_parameters()
Files with invalid VUI are now rejected like
other invalid SPS are.
Fixes issue1231.
Originally committed as revision 19335 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 3 Jul 2009 11:31:09 +0000 (11:31 +0000)]
Replace invalid Theora frame rate by 25 FPS.
Avoids division by 0 due to e.g. time_base denominator being 0.
Originally committed as revision 19334 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 3 Jul 2009 11:27:52 +0000 (11:27 +0000)]
Check for failed extradata malloc, fixes a crash in out-of-memory conditions
or with extremely large extradata.
Originally committed as revision 19333 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 3 Jul 2009 11:26:14 +0000 (11:26 +0000)]
Check size of "strf" header against size of enclosing "LIST" if there is one.
Originally committed as revision 19332 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 3 Jul 2009 11:18:56 +0000 (11:18 +0000)]
Fix indentation
Originally committed as revision 19331 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Fri, 3 Jul 2009 11:18:07 +0000 (11:18 +0000)]
Avoid divisions by 0 in the ASF demuxer if packet_size is not valid.
Originally committed as revision 19330 to svn://svn.ffmpeg.org/ffmpeg/trunk
Alexander Strange [Fri, 3 Jul 2009 05:52:00 +0000 (05:52 +0000)]
H.264: Don't set data_partitioning for invalid NAL_DPA.
Before, the decoder could interpret a corrupt frame
as a NAL_DPA and NAL_DPC, and then start decoding
even if decode_slice_header() returned an error.
This frequently caused crashes.
Fixes issue1228, issue1229, and partially issue1238.
Originally committed as revision 19328 to svn://svn.ffmpeg.org/ffmpeg/trunk
Art Clarke [Thu, 2 Jul 2009 13:13:20 +0000 (13:13 +0000)]
Cleanup properly at the end of MPEG Audio parsing.
Patch by Art Clarke (aclarke AT xuggle com)
Originally committed as revision 19327 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Thu, 2 Jul 2009 12:47:58 +0000 (12:47 +0000)]
If either of num or den is 0 make both 0 in av_set_pts_info().
Originally committed as revision 19326 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 1 Jul 2009 20:52:48 +0000 (20:52 +0000)]
Make sure av_set_pts_info() does not set the fields of a timebase to
negative values.
Originally committed as revision 19325 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 1 Jul 2009 20:35:28 +0000 (20:35 +0000)]
Revert r19317, "simplify slice_end, return size of output frame".
It returns non decodable B-frames.
Originally committed as revision 19324 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 1 Jul 2009 20:34:16 +0000 (20:34 +0000)]
indent
Originally committed as revision 19323 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 1 Jul 2009 20:30:37 +0000 (20:30 +0000)]
Make sure we dont read over the end.
Fixes issue1237.
Originally committed as revision 19322 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Wed, 1 Jul 2009 20:11:53 +0000 (20:11 +0000)]
Add an explanation and complete the metadata usage example.
Originally committed as revision 19320 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 1 Jul 2009 18:50:31 +0000 (18:50 +0000)]
Make arguments of av_set_pts_info() unsigned.
Fixes issue1240/mpeg1/smclockmpeg1.avi.3.1
Originally committed as revision 19319 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Wed, 1 Jul 2009 17:48:22 +0000 (17:48 +0000)]
Fix potentially unaligned accesses in ff_copy_bits()
A pointer should never be assigned a value which may have less than the
required alignment of the target type. Compilers may assume pointer
values have the required alignment, and emit normal load/store instructions.
Unaligned pointers should use a character type or compiler-specific
type modifiers.
Originally committed as revision 19318 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 1 Jul 2009 17:29:52 +0000 (17:29 +0000)]
simplify slice_end, return size of output frame
Originally committed as revision 19317 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Wed, 1 Jul 2009 15:08:02 +0000 (15:08 +0000)]
RV3/4 intra types array causes alignment issues (at least on ARM5), thus change
its stride and offset to always have align 4.
Originally committed as revision 19316 to svn://svn.ffmpeg.org/ffmpeg/trunk
Frank Barchard [Wed, 1 Jul 2009 13:46:26 +0000 (13:46 +0000)]
Use slightly more appropriate format strings for printing decimal values.
patch by Frank Barchard, fbarchard google com
Originally committed as revision 19315 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Wed, 1 Jul 2009 12:40:28 +0000 (12:40 +0000)]
Use enum PixelFormat in sws_format_name() prototype
Originally committed as revision 29409 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Måns Rullgård [Wed, 1 Jul 2009 10:36:18 +0000 (10:36 +0000)]
Fix argument type mismatches for av_picture_crop and av_picture_fill
Originally committed as revision 19314 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 1 Jul 2009 06:48:27 +0000 (06:48 +0000)]
add missing \n to error message
Originally committed as revision 19313 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Wed, 1 Jul 2009 00:55:17 +0000 (00:55 +0000)]
ADPCM: remove unreachable break statement after return
Originally committed as revision 19312 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Wed, 1 Jul 2009 00:55:15 +0000 (00:55 +0000)]
ARM: use gcc inline asm in bswap.h only when available
Originally committed as revision 19311 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Tue, 30 Jun 2009 23:45:01 +0000 (23:45 +0000)]
Fix libx264.c to not drop SEI userdata from x264 encoder.
Most muxers in ffmpeg ignore the SEI if it is placed in extradata, so instead
it has to be catted to the front of the first video frame.
Originally committed as revision 19310 to svn://svn.ffmpeg.org/ffmpeg/trunk
Frank Barchard [Tue, 30 Jun 2009 15:11:51 +0000 (15:11 +0000)]
Use more portable 'PRId64' instead of 'llx' as conversion/length specifier.
patch by Frank Barchard, fbarchard google com
Originally committed as revision 19309 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Tue, 30 Jun 2009 12:46:09 +0000 (12:46 +0000)]
ARM: enable fast_unaligned when --cpu=armv[67] is specified
Originally committed as revision 19308 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Tue, 30 Jun 2009 12:11:29 +0000 (12:11 +0000)]
Fix nalsize check to avoid an integer overflow that made the check
incorrect for nalsize > INT_MAX - buf_index
Originally committed as revision 19307 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Tue, 30 Jun 2009 11:28:53 +0000 (11:28 +0000)]
Update seek regression checksums due to:
r19300
Rewrite mp3 parser. New code is much simpler and does not drop
stuff at random.
Originally committed as revision 19306 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 30 Jun 2009 07:43:32 +0000 (07:43 +0000)]
cosmetics, change case and comments alignment
Originally committed as revision 19305 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 30 Jun 2009 07:41:40 +0000 (07:41 +0000)]
correctly compute frame flags with closed gop
Originally committed as revision 19304 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefan Gehrer [Tue, 30 Jun 2009 06:44:32 +0000 (06:44 +0000)]
fix slice header checking
Originally committed as revision 19303 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Tue, 30 Jun 2009 03:57:27 +0000 (03:57 +0000)]
Drop code that attempts to decode frames that are prefixed by junk.
Too often it ends up decoding random data into noise without detecting
it (for example after seeking of some MP3 data with oddly often occurring
startcode emulation).
Fixes issue1154.
Originally committed as revision 19302 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Tue, 30 Jun 2009 03:37:20 +0000 (03:37 +0000)]
Support RGB48 PNG decoding
Originally committed as revision 19301 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Tue, 30 Jun 2009 03:12:50 +0000 (03:12 +0000)]
Rewrite mp3 parser. New code is much simpler and does not drop
stuff at random.
Originally committed as revision 19300 to svn://svn.ffmpeg.org/ffmpeg/trunk
Alex Converse [Mon, 29 Jun 2009 22:48:07 +0000 (22:48 +0000)]
Use av_log_missing_feature in the ADTS encoder. (Pseudo reverts r19173).
Originally committed as revision 19299 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Mon, 29 Jun 2009 20:45:49 +0000 (20:45 +0000)]
Fix build on Net/OpenBSD
The renaming in r19293 missed a few things.
Originally committed as revision 19298 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Mon, 29 Jun 2009 20:00:58 +0000 (20:00 +0000)]
Cosmetics: group together indev/outdev dependencies.
Originally committed as revision 19297 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Mon, 29 Jun 2009 19:17:03 +0000 (19:17 +0000)]
Add doxy to av_log_missing_feature() etc. stating that the function is
primarily intended for internal use in lavc/lavf, not for use in apps.
Originally committed as revision 19296 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Mon, 29 Jun 2009 19:11:53 +0000 (19:11 +0000)]
Move av_log_missing_feature() from the internal.h to the public avcodec.h
header file.
Originally committed as revision 19295 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Mon, 29 Jun 2009 19:07:04 +0000 (19:07 +0000)]
Rename ff_log_missing_feature() to av_log_missing_feature().
Originally committed as revision 19294 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Mon, 29 Jun 2009 18:49:15 +0000 (18:49 +0000)]
Make the configure script select the input/output devices using
--enable-indev, --enable-outdev rather than --enable-demuxer,
--enable-muxer as before, same for disabling them.
Originally committed as revision 19293 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Mon, 29 Jun 2009 18:37:29 +0000 (18:37 +0000)]
indent
Originally committed as revision 19292 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Mon, 29 Jun 2009 18:36:49 +0000 (18:36 +0000)]
id3v2.4.0 uses syncsafe integers for sizes of frames.
Fixes issue1234
Fixes regression introduced in r19275
Originally committed as revision 19291 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Mon, 29 Jun 2009 09:02:07 +0000 (09:02 +0000)]
Revert r19149 "Disable native Vorbis encoder"
Originally committed as revision 19290 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 28 Jun 2009 21:05:46 +0000 (21:05 +0000)]
Remove inconsistent use of a @brief command in av_write_trailer()
doxy.
Originally committed as revision 19289 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 28 Jun 2009 21:01:51 +0000 (21:01 +0000)]
Use consistently the third person in doxy, as recommended by the
javadoc specs.
Originally committed as revision 19288 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 28 Jun 2009 20:25:08 +0000 (20:25 +0000)]
Fix braino.
Originally committed as revision 19287 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Sun, 28 Jun 2009 18:28:27 +0000 (18:28 +0000)]
Icc does not support attribute flatten, do not try to use it.
Originally committed as revision 19286 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sat, 27 Jun 2009 13:26:35 +0000 (13:26 +0000)]
Update ffmpeg documentation regarding metadata setting. -title,
-author, -copyright, -track, -album, and -year options have been
dropped in favor of -metadata.
Originally committed as revision 19285 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Sat, 27 Jun 2009 10:26:27 +0000 (10:26 +0000)]
Remove superfluous const.
Originally committed as revision 19284 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Sat, 27 Jun 2009 08:39:56 +0000 (08:39 +0000)]
Replace an occurence of -1 by PIX_FMT_NONE, fixes icc warning #188:
enumerated type mixed with another type
Originally committed as revision 19283 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Sat, 27 Jun 2009 08:34:04 +0000 (08:34 +0000)]
Icc 11.1 does not support attributes force_align_arg_pointer, alloc_size and cold.
Originally committed as revision 19282 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vladimir Voroshilov [Fri, 26 Jun 2009 17:43:05 +0000 (17:43 +0000)]
Pitch delay decoding
Originally committed as revision 19281 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vladimir Voroshilov [Fri, 26 Jun 2009 17:42:25 +0000 (17:42 +0000)]
Replace pitch_delay_int array with single variable.
Originally committed as revision 19280 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Fri, 26 Jun 2009 01:08:26 +0000 (01:08 +0000)]
Handle variable input stream pixfmts using the same framework introduced
by the variable frame size patch. Fixes at least issue 1165.
Originally committed as revision 19279 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Thu, 25 Jun 2009 23:21:40 +0000 (23:21 +0000)]
Only link against alsa if enabled.
Originally committed as revision 19278 to svn://svn.ffmpeg.org/ffmpeg/trunk
Adrian Stutz [Thu, 25 Jun 2009 22:48:49 +0000 (22:48 +0000)]
Only checks for jack if it is enabled and hence only links to jack if
it is not disabled.
Patch by Adrian Stutz $firsname@sttz ch.
Originally committed as revision 19277 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Thu, 25 Jun 2009 20:06:03 +0000 (20:06 +0000)]
AltiVec code and runtime cpudetect do not require CONFIG_GPL.
Make sure the latter is only checked for x86 optimizations, which are GPL.
Originally committed as revision 29390 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Michael Niedermayer [Thu, 25 Jun 2009 19:44:44 +0000 (19:44 +0000)]
Fix id3v2.2 frame size parsing.
Fixes issue1202.
Originally committed as revision 19276 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Thu, 25 Jun 2009 19:26:39 +0000 (19:26 +0000)]
Fix id3v2.3/4 tag size parsing.
Fixes issue1106
Originally committed as revision 19275 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Thu, 25 Jun 2009 19:10:27 +0000 (19:10 +0000)]
use AVFormatContext->probesize in av_find_stream_info and raise default to 5M
Originally committed as revision 19274 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Thu, 25 Jun 2009 19:01:16 +0000 (19:01 +0000)]
Only set CODEC_ID_PROBE when a packet from a stream having a PES header
is read.
Originally committed as revision 19273 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Thu, 25 Jun 2009 18:48:57 +0000 (18:48 +0000)]
limit raw packet buffer size used for codec probing
Originally committed as revision 19272 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Thu, 25 Jun 2009 11:27:36 +0000 (11:27 +0000)]
The AltiVec optimizations of libswscale are no longer under GPL.
Originally committed as revision 29389 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diego Biurrun [Thu, 25 Jun 2009 10:14:05 +0000 (10:14 +0000)]
PPC: Make sure that COMPILE_C is not deactivated if RUNTIME_CPUDETECT is set.
Originally committed as revision 29388 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Baptiste Coudurier [Thu, 25 Jun 2009 00:17:47 +0000 (00:17 +0000)]
only set par if it does not indicates a rotation, ex iphone 3GS
Originally committed as revision 19271 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Wed, 24 Jun 2009 23:04:05 +0000 (23:04 +0000)]
Remove any reference to ASFContext.packet_size and replace it with
AVFormatContext.packet_size. See "[PATCH] asf*.c/h: use
AVFormatContext->packet_size instead of own copy" thread on ML.
Originally committed as revision 19270 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Wed, 24 Jun 2009 22:58:58 +0000 (22:58 +0000)]
Split developer documentation off from general documentation.
Originally committed as revision 19269 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Wed, 24 Jun 2009 22:35:11 +0000 (22:35 +0000)]
Rewrite doxy for av_strtod().
Originally committed as revision 19268 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Wed, 24 Jun 2009 22:10:53 +0000 (22:10 +0000)]
flvdec: Build a Speex header during FLV demuxing using required and
default values. This is needed because FLV files with Speex do not
contain a Speex header, which is necessary for stream copy.
Originally committed as revision 19267 to svn://svn.ffmpeg.org/ffmpeg/trunk
Haruhiko Yamagata [Wed, 24 Jun 2009 12:10:20 +0000 (12:10 +0000)]
Improve wording: s/reseted/reset
Patch by Haruhiko Yamagata, h D yamagata A nifty D com
Originally committed as revision 19266 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Wed, 24 Jun 2009 09:40:00 +0000 (09:40 +0000)]
Reindent after last patch.
Originally committed as revision 19265 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Wed, 24 Jun 2009 09:38:42 +0000 (09:38 +0000)]
mov demuxer: Track the current position also for streams that have AVDISCARD_ALL set.
This allows for seamless switching of e.g. audio streams, with the previous code
playback started always from the beginning when removing AVDISCARD_ALL.
Originally committed as revision 19264 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Wed, 24 Jun 2009 08:57:53 +0000 (08:57 +0000)]
mov_read_packet: extract code that searches for the stream/sample to demux next
into a separate function.
Originally committed as revision 19263 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Wed, 24 Jun 2009 08:50:46 +0000 (08:50 +0000)]
mov_read_packet: if dv_get_packet fails, return exactly its error value
instead of always -1 (makes no real difference currently since dv_get_packet
always returns -1 so far).
Originally committed as revision 19262 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reimar Döffinger [Wed, 24 Jun 2009 08:23:40 +0000 (08:23 +0000)]
In mov_read_packet remember the AVStream we want to demux next instead of the
MOVStreamContext. We need the AVStream anyway and it is easier to get the
MOVStreamContext from the AVStream than the other way around.
Originally committed as revision 19261 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vladimir Voroshilov [Wed, 24 Jun 2009 04:38:48 +0000 (04:38 +0000)]
LSF (Line Spectral Frequencies) decoding routine.
Originally committed as revision 19260 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Wed, 24 Jun 2009 03:38:47 +0000 (03:38 +0000)]
check stream existence before assignment, fix #1222
Originally committed as revision 19259 to svn://svn.ffmpeg.org/ffmpeg/trunk
Haruhiko Yamagata [Tue, 23 Jun 2009 21:03:35 +0000 (21:03 +0000)]
Fix H.264 picture reordering, 2nd try.
First, reverted one was r19239.
Patch by Haruhiko Yamagata, h D yamagata A nifty D com
Originally committed as revision 19258 to svn://svn.ffmpeg.org/ffmpeg/trunk
Brian Crowell [Tue, 23 Jun 2009 18:17:15 +0000 (18:17 +0000)]
Make documentation better match the code. Now AVCodecContext.sample_fmt
is used.
Patch by Brian Crowell <($firstname)@fluggo.com>
Originally committed as revision 19257 to svn://svn.ffmpeg.org/ffmpeg/trunk
Peter Holik [Tue, 23 Jun 2009 15:38:53 +0000 (15:38 +0000)]
Add support for "chunked" data blocks. Patch by Peter Holik (peter holik at).
Originally committed as revision 19256 to svn://svn.ffmpeg.org/ffmpeg/trunk
Kostya Shishkov [Tue, 23 Jun 2009 07:41:38 +0000 (07:41 +0000)]
Edge emulation should be used in B-frame MC in mspel mode with
mv_x < 1 or mv_y < 1.
Originally committed as revision 19255 to svn://svn.ffmpeg.org/ffmpeg/trunk
Daniel Verkamp [Mon, 22 Jun 2009 23:09:34 +0000 (23:09 +0000)]
Add ff_ prefixes to exported symbols in libavformat/riff.h.
patch by Daniel Verkamp, aniel drv nu
Originally committed as revision 19254 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Mon, 22 Jun 2009 22:56:18 +0000 (22:56 +0000)]
Consistently rename variables denoting regression reference file(s)
using the _REFFILE(S) postfix, and regression result file(s) using the
_RESFILE(S) postfix.
Improve legibility.
Originally committed as revision 19253 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Mon, 22 Jun 2009 22:22:40 +0000 (22:22 +0000)]
Export av_strtod() to eval.h.
Originally committed as revision 19252 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Mon, 22 Jun 2009 16:54:17 +0000 (16:54 +0000)]
Document making AVFormatContext.packet_size unsigned API change.
Originally committed as revision 19251 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Mon, 22 Jun 2009 16:52:02 +0000 (16:52 +0000)]
Change packet_size from signed to unsigned, since it never has a negative
value. Currently, this is only used in qcp.c and mpegenc.c, and they are
practically unaffected by this change.
See "[PATCH] make packet_size in AVFormatContext unsigned" thread on ML.
Originally committed as revision 19250 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 21 Jun 2009 21:37:05 +0000 (21:37 +0000)]
Cosmetics: rename 'name' av_strtod() param to 'numstr'. The new name
is more expressive.
Originally committed as revision 19249 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Sun, 21 Jun 2009 20:18:29 +0000 (20:18 +0000)]
oggenc: Change error log text. An error here does not necessarily mean
corrupted data.
Originally committed as revision 19248 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Sun, 21 Jun 2009 20:16:48 +0000 (20:16 +0000)]
oggenc: return error value from ogg_build_flac_headers()
Originally committed as revision 19247 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Sun, 21 Jun 2009 20:14:58 +0000 (20:14 +0000)]
cosmetics: spacing and comments
Originally committed as revision 19246 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Sun, 21 Jun 2009 20:13:54 +0000 (20:13 +0000)]
oggenc: check for failed av_mallocz()
Originally committed as revision 19245 to svn://svn.ffmpeg.org/ffmpeg/trunk