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>
This commit is contained in:
parent
0fd28e39ec
commit
5639793be9
@ -23,7 +23,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
typedef struct SampleFmtInfo {
|
typedef struct SampleFmtInfo {
|
||||||
const char *name;
|
char name[4];
|
||||||
int bits;
|
int bits;
|
||||||
} SampleFmtInfo;
|
} SampleFmtInfo;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user