diff options
| author | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2005-04-19 09:17:03 +0000 |
|---|---|---|
| committer | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2005-04-19 09:17:03 +0000 |
| commit | 2cbcbb25b0ea33ae228e840d216f628329e92650 (patch) | |
| tree | 3b2cd9c44631d9f828c664796b539bd4ae5ccd2d /mj2 | |
| parent | 5197135a0aaf90317355dcd0e6f94635953af4b9 (diff) | |
Standard movie initialisation slightely modified
Diffstat (limited to 'mj2')
| -rw-r--r-- | mj2/mj2.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -181,6 +181,9 @@ int mj2_init_stdmovie(mj2_movie_t * movie) for (i = 0; i < movie->num_htk + movie->num_stk + movie->num_vtk; i++) { mj2_tk_t *tk = &movie->tk[i]; movie->next_tk_id++; + tk->jp2_struct.comps = NULL; + tk->jp2_struct.cl = NULL; + if (tk->track_type == 0) { if (tk->num_samples == 0) return 1; @@ -256,6 +259,10 @@ int mj2_init_stdmovie(mj2_movie_t * movie) tk->visual_w = tk->w << 16; tk->visual_h = tk->h << 16; } + else { + tk->num_br = 0; + tk->jp2xdata = NULL; + } } return 0; } |
