Remove unused arguments to handle_mve_segment_initvideomode

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

View file

@ -278,7 +278,7 @@ int mve_play_next_chunk(MVESTREAM &movie)
r = movie.handle_mve_segment_audioframedata(major, data);
break;
case mve_opcode::initvideomode:
r = movie.handle_mve_segment_initvideomode(major, minor, data, len, movie.context);
r = movie.handle_mve_segment_initvideomode(data);
break;
case mve_opcode::setpalette:
r = movie.handle_mve_segment_setpalette(major, minor, data, len, movie.context);

View file

@ -108,7 +108,7 @@ struct MVESTREAM
int handle_mve_segment_initvideobuffers(unsigned char minor, const unsigned char *data);
int handle_mve_segment_displayvideo();
int handle_mve_segment_audioframedata(mve_opcode major, const unsigned char *data);
int handle_mve_segment_initvideomode(mve_opcode major, unsigned char minor, const unsigned char *data, int len, void *context);
int handle_mve_segment_initvideomode(const unsigned char *data);
int handle_mve_segment_setpalette(mve_opcode major, unsigned char minor, const unsigned char *data, int len, void *context);
int handle_mve_segment_setdecodingmap(mve_opcode major, unsigned char minor, const unsigned char *data, int len, void *context);
int handle_mve_segment_videodata(mve_opcode major, unsigned char minor, const unsigned char *data, int len, void *context);

View file

@ -579,7 +579,7 @@ int MVESTREAM::handle_mve_segment_displayvideo()
return 1;
}
int MVESTREAM::handle_mve_segment_initvideomode(mve_opcode, unsigned char, const unsigned char *data, int, void *)
int MVESTREAM::handle_mve_segment_initvideomode(const unsigned char *data)
{
short width, height;