aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiorgio Vazzana <mywing81@gmail.com>2011-12-03 00:10:56 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-03 00:35:20 +0100
commit208bcc6b5b3f3b4c73c6073e7e64839f6c5e90ec (patch)
tree6a99fb68ac4bd454bb68fbc9d3d8f75f0ab2ef19
parentb552e3f6d8fc39913012fa707e185f3725abdbf7 (diff)
downloadffmpeg-208bcc6b5b3f3b4c73c6073e7e64839f6c5e90ec.tar.gz
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@gmx.at>
-rw-r--r--libavutil/samplefmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/samplefmt.c b/libavutil/samplefmt.c
index 964a9f9c44..f4300036c2 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