[FFmpeg-cvslog] libavutil: increase struct SampleFmtInfo member 'name' length to 8

Giorgio Vazzana git at videolan.org
Sat Dec 3 00:36:17 CET 2011


ffmpeg | branch: master | Giorgio Vazzana <mywing81 at gmail.com> | Sat Dec  3 00:10:56 2011 +0100| [208bcc6b5b3f3b4c73c6073e7e64839f6c5e90ec] | committer: Michael Niedermayer

libavutil: increase struct SampleFmtInfo member 'name' length to 8

This is necessary since some sample format names are longer than 3 characters.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=208bcc6b5b3f3b4c73c6073e7e64839f6c5e90ec
---

 libavutil/samplefmt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavutil/samplefmt.c b/libavutil/samplefmt.c
index 964a9f9..f430003 100644
--- a/libavutil/samplefmt.c
+++ b/libavutil/samplefmt.c
@@ -23,7 +23,7 @@
 #include <string.h>
 
 typedef struct SampleFmtInfo {
-    char name[4];
+    char name[8];
     int bits;
     int planar;
     enum AVSampleFormat altform; ///< planar<->packed alternative form



More information about the ffmpeg-cvslog mailing list