Size is now initialized before use in method Play
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4531 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ebeaac4396
commit
23d3981b3b
@ -125,7 +125,8 @@ status_t PicturePlayer::Play(int32 tableEntries,void *userData, LayerData *d)
|
|||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
|
|
||||||
int16 op;
|
int16 op;
|
||||||
int32 size;
|
int32 size=fData.Seek(0,SEEK_END);
|
||||||
|
fData.Seek(0,SEEK_SET);
|
||||||
off_t pos;
|
off_t pos;
|
||||||
fldata=*d;
|
fldata=*d;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user