mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed calling iconv_close() only with a valid iconv_t value
This commit is contained in:
parent
441bf30032
commit
e2796948b2
@ -2835,6 +2835,7 @@ Juergen Lock <vdr-l@jelal.kn-bremen.de>
|
|||||||
for fixing cUnbufferedFile::Seek() in case it is compiled without USE_FADVISE
|
for fixing cUnbufferedFile::Seek() in case it is compiled without USE_FADVISE
|
||||||
for reporting a problem with EPG scan on systems with only a single DVB device that
|
for reporting a problem with EPG scan on systems with only a single DVB device that
|
||||||
use software output
|
use software output
|
||||||
|
for fixing calling iconv_close() only with a valid iconv_t value
|
||||||
|
|
||||||
Sergiu Dotenco <sergiu.dotenco@googlemail.com>
|
Sergiu Dotenco <sergiu.dotenco@googlemail.com>
|
||||||
for reporting a missing initialization in sDvbSpuRect
|
for reporting a missing initialization in sDvbSpuRect
|
||||||
|
3
HISTORY
3
HISTORY
@ -7339,7 +7339,7 @@ Video Disk Recorder Revision History
|
|||||||
- Modified editing marks are now written to disk whenever the replay progress display
|
- Modified editing marks are now written to disk whenever the replay progress display
|
||||||
gets hidden (thanks to Christoph Haubrich).
|
gets hidden (thanks to Christoph Haubrich).
|
||||||
|
|
||||||
2012-12-02: Version 1.7.33
|
2012-12-03: Version 1.7.33
|
||||||
|
|
||||||
- In order to be able to play TS recordings from other sources, in which there is
|
- In order to be able to play TS recordings from other sources, in which there is
|
||||||
more than one PMT PID in the PAT, 'int cPatPmtParser::PatPmt(void)' has been changed
|
more than one PMT PID in the PAT, 'int cPatPmtParser::PatPmt(void)' has been changed
|
||||||
@ -7358,3 +7358,4 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed a typo in skins.h (thanks to Lars Hanisch).
|
- Fixed a typo in skins.h (thanks to Lars Hanisch).
|
||||||
- Simplified calculating the PTS offset in cPtsFixer::Fix() and fixed the overflow
|
- Simplified calculating the PTS offset in cPtsFixer::Fix() and fixed the overflow
|
||||||
handling of PCR values (thanks to Sören Moch).
|
handling of PCR values (thanks to Sören Moch).
|
||||||
|
- Fixed calling iconv_close() only with a valid iconv_t value (thanks to Juergen Lock).
|
||||||
|
5
tools.c
5
tools.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: tools.c 2.26 2012/09/30 13:04:14 kls Exp $
|
* $Id: tools.c 2.27 2012/12/03 09:31:32 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "tools.h"
|
#include "tools.h"
|
||||||
@ -842,7 +842,8 @@ cCharSetConv::cCharSetConv(const char *FromCode, const char *ToCode)
|
|||||||
cCharSetConv::~cCharSetConv()
|
cCharSetConv::~cCharSetConv()
|
||||||
{
|
{
|
||||||
free(result);
|
free(result);
|
||||||
iconv_close(cd);
|
if (cd != (iconv_t)-1)
|
||||||
|
iconv_close(cd);
|
||||||
}
|
}
|
||||||
|
|
||||||
void cCharSetConv::SetSystemCharacterTable(const char *CharacterTable)
|
void cCharSetConv::SetSystemCharacterTable(const char *CharacterTable)
|
||||||
|
Loading…
Reference in New Issue
Block a user