[libbluray-devel] Cosmetics
hpi1
git at videolan.org
Fri Oct 30 11:51:35 CET 2015
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Oct 15 21:32:59 2015 +0300| [abd342f081f18f712c43574cc4c847901cf8833d] | committer: hpi1
Cosmetics
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=abd342f081f18f712c43574cc4c847901cf8833d
---
src/libbluray/bdnav/navigation.c | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)
diff --git a/src/libbluray/bdnav/navigation.c b/src/libbluray/bdnav/navigation.c
index 31909ef..39be4b7 100644
--- a/src/libbluray/bdnav/navigation.c
+++ b/src/libbluray/bdnav/navigation.c
@@ -535,22 +535,24 @@ void nav_title_close(NAV_TITLE *title)
return;
if (title->sub_path) {
- for (ss = 0; ss < title->sub_path_count; ss++) {
- if (title->sub_path[ss].clip_list.clip) {
- for (ii = 0; ii < title->sub_path[ss].clip_list.count; ii++) {
- clpi_free(title->sub_path[ss].clip_list.clip[ii].cl);
- }
- X_FREE(title->sub_path[ss].clip_list.clip);
+ for (ss = 0; ss < title->sub_path_count; ss++) {
+ if (title->sub_path[ss].clip_list.clip) {
+ for (ii = 0; ii < title->sub_path[ss].clip_list.count; ii++) {
+ clpi_free(title->sub_path[ss].clip_list.clip[ii].cl);
+ }
+ X_FREE(title->sub_path[ss].clip_list.clip);
+ }
}
+ X_FREE(title->sub_path);
}
- X_FREE(title->sub_path);
- }
+
if (title->clip_list.clip) {
- for (ii = 0; ii < title->clip_list.count; ii++) {
- clpi_free(title->clip_list.clip[ii].cl);
- }
- X_FREE(title->clip_list.clip);
+ for (ii = 0; ii < title->clip_list.count; ii++) {
+ clpi_free(title->clip_list.clip[ii].cl);
+ }
+ X_FREE(title->clip_list.clip);
}
+
mpls_free(title->pl);
X_FREE(title->chap_list.mark);
X_FREE(title->mark_list.mark);
More information about the libbluray-devel
mailing list