mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
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:
@@ -316,7 +316,7 @@ void eDVBCISession::receiveData(tSlot *slot, const unsigned char *ptr, size_t le
|
||||
while (len > 0)
|
||||
{
|
||||
int alen;
|
||||
const unsigned char *tag = pkt;
|
||||
const unsigned char *stag = pkt;
|
||||
pkt += 3; // tag
|
||||
len -= 3;
|
||||
hlen = parseLengthField(pkt, alen);
|
||||
@@ -331,9 +331,9 @@ void eDVBCISession::receiveData(tSlot *slot, const unsigned char *ptr, size_t le
|
||||
alen = len;
|
||||
}
|
||||
|
||||
printf("1. Call receivedAPDU tag = 0x%2x, len = %d\n", (int) tag, alen);
|
||||
printf("1. Call receivedAPDU tag = 0x%2x, len = %d\n", (int) stag, alen);
|
||||
|
||||
if (session->receivedAPDU(tag, pkt, alen))
|
||||
if (session->receivedAPDU(stag, pkt, alen))
|
||||
session->action = 1;
|
||||
pkt += alen;
|
||||
len -= alen;
|
||||
|
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user