diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-16 05:00:34 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-23 13:41:05 +0300 |
commit | d3d12332d647d2e9281220b84050518bc3f0cb03 (patch) | |
tree | e29595a243a7f2e9911db08605a9d20c4ce29f19 /mplayer.c | |
parent | 732ee3474ac23a16f0ed7e791c0a5f8160a11ebd (diff) | |
download | mpv-d3d12332d647d2e9281220b84050518bc3f0cb03.tar.bz2 mpv-d3d12332d647d2e9281220b84050518bc3f0cb03.tar.xz |
Declare demuxer *_streams fields with proper types
Give sh_audio_t, sh_video_t and sh_sub_t which before had typedef
names only a matching struct name (without _t) too.
Change the a_streams, v_streams and s_streams demuxer fields from
void * to struct sh_audio *, struct sh_video * and struct sh_sub *.
Remove a now unnecessary cast from mplayer.c.
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3307,7 +3307,7 @@ if (mpctx->stream->type != STREAMTYPE_DVD && mpctx->stream->type != STREAMTYPE_D mpctx->global_sub_indices[SUB_SOURCE_DEMUX] = mpctx->global_sub_size; // the global # of the first demux-specific sub. for (i = 0; i < MAX_S_STREAMS; i++) if (mpctx->demuxer->s_streams[i]) - maxid = FFMAX(maxid, ((sh_sub_t *)mpctx->demuxer->s_streams[i])->sid); + maxid = FFMAX(maxid, mpctx->demuxer->s_streams[i]->sid); mpctx->global_sub_size += maxid + 1; } // Make dvdsub_id always selectable if set. |