comparison dvdsubdec.c @ 6218:dfdff1ca78a7 libavcodec

consts I have underestimated this a little, and these are just some ...
author michael
date Fri, 01 Feb 2008 03:26:31 +0000
parents d030978bcd93
children 5b3acf9fd50a
comparison
equal deleted inserted replaced
6217:f838213ca91b 6218:dfdff1ca78a7
467 } 467 }
468 #endif 468 #endif
469 469
470 static int dvdsub_decode(AVCodecContext *avctx, 470 static int dvdsub_decode(AVCodecContext *avctx,
471 void *data, int *data_size, 471 void *data, int *data_size,
472 uint8_t *buf, int buf_size) 472 const uint8_t *buf, int buf_size)
473 { 473 {
474 AVSubtitle *sub = (void *)data; 474 AVSubtitle *sub = (void *)data;
475 int is_menu; 475 int is_menu;
476 476
477 is_menu = decode_dvd_subtitles(sub, buf, buf_size); 477 is_menu = decode_dvd_subtitles(sub, buf, buf_size);