Remove unused arguments to handle_mve_segment_initvideobuffers

This commit is contained in:
Kp 2023-05-06 19:26:19 +00:00
parent d69daa609b
commit f83361f91f
3 changed files with 3 additions and 3 deletions

View file

@ -268,7 +268,7 @@ int mve_play_next_chunk(MVESTREAM &movie)
r = movie.handle_mve_segment_startstopaudio();
break;
case mve_opcode::initvideobuffers:
r = movie.handle_mve_segment_initvideobuffers(major, minor, data, len, movie.context);
r = movie.handle_mve_segment_initvideobuffers(minor, data);
break;
case mve_opcode::displayvideo:
r = movie.handle_mve_segment_displayvideo(major, minor, data, len, movie.context);

View file

@ -105,7 +105,7 @@ struct MVESTREAM
int handle_mve_segment_createtimer(const unsigned char *data);
int handle_mve_segment_initaudiobuffers(unsigned char minor, const unsigned char *data);
int handle_mve_segment_startstopaudio();
int handle_mve_segment_initvideobuffers(mve_opcode major, unsigned char minor, const unsigned char *data, int len, void *context);
int handle_mve_segment_initvideobuffers(unsigned char minor, const unsigned char *data);
int handle_mve_segment_displayvideo(mve_opcode major, unsigned char minor, const unsigned char *data, int len, void *context);
int handle_mve_segment_audioframedata(mve_opcode major, unsigned char minor, const unsigned char *data, int len, void *context);
int handle_mve_segment_initvideomode(mve_opcode major, unsigned char minor, const unsigned char *data, int len, void *context);

View file

@ -519,7 +519,7 @@ static int g_screenWidth, g_screenHeight;
static std::span<const uint8_t> g_pCurMap;
static int g_truecolor;
int MVESTREAM::handle_mve_segment_initvideobuffers(mve_opcode, unsigned char minor, const unsigned char *data, int, void *)
int MVESTREAM::handle_mve_segment_initvideobuffers(unsigned char minor, const unsigned char *data)
{
short w, h,
#ifdef DEBUG