mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-29 16:30:57 +02:00
libeplayer3: run through indent, no binary change
Origin commit data
------------------
Branch: master
Commit: 2d652aab01
Author: martii <m4rtii@gmx.de>
Date: 2013-11-21 (Thu, 21 Nov 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -47,9 +47,7 @@ ManagerHandler_t ManagerHandler = {
|
||||
"ManagerHandler",
|
||||
&AudioManager,
|
||||
&VideoManager,
|
||||
&SubtitleManager
|
||||
, &DvbSubtitleManager
|
||||
, &TeletextManager
|
||||
&SubtitleManager, &DvbSubtitleManager, &TeletextManager
|
||||
};
|
||||
|
||||
/* ***************************** */
|
||||
@@ -59,38 +57,38 @@ ManagerHandler_t ManagerHandler = {
|
||||
/* ***************************** */
|
||||
/* Functions */
|
||||
/* ***************************** */
|
||||
void copyTrack(Track_t* to, Track_t* from)
|
||||
void copyTrack(Track_t * to, Track_t * from)
|
||||
{
|
||||
*to = *from;
|
||||
|
||||
if (from->Name != NULL)
|
||||
to->Name = strdup(from->Name);
|
||||
to->Name = strdup(from->Name);
|
||||
else
|
||||
to->Name = strdup("Unknown");
|
||||
to->Name = strdup("Unknown");
|
||||
|
||||
if (from->Encoding != NULL)
|
||||
to->Encoding = strdup(from->Encoding);
|
||||
to->Encoding = strdup(from->Encoding);
|
||||
else
|
||||
to->Encoding = strdup("Unknown");
|
||||
to->Encoding = strdup("Unknown");
|
||||
|
||||
if (from->language != NULL)
|
||||
to->language = strdup(from->language);
|
||||
to->language = strdup(from->language);
|
||||
else
|
||||
to->language = strdup("Unknown");
|
||||
to->language = strdup("Unknown");
|
||||
}
|
||||
|
||||
void freeTrack(Track_t* track)
|
||||
void freeTrack(Track_t * track)
|
||||
{
|
||||
if (track->Name != NULL)
|
||||
free(track->Name);
|
||||
free(track->Name);
|
||||
|
||||
if (track->Encoding != NULL)
|
||||
free(track->Encoding);
|
||||
free(track->Encoding);
|
||||
|
||||
if (track->language != NULL)
|
||||
free(track->language);
|
||||
free(track->language);
|
||||
|
||||
if (track->aacbuf != NULL)
|
||||
free(track->aacbuf);
|
||||
free(track->aacbuf);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user