summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-12-10 22:39:43 +0200
committerUoti Urpala <uau@mplayer2.org>2012-03-25 22:30:37 +0300
commit4f1e4eae993a22eff4561c7c05f723f6c9ff94b8 (patch)
tree98ad365a282453b1929450d2d412ea6afa026316 /libmpdemux
parentfd50478659e56db84e8564434702cdc8291ac854 (diff)
downloadmpv-4f1e4eae993a22eff4561c7c05f723f6c9ff94b8.tar.bz2
mpv-4f1e4eae993a22eff4561c7c05f723f6c9ff94b8.tar.xz
cosmetics: misc minor cleanups
The deleted ZRM* things were only relevant to vo_zr, which was deleted earlier.
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_lavf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demux_lavf.c b/libmpdemux/demux_lavf.c
index 5fb66adb9d..f8311e215c 100644
--- a/libmpdemux/demux_lavf.c
+++ b/libmpdemux/demux_lavf.c
@@ -517,7 +517,7 @@ static void handle_stream(demuxer_t *demuxer, AVFormatContext *avfc, int i)
AVCodec *avc = avcodec_find_decoder(codec->codec_id);
const char *codec_name = avc ? avc->name : "unknown";
if (!avc && *stream_type == 's' && demuxer->s_streams[i])
- codec_name = sh_sub_type2str(((sh_sub_t *)demuxer->s_streams[i])->type);
+ codec_name = sh_sub_type2str((demuxer->s_streams[i])->type);
mp_msg(MSGT_DEMUX, MSGL_INFO, "[lavf] stream %d: %s (%s), -%cid %d",
i, stream_type, codec_name, *stream_type, stream_id);
if (lang && lang->value && *stream_type != 'v')