1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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:
Reimar Döffinger 2011-11-04 17:05:17 +01:00
parent 0fd28e39ec
commit 5639793be9

View File

@ -23,7 +23,7 @@
#include <string.h>
typedef struct SampleFmtInfo {
const char *name;
char name[4];
int bits;
} SampleFmtInfo;