String pointers of ogg_codec_t should have const attribute.

Originally committed as revision 11860 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2008-02-04 12:32:25 +00:00
parent 23ef05756e
commit c901197693
1 changed files with 2 additions and 2 deletions

View File

@ -28,9 +28,9 @@
#include "avformat.h"
typedef struct ogg_codec {
int8_t *magic;
const int8_t *magic;
uint8_t magicsize;
int8_t *name;
const int8_t *name;
int (*header)(AVFormatContext *, int);
int (*packet)(AVFormatContext *, int);
uint64_t (*gptopts)(AVFormatContext *, int, uint64_t);