Remove unused arguments to handle_mve_segment_endofchunk

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

View file

@ -256,7 +256,7 @@ int mve_play_next_chunk(MVESTREAM &movie)
r = movie.handle_mve_segment_endofstream();
break;
case mve_opcode::endofchunk:
r = movie.handle_mve_segment_endofchunk(major, minor, data, len, movie.context);
r = movie.handle_mve_segment_endofchunk();
break;
case mve_opcode::createtimer:
r = movie.handle_mve_segment_createtimer(major, minor, data, len, movie.context);

View file

@ -101,7 +101,7 @@ struct MVESTREAM
void *context = nullptr;
int handle_mve_segment_endofstream();
int handle_mve_segment_endofchunk(mve_opcode major, unsigned char minor, const unsigned char *data, int len, void *context);
int handle_mve_segment_endofchunk();
int handle_mve_segment_createtimer(mve_opcode major, unsigned char minor, const unsigned char *data, int len, void *context);
int handle_mve_segment_initaudiobuffers(mve_opcode major, unsigned char minor, const unsigned char *data, int len, void *context);
int handle_mve_segment_startstopaudio(mve_opcode major, unsigned char minor, const unsigned char *data, int len, void *context);

View file

@ -641,7 +641,7 @@ int MVESTREAM::handle_mve_segment_videodata(mve_opcode, unsigned char, const uns
return 1;
}
int MVESTREAM::handle_mve_segment_endofchunk(mve_opcode, unsigned char, const unsigned char *, int, void *)
int MVESTREAM::handle_mve_segment_endofchunk()
{
g_pCurMap = {};
return 1;