[libbluray-devel] Cosmetics
hpi1
git at videolan.org
Fri May 15 11:23:27 CEST 2015
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed May 13 14:03:24 2015 +0300| [477a250672a1b02b54382c96624b1b79a02ebd0d] | committer: hpi1
Cosmetics
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=477a250672a1b02b54382c96624b1b79a02ebd0d
---
src/libbluray/disc/disc.c | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/libbluray/disc/disc.c b/src/libbluray/disc/disc.c
index b2c7e5c..ecd53e3 100644
--- a/src/libbluray/disc/disc.c
+++ b/src/libbluray/disc/disc.c
@@ -471,19 +471,19 @@ int disc_cache_bdrom_file(BD_DISC *p, const char *rel_path, const char *cache_pa
BD_FILE_H *disc_open_stream(BD_DISC *disc, const char *file)
{
- BD_FILE_H *fp = disc_open_file(disc, "BDMV" DIR_SEP "STREAM", file);
- if (!fp) {
- return NULL;
- }
-
- if (disc->dec) {
- BD_FILE_H *st = dec_open_stream(disc->dec, fp, atoi(file));
- if (st) {
- return st;
- }
- }
-
- return fp;
+ BD_FILE_H *fp = disc_open_file(disc, "BDMV" DIR_SEP "STREAM", file);
+ if (!fp) {
+ return NULL;
+ }
+
+ if (disc->dec) {
+ BD_FILE_H *st = dec_open_stream(disc->dec, fp, atoi(file));
+ if (st) {
+ return st;
+ }
+ }
+
+ return fp;
}
const uint8_t *disc_get_data(BD_DISC *disc, int type)
More information about the libbluray-devel
mailing list