diff options
author | wm4 <wm4@nowhere> | 2013-05-06 20:58:54 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-06 23:11:11 +0200 |
commit | 885c6a2610619ad3ee2b01ae7ec7670f8551d388 (patch) | |
tree | 7a9d2d4f9516c417e15e16613bb71a87f1feca3f /demux/demux_ts.c | |
parent | ab776adeceb4b9b6ce7adde5a857ffc1e4b2c4ae (diff) |
Fix some cppcheck / scan-build warnings
These were found by the cppcheck and scan-build static analyzers. Most
of these aren't interesting (the 2 previous commits fix some interesting
cases found by these analyzers), and they don't nearly fix all warnings.
(Most of the unfixed warnings are spam, things MPlayer never cared
about, or false positives.)
Diffstat (limited to 'demux/demux_ts.c')
-rw-r--r-- | demux/demux_ts.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/demux/demux_ts.c b/demux/demux_ts.c index 40675fa6f5..8b2a2d84ba 100644 --- a/demux/demux_ts.c +++ b/demux/demux_ts.c @@ -1024,11 +1024,6 @@ static demuxer_t *demux_open_ts(demuxer_t * demuxer) demuxer->priv = priv; - if(demuxer->stream->type != STREAMTYPE_FILE) - demuxer->seekable = 1; - else - demuxer->seekable = 1; - params.atype = params.vtype = params.stype = UNKNOWN; params.apid = demuxer->audio->id; |