diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-11-04 17:05:17 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-11-05 11:30:46 +0100 |
commit | 5639793be90b1681e200b290fd93802dbcf84881 (patch) | |
tree | 2ff9162a1d21a165c962f7b8652d1fec37032ce6 /libavutil/samplefmt.c | |
parent | 0fd28e39ec29cec6905a953c3f7cffcc01498493 (diff) | |
download | ffmpeg-streaming-5639793be90b1681e200b290fd93802dbcf84881.zip ffmpeg-streaming-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>
Diffstat (limited to 'libavutil/samplefmt.c')
-rw-r--r-- | libavutil/samplefmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/samplefmt.c b/libavutil/samplefmt.c index 6f7070e..bdbbf0a 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; |