mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libspark/video: ShowPicture: fix malloc size
This commit is contained in:
@@ -444,7 +444,7 @@ void cVideo::ShowPicture(const char * fname)
|
||||
if (ioctl(fd, VIDEO_SET_FORMAT, VIDEO_FORMAT_16_9) < 0)
|
||||
lt_info("%s: VIDEO_SET_FORMAT failed (%m)\n", __func__);
|
||||
#ifdef MARTII
|
||||
char *iframe = (char *)malloc((st.st_size < 8192) ? 8192 : st.st_size);
|
||||
char *iframe = (char *)malloc(st.st_size);
|
||||
#else
|
||||
bool seq_end_avail = false;
|
||||
size_t pos=0;
|
||||
|
Reference in New Issue
Block a user