summaryrefslogtreecommitdiffstats
path: root/player/audio.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-02-12 16:05:46 +0100
committerwm4 <wm4@nowhere>2016-02-12 16:06:20 +0100
commit0868546f9d7b69feb53c150ed508d5eb56274f86 (patch)
tree372ca8c8fcbe900edbeb19da23284098c04e9dca /player/audio.c
parent1cfcc1e1d5831d73eaf20a942e800b89bc7598b5 (diff)
downloadmpv-0868546f9d7b69feb53c150ed508d5eb56274f86.tar.bz2
mpv-0868546f9d7b69feb53c150ed508d5eb56274f86.tar.xz
player: remove dead code
Fixes CID 1350055 and CID 1350054.
Diffstat (limited to 'player/audio.c')
-rw-r--r--player/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/audio.c b/player/audio.c
index 966c998e12..2a0614c259 100644
--- a/player/audio.c
+++ b/player/audio.c
@@ -420,7 +420,7 @@ void reinit_audio_chain_src(struct MPContext *mpctx, struct lavfi_pad *src)
track = mpctx->current_track[0][STREAM_AUDIO];
if (!track)
return;
- sh = track ? track->stream : NULL;
+ sh = track->stream;
if (!sh) {
uninit_audio_out(mpctx);
goto no_audio;