Revision 28e7453c libavcodec/dvbsub.c

View differences:

libavcodec/dvbsub.c
390 390
    return q - outbuf;
391 391
}
392 392

  
393
static int dvbsub_init_decoder(AVCodecContext *avctx)
394
{
395
    return 0;
396
}
397

  
398
static int dvbsub_close_decoder(AVCodecContext *avctx)
399
{
400
    return 0;
401
}
402

  
403 393
static int dvbsub_encode(AVCodecContext *avctx,
404 394
                       unsigned char *buf, int buf_size, void *data)
405 395
{
......
416 406
    CODEC_TYPE_SUBTITLE,
417 407
    CODEC_ID_DVB_SUBTITLE,
418 408
    sizeof(DVBSubtitleContext),
419
    dvbsub_init_decoder,
409
    NULL,
420 410
    dvbsub_encode,
421
    dvbsub_close_decoder,
422 411
};

Also available in: Unified diff