diff options
author | wm4 <wm4@nowhere> | 2018-04-29 20:03:24 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-05-03 01:08:44 +0300 |
commit | e02c9b9902f5bd356088cfbff3b9c333e50f1e47 (patch) | |
tree | 511c7b99c4288cab58d313f29caba78e4f8fdce1 /player/audio.c | |
parent | 0ab3184526e7b9b95c06a3ec7a6674283a5922d0 (diff) | |
download | mpv-e02c9b9902f5bd356088cfbff3b9c333e50f1e47.tar.bz2 mpv-e02c9b9902f5bd356088cfbff3b9c333e50f1e47.tar.xz |
build: make encoding mode non-optional
Makes it easier to not break the build by confusing the ifdeffery.
Diffstat (limited to 'player/audio.c')
-rw-r--r-- | player/audio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/player/audio.c b/player/audio.c index 9b1340ec96..28e7867ca1 100644 --- a/player/audio.c +++ b/player/audio.c @@ -555,9 +555,7 @@ static int write_to_ao(struct MPContext *mpctx, uint8_t **planes, int samples, int format; struct mp_chmap channels; ao_get_format(ao, &samplerate, &format, &channels); -#if HAVE_ENCODING encode_lavc_set_audio_pts(mpctx->encode_lavc_ctx, playing_audio_pts(mpctx)); -#endif if (samples == 0) return 0; double real_samplerate = samplerate / mpctx->audio_speed; |