#ifdef DEBUG
#undef fprintf
+#undef perror
+#undef exit
static void ppm_save(const char *filename, uint8_t *bitmap, int w, int h,
uint32_t *rgba_palette)
{
static int dvdsub_decode(AVCodecContext *avctx,
void *data, int *data_size,
- uint8_t *buf, int buf_size)
+ const uint8_t *buf, int buf_size)
{
AVSubtitle *sub = (void *)data;
int is_menu;
NULL,
NULL,
dvdsub_decode,
+ .long_name = NULL_IF_CONFIG_SMALL("DVD subtitles"),
};