libeplayer3/manager: initialize track IDs

Origin commit data
------------------
Branch: master
Commit: 2f5c51abc6
Author: martii <m4rtii@gmx.de>
Date: 2013-08-16 (Fri, 16 Aug 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2013-08-16 19:50:20 +02:00
parent f69fb5af0d
commit a584609d0f
5 changed files with 15 additions and 0 deletions

View File

@@ -83,6 +83,9 @@ static int ManagerAdd(Context_t *context, Track_t track) {
if (Tracks == NULL) {
Tracks = malloc(sizeof(Track_t) * TRACKWRAP);
int i;
for (i = 0; i < TRACKWRAP; i++)
Tracks[i].Id = -1;
}
if (Tracks == NULL)

View File

@@ -83,6 +83,9 @@ static int ManagerAdd(Context_t *context, Track_t track) {
if (Tracks == NULL) {
Tracks = malloc(sizeof(Track_t) * TRACKWRAP);
int i;
for (i = 0; i < TRACKWRAP; i++)
Tracks[i].Id = -1;
}
if (Tracks == NULL)

View File

@@ -82,6 +82,9 @@ static int ManagerAdd(Context_t *context, Track_t track) {
if (Tracks == NULL) {
Tracks = malloc(sizeof(Track_t) * TRACKWRAP);
int i;
for (i = 0; i < TRACKWRAP; i++)
Tracks[i].Id = -1;
}
if (Tracks == NULL)

View File

@@ -83,6 +83,9 @@ static int ManagerAdd(Context_t *context, Track_t track) {
if (Tracks == NULL) {
Tracks = malloc(sizeof(Track_t) * TRACKWRAP);
int i;
for (i = 0; i < TRACKWRAP; i++)
Tracks[i].Id = -1;
}
if (Tracks == NULL)

View File

@@ -81,6 +81,9 @@ static int ManagerAdd(Context_t *context, Track_t track) {
if (Tracks == NULL) {
Tracks = malloc(sizeof(Track_t) * TRACKWRAP);
int i;
for (i = 0; i < TRACKWRAP; i++)
Tracks[i].Id = -1;
}
if (Tracks == NULL)