| synopsis || arguments || prev || next |

mj2_source::get_next_track

Java: Mj2_source::Get_next_track

kdu_uint32 get_next_track( kdu_uint32 prev_track_idx)

Java: long Get_next_track( long prev_track_idx)

[Declared in "../apps/compressed_io/mj2.h"]

Go to class description.


Synopsis

Returns the index of the first track (any kind of track) whose index exceeds prev_track_idx, or 0 if there is none. Since the first valid track index is 1, supplying 0 for the prev_track_idx argument ensures that the first valid track index will be returned. To determine whether the track is a video track or not, you may call access_video_track and see if the returned pointer is NULL or not.


Arguments

prev_track_idx [kdu_uint32]


| top || synopsis || arguments || prev || next |