mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 23:13:18 +08:00
player: remove dead code
Fixes CID 1350055 and CID 1350054.
This commit is contained in:
+1
-1
@@ -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
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user