[libbluray-devel] Cosmetics

hpi1 git at videolan.org
Wed Sep 12 12:52:13 CEST 2012


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Sep 11 15:20:08 2012 +0300| [279788885490514aa6d862e0298c98bb08ca5fe4] | committer: hpi1

Cosmetics

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=279788885490514aa6d862e0298c98bb08ca5fe4
---

 src/libbluray/bluray.c |   10 +++++-----
 src/libbluray/bluray.h |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index 4199754..244abfb 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -335,9 +335,9 @@ static void _update_clip_psrs(BLURAY *bd, NAV_CLIP *clip)
 
 static void _update_chapter_psr(BLURAY *bd)
 {
-  uint32_t current_chapter = bd_get_current_chapter(bd);
-  bd->next_chapter_start = bd_chapter_pos(bd, current_chapter + 1);
-  bd_psr_write(bd->regs, PSR_CHAPTER,  current_chapter + 1);
+    uint32_t current_chapter = bd_get_current_chapter(bd);
+    bd->next_chapter_start = bd_chapter_pos(bd, current_chapter + 1);
+    bd_psr_write(bd->regs, PSR_CHAPTER,  current_chapter + 1);
 }
 
 /*
@@ -2526,8 +2526,8 @@ const struct meta_dl *bd_get_meta(BLURAY *bd)
 struct clpi_cl *bd_get_clpi(BLURAY *bd, unsigned clip_ref)
 {
     if (bd->title && clip_ref < bd->title->clip_list.count) {
-      NAV_CLIP *clip = &bd->title->clip_list.clip[clip_ref];
-      return clpi_copy(clip->cl);
+        NAV_CLIP *clip = &bd->title->clip_list.clip[clip_ref];
+        return clpi_copy(clip->cl);
     }
     return NULL;
 }
diff --git a/src/libbluray/bluray.h b/src/libbluray/bluray.h
index 97a26f4..07b2831 100644
--- a/src/libbluray/bluray.h
+++ b/src/libbluray/bluray.h
@@ -240,7 +240,7 @@ BLURAY *bd_open(const char* device_path, const char* keyfile_path);
 void bd_close(BLURAY *bd);
 
 /**
- *  Seek to pos in corrently selected title
+ *  Seek to pos in currently selected title
  *
  * @param bd  BLURAY object
  * @param pos position to seek to



More information about the libbluray-devel mailing list