fix compiler warning

Origin commit data
------------------
Branch: master
Commit: da66fc3db5
Author: max_10 <max_10@gmx.de>
Date: 2014-12-04 (Thu, 04 Dec 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2014-12-04 19:49:18 +01:00
parent 9be0322787
commit 48008d4ffa
2 changed files with 4 additions and 4 deletions

View File

@@ -494,7 +494,7 @@ void cVideo::ShowPicture(const char * fname, const char *_destname)
if (ioctl(fd, VIDEO_SET_FORMAT, VIDEO_FORMAT_16_9) < 0)
lt_info("%s: VIDEO_SET_FORMAT failed (%m)\n", __func__);
bool seq_end_avail = false;
size_t pos=0;
off_t pos=0;
unsigned char *iframe = (unsigned char *)malloc((st.st_size < 8192) ? 8192 : st.st_size);
if (! iframe)
{