aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffmpeg-1.0/libavutil
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2013-03-01 16:43:33 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2013-03-01 16:43:33 +0000
commit33a128c7bd29c8942eb169de4918880caaa179a3 (patch)
treea125a4217196cfec53bb3f1b25d5ccc381bf23c5 /src/lib/ffmpeg-1.0/libavutil
parent89079baed869ebc6b3bc0bebc93bb342be469f8d (diff)
downloadusdx-33a128c7bd29c8942eb169de4918880caaa179a3.tar.gz
usdx-33a128c7bd29c8942eb169de4918880caaa179a3.tar.xz
usdx-33a128c7bd29c8942eb169de4918880caaa179a3.zip
samplefmt update.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2963 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/lib/ffmpeg-1.0/libavutil')
-rw-r--r--src/lib/ffmpeg-1.0/libavutil/samplefmt.pas16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/lib/ffmpeg-1.0/libavutil/samplefmt.pas b/src/lib/ffmpeg-1.0/libavutil/samplefmt.pas
index 62165737..83d5a44b 100644
--- a/src/lib/ffmpeg-1.0/libavutil/samplefmt.pas
+++ b/src/lib/ffmpeg-1.0/libavutil/samplefmt.pas
@@ -19,7 +19,7 @@
* This is a part of the Pascal port of ffmpeg.
*
* Conversion of libavutil/samplefmt.h
- * avutil version 51.54.100
+ * avutil version 51.73.101
*
*)
@@ -173,16 +173,20 @@ function av_samples_get_buffer_size(linesize: Pcint; nb_channels: cint; nb_sampl
cdecl; external av__util;
(**
- * Fill channel data pointers and linesizes for samples with sample
+ * Fill plane data pointers and linesize for samples with sample
* format sample_fmt.
*
- * The pointers array is filled with the pointers to the samples data:
+ * The audio_data array is filled with the pointers to the samples data planes:
* for planar, set the start point of each channel's data within the buffer,
* for packed, set the start point of the entire buffer only.
*
- * The linesize array is filled with the aligned size of each channel's data
- * buffer for planar layout, or the aligned size of the buffer for all channels
- * for packed layout.
+ * The value pointed to by linesize is set to the aligned size of each
+ * channel's data buffer for planar layout, or to the aligned size of the
+ * buffer for all channels for packed layout.
+ *
+ * The buffer in buf must be big enough to contain all the samples
+ * (use av_samples_get_buffer_size() to compute its minimum size),
+ * otherwise the audio_data pointers will point to invalid data.
*
* @see enum AVSampleFormat
* The documentation for AVSampleFormat describes the data layout.