mirror of
https://github.com/mpv-player/mpv
synced 2025-02-20 06:46:55 +00:00
warning fixes:
movinfo.c: In function 'video_stream_info': movinfo.c:80: warning: control reaches end of non-void function movinfo.c: In function 'audio_stream_info': movinfo.c:99: warning: control reaches end of non-void function movinfo.c: In function 'userdata_info': movinfo.c:152: warning: control reaches end of non-void function git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24222 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ea66106b4c
commit
8826704061
@ -63,7 +63,7 @@ unsigned int read_dword(FILE *f){
|
|||||||
return (atom_size_b[0]<<24)|(atom_size_b[1]<<16)|(atom_size_b[2]<<8)|atom_size_b[3];
|
return (atom_size_b[0]<<24)|(atom_size_b[1]<<16)|(atom_size_b[2]<<8)|atom_size_b[3];
|
||||||
}
|
}
|
||||||
|
|
||||||
void *video_stream_info(FILE *f, int len)
|
void video_stream_info(FILE *f, int len)
|
||||||
{
|
{
|
||||||
int orig_pos = ftell(f);
|
int orig_pos = ftell(f);
|
||||||
unsigned char data[len-8];
|
unsigned char data[len-8];
|
||||||
@ -79,7 +79,7 @@ void *video_stream_info(FILE *f, int len)
|
|||||||
fseek(f,orig_pos,SEEK_SET);
|
fseek(f,orig_pos,SEEK_SET);
|
||||||
}
|
}
|
||||||
|
|
||||||
void *audio_stream_info(FILE *f, int len)
|
void audio_stream_info(FILE *f, int len)
|
||||||
{
|
{
|
||||||
int orig_pos = ftell(f);
|
int orig_pos = ftell(f);
|
||||||
unsigned char data[len-8];
|
unsigned char data[len-8];
|
||||||
@ -98,7 +98,7 @@ void *audio_stream_info(FILE *f, int len)
|
|||||||
fseek(f,orig_pos,SEEK_SET);
|
fseek(f,orig_pos,SEEK_SET);
|
||||||
}
|
}
|
||||||
|
|
||||||
void *userdata_info(FILE *f, int len, int pos, int level)
|
void userdata_info(FILE *f, int len, int pos, int level)
|
||||||
{
|
{
|
||||||
int orig_pos = pos; /*ftell(f);*/
|
int orig_pos = pos; /*ftell(f);*/
|
||||||
unsigned int atom_size = 1;
|
unsigned int atom_size = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user