aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-04 17:05:17 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-05 11:30:46 +0100
commit5639793be90b1681e200b290fd93802dbcf84881 (patch)
tree2ff9162a1d21a165c962f7b8652d1fec37032ce6
parent0fd28e39ec29cec6905a953c3f7cffcc01498493 (diff)
downloadffmpeg-5639793be90b1681e200b290fd93802dbcf84881.tar.gz
Put strings inside struct instead of extra indirection.
Saves a bit on space and relocations. Also makes the (very hackish) lossless conversion check in ffmpeg.c work reliably. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-rw-r--r--libavutil/samplefmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/samplefmt.c b/libavutil/samplefmt.c
index 6f7070e43c..bdbbf0a37d 100644
--- a/libavutil/samplefmt.c
+++ b/libavutil/samplefmt.c
@@ -23,7 +23,7 @@
#include <string.h>
typedef struct SampleFmtInfo {
- const char *name;
+ char name[4];
int bits;
} SampleFmtInfo;