[libbluray-devel] Cosmetics
hpi1
git at videolan.org
Mon Aug 27 11:36:02 CEST 2018
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Aug 27 11:10:55 2018 +0300| [145482f2f71fbf80f950a7204595a45097914b16] | committer: hpi1
Cosmetics
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=145482f2f71fbf80f950a7204595a45097914b16
---
src/libbluray/bdnav/navigation.c | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/src/libbluray/bdnav/navigation.c b/src/libbluray/bdnav/navigation.c
index b7e57018..f72d2535 100644
--- a/src/libbluray/bdnav/navigation.c
+++ b/src/libbluray/bdnav/navigation.c
@@ -718,24 +718,24 @@ NAV_TITLE* nav_title_open(BD_DISC *disc, const char *playlist, unsigned angle)
// Find length in packets and end_pkt for each clip
if (title->pl->list_count) {
- title->clip_list.count = title->pl->list_count;
- title->clip_list.clip = calloc(title->pl->list_count, sizeof(NAV_CLIP));
- if (!title->clip_list.clip) {
- _nav_title_close(title);
- return NULL;
- }
- title->packets = 0;
- for (ii = 0; ii < title->pl->list_count; ii++) {
- MPLS_PI *pi;
- NAV_CLIP *clip;
+ title->clip_list.count = title->pl->list_count;
+ title->clip_list.clip = calloc(title->pl->list_count, sizeof(NAV_CLIP));
+ if (!title->clip_list.clip) {
+ _nav_title_close(title);
+ return NULL;
+ }
+ title->packets = 0;
+ for (ii = 0; ii < title->pl->list_count; ii++) {
+ MPLS_PI *pi;
+ NAV_CLIP *clip;
- pi = &title->pl->play_item[ii];
+ pi = &title->pl->play_item[ii];
- clip = &title->clip_list.clip[ii];
+ clip = &title->clip_list.clip[ii];
- _fill_clip(title, pi->clip, pi->connection_condition, pi->in_time, pi->out_time, pi->angle_count,
- clip, ii, &pos, &time);
- }
+ _fill_clip(title, pi->clip, pi->connection_condition, pi->in_time, pi->out_time, pi->angle_count,
+ clip, ii, &pos, &time);
+ }
}
// sub paths
More information about the libbluray-devel
mailing list