libeplayer/container_ffmpeg: correct misplaced brackets

Origin commit data
------------------
Branch: master
Commit: 093fcac8fd
Author: martii <m4rtii@gmx.de>
Date: 2013-07-21 (Sun, 21 Jul 2013)


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

------------------
This commit was generated by Migit
This commit is contained in:
martii
2013-07-21 19:50:14 +02:00
parent 659bc1dc19
commit aa46b435b8

View File

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