Michael Niedermayer [Wed, 28 Apr 2010 20:00:23 +0000 (20:00 +0000)]
Add version to AVClass so we can add to and use fields of AVClass without ABI issues.
Originally committed as revision 22987 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Abeni [Wed, 28 Apr 2010 08:02:52 +0000 (08:02 +0000)]
Check the return value of device_try_init() immediately after calling such a
function. Avoids the following warning:
libavdevice/v4l2.c: In function ‘v4l2_read_header’:
libavdevice/v4l2.c:586: warning: ‘codec_id’ may be used uninitialized in this function
Originally committed as revision 22986 to svn://svn.ffmpeg.org/ffmpeg/trunk
Anssi Hannula [Wed, 28 Apr 2010 07:57:07 +0000 (07:57 +0000)]
Fix FourCC when remuxing VP6F, regression introduced in r22941.
Patch by Anssi Hannula, anssi D hannula A iki fi
Originally committed as revision 22985 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Tue, 27 Apr 2010 23:22:30 +0000 (23:22 +0000)]
Reindent after the last commit.
Originally committed as revision 22984 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Tue, 27 Apr 2010 23:22:27 +0000 (23:22 +0000)]
Make ffprobe show sample_aspect_ratio and display_aspect_ratio only if
sample_aspect_ratio is known.
Avoid to show bogus values, which may confuse both the human and the
machine reader.
Based on a patch by Robert Krüger $(echo lsvfhfs@tjhobm7.ef | tr "b-za" "a-z").
Originally committed as revision 22983 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Tue, 27 Apr 2010 22:45:27 +0000 (22:45 +0000)]
Fix weird brace placement.
Originally committed as revision 22982 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Tue, 27 Apr 2010 22:26:08 +0000 (22:26 +0000)]
Drop AVERROR_NOTSUPP at the next major bump, use AVERROR(ENOSYS)
instead which is semantically equivalent.
See the thread:
Subject: [FFmpeg-devel] [RFC] The meaning of AVERROR_NOTSUPP
Date: Sat, 27 Mar 2010 00:51:13 +0100
Originally committed as revision 22981 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Abeni [Tue, 27 Apr 2010 21:33:56 +0000 (21:33 +0000)]
Reduce the verbosity of the v4l2 input device
Originally committed as revision 22980 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Abeni [Tue, 27 Apr 2010 21:32:11 +0000 (21:32 +0000)]
Simplify some output messages in the v4l2 input device
Originally committed as revision 22979 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sebastian Vater [Tue, 27 Apr 2010 14:04:11 +0000 (14:04 +0000)]
Reindent after rr22977.
Patch by Sebastian Vater <cdgs.basty googlemail com>.
Originally committed as revision 22978 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sebastian Vater [Tue, 27 Apr 2010 14:03:47 +0000 (14:03 +0000)]
Make the IFF demuxer a little more standards-compliant, e.g. respect the size
fields of common media header chunks (these can have different sizes depending
on the type of IFF file you read), better handle odd sizes (like RIFF, every
field is padded to word) and handle headerchunks after the BODY chunk.
Patch by Sebastian Vater <cdgs.basty googlemail com>.
Originally committed as revision 22977 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sebastian Vater [Mon, 26 Apr 2010 22:39:08 +0000 (22:39 +0000)]
Reidnent after r22795.
Patch by Sebastian Vater <cdgs.basty googlemail com>.
Originally committed as revision 22976 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sebastian Vater [Mon, 26 Apr 2010 22:38:41 +0000 (22:38 +0000)]
Move some branches outside looped code. Should improve the generated asm (and
thus performance) slightly.
Patch by Sebastian Vater <cdgs.basty googlemail com>.
Originally committed as revision 22975 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sebastian Vater [Mon, 26 Apr 2010 22:37:13 +0000 (22:37 +0000)]
Switch some ints to unsigned (they can only have positive values, this allows
compiler to optimize some math from mul/div to shr/shl). Also add a cast to
uint32_t when calling decodeplane32(), this silences a compiler warning.
Lastly, in decodeplane8/32(), flatten a double-loop into a single-loop and
calculate the length once before entering the loop instead of during every
iteration (since it doesn't change).
Patch by Sebastian Vater <cdgs.basty googlemail com>.
Originally committed as revision 22974 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Mon, 26 Apr 2010 22:36:55 +0000 (22:36 +0000)]
Make ffmpeg use print_error() to make apparent the exact cause of
failure happened when trying to open the output file.
Originally committed as revision 22973 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Mon, 26 Apr 2010 22:36:51 +0000 (22:36 +0000)]
Make file_open() return the error code set in errno if open() fails,
rather than always ENOENT.
Originally committed as revision 22972 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Mon, 26 Apr 2010 22:07:15 +0000 (22:07 +0000)]
Implement v4l2 input size autodetection in v4l2_read_header().
Move check on frame size after the device is opened and after
device_try_init() is attempted. If the provided size value is 0x0,
perform a VIDIOC_G_FMT ioctl() on the device, which sets size to the
current settings.
Originally committed as revision 22971 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sebastian Vater [Mon, 26 Apr 2010 22:00:57 +0000 (22:00 +0000)]
Make two functions out of #define hackery.
Patch by Sebastian Vater, cdgs D basty A googlemail
Originally committed as revision 22970 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Mon, 26 Apr 2010 21:01:38 +0000 (21:01 +0000)]
Reindent after r22968.
Originally committed as revision 22969 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Mon, 26 Apr 2010 21:00:33 +0000 (21:00 +0000)]
Write clip-related decimal numbers into hex, where they make more sense.
Originally committed as revision 22968 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Mon, 26 Apr 2010 20:30:02 +0000 (20:30 +0000)]
Set ARCH=c with --disable-asm, fix build
Originally committed as revision 22967 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Mon, 26 Apr 2010 19:40:15 +0000 (19:40 +0000)]
Return meaningful error codes, rather than always -1.
Originally committed as revision 22966 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Mon, 26 Apr 2010 13:36:17 +0000 (13:36 +0000)]
Fix broken 32-bit clipping, and write numbers in hex instead of decimal so
they are easier to understand. Also give the add a 'u' postfix to silence
a pre-c99 compiler warning.
Originally committed as revision 22965 to svn://svn.ffmpeg.org/ffmpeg/trunk
Robert Krüger [Sun, 25 Apr 2010 23:35:56 +0000 (23:35 +0000)]
Make ffprobe show stream->nb_frames if that info is known.
Patch by Robert Krüger $(echo kru3g3r@signal7.d3 | sed -e 's/3/e/g').
Originally committed as revision 22964 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 25 Apr 2010 18:47:40 +0000 (18:47 +0000)]
Remove unnecessary width and height variables from v4l2_read_header().
Originally committed as revision 22963 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 25 Apr 2010 15:05:16 +0000 (15:05 +0000)]
Make avcodec_check_dimensions() return AVERROR(EINVAL) rather than -1
in case of invalid picture size.
Originally committed as revision 22962 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 25 Apr 2010 14:27:42 +0000 (14:27 +0000)]
Mark av_metadata_set() as deprecated, and use av_metadata_set2()
in its place.
av_metadata_set() is going to be dropped at the next major bump.
Originally committed as revision 22961 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sat, 24 Apr 2010 10:39:28 +0000 (10:39 +0000)]
Implement ffserver.c:report_config_error() and a macro for logging
error messages / updating the error count.
Originally committed as revision 22960 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sat, 24 Apr 2010 10:39:25 +0000 (10:39 +0000)]
Statically initialize ffserver.c:config_filename, simplify.
Originally committed as revision 22959 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sat, 24 Apr 2010 10:14:05 +0000 (10:14 +0000)]
Consistently prefer @var{VAR} over ``VAR'' for indicating filter
parameters.
Originally committed as revision 22958 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 Apr 2010 21:27:26 +0000 (21:27 +0000)]
4th try at getting ansi colors working with a default of color=yes_please.
Colors will only be used if the TERM env var is set and NO_COLOR is not set.
Originally committed as revision 22957 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Fri, 23 Apr 2010 16:45:38 +0000 (16:45 +0000)]
Add acelp_filters.o as QCELP decoder object file.
Originally committed as revision 22956 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Fri, 23 Apr 2010 16:41:55 +0000 (16:41 +0000)]
Make WMAVoice decoder depend on DCT/RDFT
Originally committed as revision 22955 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Fri, 23 Apr 2010 16:28:10 +0000 (16:28 +0000)]
Workaround for missing llrintf()
Originally committed as revision 22954 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 Apr 2010 13:15:11 +0000 (13:15 +0000)]
Trying _WIN32 for win32 detection.
Originally committed as revision 22953 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 Apr 2010 08:11:53 +0000 (08:11 +0000)]
Merge the 2 ANSI ESC codes.
Originally committed as revision 22952 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 23 Apr 2010 07:33:02 +0000 (07:33 +0000)]
Reenable ANSI colors, use method from VLC as suggested by ramiro.
Please tell us asap if this breaks for your platform & terminal.
Originally committed as revision 22951 to svn://svn.ffmpeg.org/ffmpeg/trunk
Justin Ruggles [Thu, 22 Apr 2010 21:43:36 +0000 (21:43 +0000)]
ac3dec: return smaller of buf_size and frame_size instead of always returning
frame_size.
Originally committed as revision 22950 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Thu, 22 Apr 2010 21:19:32 +0000 (21:19 +0000)]
ARM: fix build for darwin/iphone
References to external symbols in asm code need prefixes.
Originally committed as revision 22949 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Thu, 22 Apr 2010 20:39:34 +0000 (20:39 +0000)]
Disable ANSI color code until we figured out how to detect ANSI support in
the used terminal.
Originally committed as revision 22948 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Thu, 22 Apr 2010 20:34:30 +0000 (20:34 +0000)]
Disable LATM AAC in mpegts, this is not supported and produce too many
bug reports. Also warn the user about it.
Originally committed as revision 22947 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Thu, 22 Apr 2010 18:58:39 +0000 (18:58 +0000)]
Coloring the log with ANSI.
Ive checked this on black and white background and found no problem in terms
of readability.
flames welcome.
Originally committed as revision 22946 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jai Menon [Thu, 22 Apr 2010 12:54:50 +0000 (12:54 +0000)]
Fix off-by-1 error in the tag parsing code.
Originally committed as revision 22945 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Thu, 22 Apr 2010 09:41:45 +0000 (09:41 +0000)]
Set .supported_samplerates for mpeg audio encoders.
Originally committed as revision 22944 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Thu, 22 Apr 2010 09:40:51 +0000 (09:40 +0000)]
Make sure ffmpeg chooses a supported samplerte if the encoder supports
just some.
Originally committed as revision 22943 to svn://svn.ffmpeg.org/ffmpeg/trunk
Tomas Härdin [Thu, 22 Apr 2010 09:04:33 +0000 (09:04 +0000)]
Made FLIC demuxer capable of handling the videos from "X-COM: Terror from the Deep".
Originally committed as revision 22942 to svn://svn.ffmpeg.org/ffmpeg/trunk
Christian Schmidt [Thu, 22 Apr 2010 08:57:28 +0000 (08:57 +0000)]
Support VP6F in Matroska.
Patch by Christian Schmidt, schmidt digadd de
Originally committed as revision 22941 to svn://svn.ffmpeg.org/ffmpeg/trunk
Cyril Russo [Thu, 22 Apr 2010 08:55:23 +0000 (08:55 +0000)]
Fix compilation error of ffmpeg and ffplay with --disable-avdevice.
Patch by Cyril Russo, stage D nexvision A laposte net
Originally committed as revision 22940 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Wed, 21 Apr 2010 21:19:25 +0000 (21:19 +0000)]
Do not initialize res in url_fseek(), in the case !s->seek directly
return AVERROR(EPIPE) rather than the pre-defined value of res.
Slightly improve readability.
Originally committed as revision 22939 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Wed, 21 Apr 2010 18:01:34 +0000 (18:01 +0000)]
WMAVoice postfilter.
Originally committed as revision 22938 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Wed, 21 Apr 2010 17:57:48 +0000 (17:57 +0000)]
Move clipping of audio samples (for those codecs outputting float) from decoder
to the audio conversion routines.
Originally committed as revision 22937 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jai Menon [Wed, 21 Apr 2010 17:51:37 +0000 (17:51 +0000)]
Fix typo.
Originally committed as revision 22936 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Wed, 21 Apr 2010 17:50:08 +0000 (17:50 +0000)]
Implement QCELP postfilter.
Originally committed as revision 22935 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Wed, 21 Apr 2010 17:46:59 +0000 (17:46 +0000)]
Make the Sipr16k postfilter function write data into the target/output buffer.
Originally committed as revision 22934 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Wed, 21 Apr 2010 17:45:24 +0000 (17:45 +0000)]
Split input/output data arguments to ff_acelp_apply_order_2_transfer_function().
Originally committed as revision 22933 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ronald S. Bultje [Wed, 21 Apr 2010 17:43:52 +0000 (17:43 +0000)]
Split the input/output data arguments to ff_adaptive_gain_control().
Originally committed as revision 22932 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 21 Apr 2010 13:19:00 +0000 (13:19 +0000)]
theora: coeff huffman codes are allowed to be up to 32 bits long (for 32 tokens)
Originally committed as revision 22931 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 21 Apr 2010 13:05:25 +0000 (13:05 +0000)]
10l: do not try to unpack DTX frames in AMR-NB decoder
Originally committed as revision 22930 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Wed, 21 Apr 2010 13:00:48 +0000 (13:00 +0000)]
Fix MTV decoding on big-endian systems
Originally committed as revision 22929 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 21 Apr 2010 06:36:09 +0000 (06:36 +0000)]
mov: Read QuickTime chapters
Originally committed as revision 22928 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 21 Apr 2010 06:36:05 +0000 (06:36 +0000)]
movenc: Write nero chapters
Originally committed as revision 22927 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 20 Apr 2010 21:23:49 +0000 (21:23 +0000)]
seems aac gets screwed up by the parser so disable it
Originally committed as revision 22926 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 20 Apr 2010 21:19:27 +0000 (21:19 +0000)]
parse stream headers for audio streams in mkv, needed for frame size
Originally committed as revision 22925 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sebastian Vater [Tue, 20 Apr 2010 18:40:45 +0000 (18:40 +0000)]
Reindent / reformat some code with broken indenting.
Patch by Sebastian Vater <cdgs DOT basty googlemail com>.
Originally committed as revision 22924 to svn://svn.ffmpeg.org/ffmpeg/trunk
Robert Krüger [Tue, 20 Apr 2010 17:37:06 +0000 (17:37 +0000)]
Allow setting the environment variable FFMPEG_DATADIR to locate preset files.
Patch by Robert Krüger <krueger signal7 de>.
Originally committed as revision 22923 to svn://svn.ffmpeg.org/ffmpeg/trunk
Sebastian Vater [Tue, 20 Apr 2010 17:05:02 +0000 (17:05 +0000)]
Change a %2 to &1. Patch by Sebastian Vater <cdgs DOT basty googlemail com>.
Originally committed as revision 22922 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Tue, 20 Apr 2010 14:47:31 +0000 (14:47 +0000)]
Remove explicit filename from Doxygen @file commands.
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 31050 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diego Biurrun [Tue, 20 Apr 2010 14:45:34 +0000 (14:45 +0000)]
Remove explicit filename from Doxygen @file commands.
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Tue, 20 Apr 2010 14:41:55 +0000 (14:41 +0000)]
Add missing internal.h #include for brktimegm(), fixes the warning:
libavformat/dvenc.c:82: warning: implicit declaration of function ‘brktimegm’
Originally committed as revision 22920 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun [Tue, 20 Apr 2010 14:23:00 +0000 (14:23 +0000)]
cosmetics: Switch Doxygen comments to JavaDoc style.
Originally committed as revision 22919 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Tue, 20 Apr 2010 07:38:52 +0000 (07:38 +0000)]
Reset RTCP timestamps after seeking, add range start offset to the packets timestamps
If these aren't reset, the timestamps make a huge jump when the next RTCP
is received.
Originally committed as revision 22918 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Tue, 20 Apr 2010 07:34:28 +0000 (07:34 +0000)]
Revert svn rev 21857, readd first_rtcp_ntp_time in RTPDemuxContext
In order to sync RTP streams that get their initial RTCP timestamp at
different times, propagate the NTP timestamp of the first RTCP packet
to all other streams.
This makes the timestamps of returned packets start at (near) zero instead
of at any random offset.
Originally committed as revision 22917 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Tue, 20 Apr 2010 01:41:00 +0000 (01:41 +0000)]
Set AVFMT_NOTIMESTAMPS flag for mp3 muxer
Fixes issue 1026
Originally committed as revision 22916 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Mon, 19 Apr 2010 21:20:20 +0000 (21:20 +0000)]
vertical align in libx264.c
Originally committed as revision 22915 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Mon, 19 Apr 2010 19:37:31 +0000 (19:37 +0000)]
Revert "Fix libx264 configure check to use pkg-config if available."
There are problems using pkg-config, and a better solution is being
worked on.
Originally committed as revision 22914 to svn://svn.ffmpeg.org/ffmpeg/trunk
Jason Garrett-Glaser [Mon, 19 Apr 2010 19:34:37 +0000 (19:34 +0000)]
Fix libx264 configure check to use pkg-config if available.
Originally committed as revision 22913 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Mon, 19 Apr 2010 13:05:26 +0000 (13:05 +0000)]
Makefile: make fate target depend on compiling ffmpeg
Originally committed as revision 22912 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Mon, 19 Apr 2010 12:49:56 +0000 (12:49 +0000)]
configure: simplify $COMPONENT_LIST handling
This lets check_deps set the generic CONFIG_ENCODERS and friends using
an _if_any construct.
Originally committed as revision 22911 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Mon, 19 Apr 2010 12:49:53 +0000 (12:49 +0000)]
configure: simplify vaapi dependencies
Originally committed as revision 22910 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Mon, 19 Apr 2010 12:49:51 +0000 (12:49 +0000)]
configure: simplify vdpau dependencies
Originally committed as revision 22909 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård [Mon, 19 Apr 2010 11:51:40 +0000 (11:51 +0000)]
FATE: update nsv-demux checksums
Originally committed as revision 22908 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Barbato [Mon, 19 Apr 2010 11:42:02 +0000 (11:42 +0000)]
Make ffserver support rfc3550
Originally committed as revision 22907 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Barbato [Mon, 19 Apr 2010 11:40:45 +0000 (11:40 +0000)]
Make rtp protocol obey rfc3550
Originally committed as revision 22906 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 18 Apr 2010 20:10:43 +0000 (20:10 +0000)]
Fix leak in avfilter_graph_add_filter().
In case of reallocation failure the pointer to the original filter
array was lost. The correct behavior seems to just keep the old array
and count.
Originally committed as revision 22905 to svn://svn.ffmpeg.org/ffmpeg/trunk
Howard Chu [Sun, 18 Apr 2010 19:09:25 +0000 (19:09 +0000)]
Implement librtmp seek support.
Implement flv_read_seek(), add a missing check on stream_index
and fix timestamp rounding in rtmp_read_seek().
Also add the flv_read_seek2() function, which is not enabled but is
useful as reference.
To actually implement flv_read_seek2() correctly, there would need to
be some corresponding av_url_read_fseek2() function to propagate the
timestamps down to the ByteIOContext and URLContext.
Patch by Howard Chu <hyc <at> highlandsun.com>.
See the thread:
Subject: [FFmpeg-devel] RTMP seek support
Date: 2010-03-28 23:35:02 GMT
Originally committed as revision 22904 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 18 Apr 2010 19:09:22 +0000 (19:09 +0000)]
Prefer AVERROR(ENOSYS) over AVERROR_NOTSUPP.
AVERROR_NOTSUPP is (maybe) going to be deprecated.
Originally committed as revision 22903 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 18 Apr 2010 17:37:21 +0000 (17:37 +0000)]
Make url_fsize() return AVERROR(ENOSYS) rather than AVERROR(EPIPE) if
the seek operation is not defined in the ByteIOContext.
Originally committed as revision 22902 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini [Sun, 18 Apr 2010 17:37:16 +0000 (17:37 +0000)]
Make url_seek() return AVERROR(ENOSYS) rather than AVERROR(EPIPE) in
the case where the seek operation is not defined in the protocol
handler.
Originally committed as revision 22901 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Kaufmann [Sat, 17 Apr 2010 11:00:53 +0000 (11:00 +0000)]
Add const to some pointer parameters.
Patch by Michael Kaufmann, hallo michael-kaufmann ch
Originally committed as revision 22900 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Sat, 17 Apr 2010 10:37:42 +0000 (10:37 +0000)]
vp3: Use avctx pointer directly
Originally committed as revision 22899 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Sat, 17 Apr 2010 02:04:39 +0000 (02:04 +0000)]
vp3: Read fps and aspect ratio in the decoder
Originally committed as revision 22898 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Sat, 17 Apr 2010 02:04:35 +0000 (02:04 +0000)]
vp3: Don't crop if there's a left/top offset, it's wrong
Fixes issue1834
Originally committed as revision 22897 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Sat, 17 Apr 2010 02:04:30 +0000 (02:04 +0000)]
vp3: DC-only IDCT
2-4% faster overall decode
Originally committed as revision 22896 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier [Fri, 16 Apr 2010 22:58:56 +0000 (22:58 +0000)]
Take ticks per frame into account when warning about difference between
container and codec frame rate.
Originally committed as revision 22895 to svn://svn.ffmpeg.org/ffmpeg/trunk
Martin Storsjö [Fri, 16 Apr 2010 20:36:24 +0000 (20:36 +0000)]
Parse strf mov atoms
This fixes roundup issue 1270.
Originally committed as revision 22894 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Fri, 16 Apr 2010 12:21:44 +0000 (12:21 +0000)]
vp3: More buffer length checks
.5% slower to fix some crashes on invalid streams
Originally committed as revision 22893 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Fri, 16 Apr 2010 12:21:41 +0000 (12:21 +0000)]
vp3: Remove internal debug statement
Originally committed as revision 22892 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Fri, 16 Apr 2010 12:21:38 +0000 (12:21 +0000)]
oggdec: Move warning about missing granule to the correct place
Originally committed as revision 22891 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Fri, 16 Apr 2010 12:21:35 +0000 (12:21 +0000)]
oggdec: Fix duration calculation if the last page in a file has no granule
Originally committed as revision 22890 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Fri, 16 Apr 2010 12:21:29 +0000 (12:21 +0000)]
oggdec: Remove write-only variable
Originally committed as revision 22889 to svn://svn.ffmpeg.org/ffmpeg/trunk