libeplayer/container_ffmpeg: correct misplaced brackets

This commit is contained in:
martii
2013-07-21 19:50:14 +02:00
committed by Stefan Seyfried
parent 8ba924c471
commit c212dae7b1

View File

@@ -671,9 +671,7 @@ static void FFMPEGThread(Context_t *context) {
ffmpeg_err("writing data to audio device failed\n");
}
}
}
if (subtitleTrack && (subtitleTrack->Id == pid)) {
} else if (subtitleTrack && (subtitleTrack->Id == pid)) {
float duration=3.0;
ffmpeg_printf(100, "subtitleTrack->stream %p \n", subtitleTrack->stream);
@@ -820,10 +818,10 @@ static void FFMPEGThread(Context_t *context) {
//ffmpeg_err("writing data to teletext fifo failed\n");
}
}
}
if (packet.data)
av_free_packet(&packet);
}
else {
ffmpeg_err("no data ->end of file reached ? \n");
releaseMutex(FILENAME, __FUNCTION__,__LINE__);