comparison vorbis_enc.c @ 7129:322023e630a6 libavcodec

mark read-only data as const
author stefang
date Tue, 24 Jun 2008 20:01:31 +0000
parents e943e1409077
children 7b8fba44fe9d
comparison
equal deleted inserted replaced
7128:614bc53e67a8 7129:322023e630a6
1073 av_freep(&avccontext->extradata); 1073 av_freep(&avccontext->extradata);
1074 1074
1075 return 0 ; 1075 return 0 ;
1076 } 1076 }
1077 1077
1078 AVCodec vorbis_encoder = { 1078 const AVCodec vorbis_encoder = {
1079 "vorbis", 1079 "vorbis",
1080 CODEC_TYPE_AUDIO, 1080 CODEC_TYPE_AUDIO,
1081 CODEC_ID_VORBIS, 1081 CODEC_ID_VORBIS,
1082 sizeof(venc_context_t), 1082 sizeof(venc_context_t),
1083 vorbis_encode_init, 1083 vorbis_encode_init,