mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
libeplayer/container_ffmpeg: correct misplaced brackets
This commit is contained in:
@@ -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__);
|
||||||
|
Reference in New Issue
Block a user