Revision 28e7453c libavcodec/dvdsubenc.c

View differences:

libavcodec/dvdsubenc.c
204 204
    return q - outbuf;
205 205
}
206 206

  
207
static int dvdsub_init_encoder(AVCodecContext *avctx)
208
{
209
    return 0;
210
}
211

  
212
static int dvdsub_close_encoder(AVCodecContext *avctx)
213
{
214
    return 0;
215
}
216

  
217 207
static int dvdsub_encode(AVCodecContext *avctx,
218 208
                         unsigned char *buf, int buf_size, void *data)
219 209
{
......
230 220
    CODEC_TYPE_SUBTITLE,
231 221
    CODEC_ID_DVD_SUBTITLE,
232 222
    0,
233
    dvdsub_init_encoder,
223
    NULL,
234 224
    dvdsub_encode,
235
    dvdsub_close_encoder,
236 225
};

Also available in: Unified diff