mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
src/eitd/edvbstring.cpp init array
Origin commit data
------------------
Branch: ni/coolstream
Commit: 80728520f6
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-01-03 (Tue, 03 Jan 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <limits.h>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <string.h>
|
||||
|
||||
#include "SIutils.hpp"
|
||||
#include "debug.h"
|
||||
@@ -2105,6 +2106,7 @@ std::string convertDVBUTF8(const char *data, int len, int table, int tsidonid)
|
||||
|
||||
//dprintf("recode:::: tsidonid %X table %d two-char %d len %d\n", tsidonid, table, twochar, len);
|
||||
unsigned char res[2048];
|
||||
memset(res,0,sizeof(res));
|
||||
while (i < len)
|
||||
{
|
||||
unsigned long code=0;
|
||||
@@ -2267,6 +2269,7 @@ const std::string convertLatin1UTF8(const std::string &string)
|
||||
unsigned int t=0, i=0, len=string.size();
|
||||
|
||||
unsigned char res[2048];
|
||||
memset(res,0,sizeof(res));
|
||||
|
||||
while (i < len)
|
||||
{
|
||||
|
Reference in New Issue
Block a user