player: remove dead code

Fixes CID 1350055 and CID 1350054.
This commit is contained in:
wm4
2016-02-12 16:06:20 +01:00
parent 1cfcc1e1d5
commit 0868546f9d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -366,7 +366,7 @@ int reinit_video_chain_src(struct MPContext *mpctx, struct lavfi_pad *src)
track = mpctx->current_track[0][STREAM_VIDEO];
if (!track)
return 0;
sh = track ? track->stream : NULL;
sh = track->stream;
if (!sh)
goto no_video;
}