summaryrefslogtreecommitdiffstats
path: root/audio/decode/dec_audio.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-02-01 21:32:01 +0100
committerwm4 <wm4@nowhere>2016-02-01 22:03:04 +0100
commitab318aeea84f51fa0adcfb09a8a43abc67dae1cd (patch)
tree1c734ae196b8148f35cb65d30596339cadf8e575 /audio/decode/dec_audio.h
parent07d8a0e142a6f97c39abbf85acbe4adc90c360b1 (diff)
downloadmpv-ab318aeea84f51fa0adcfb09a8a43abc67dae1cd.tar.bz2
mpv-ab318aeea84f51fa0adcfb09a8a43abc67dae1cd.tar.xz
audio/video: merge decoder return values
Will be helpful for the coming filter support. I planned on merging audio/video decoding, but this will have to wait a bit longer, so only remove the duplicate status codes.
Diffstat (limited to 'audio/decode/dec_audio.h')
-rw-r--r--audio/decode/dec_audio.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/audio/decode/dec_audio.h b/audio/decode/dec_audio.h
index 90451ef787..a7f878bee7 100644
--- a/audio/decode/dec_audio.h
+++ b/audio/decode/dec_audio.h
@@ -52,11 +52,6 @@ int audio_init_best_codec(struct dec_audio *d_audio);
void audio_uninit(struct dec_audio *d_audio);
void audio_work(struct dec_audio *d_audio);
-
-#define AUDIO_OK 1
-#define AUDIO_WAIT 0
-#define AUDIO_EOF -1
-#define AUDIO_SKIP -2
int audio_get_frame(struct dec_audio *d_audio, struct mp_audio **out_frame);
void audio_reset_decoding(struct dec_audio *d_audio);