diff options
author | wm4 <wm4@nowhere> | 2016-02-01 21:32:01 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-02-01 22:03:04 +0100 |
commit | ab318aeea84f51fa0adcfb09a8a43abc67dae1cd (patch) | |
tree | 1c734ae196b8148f35cb65d30596339cadf8e575 /audio/decode/dec_audio.h | |
parent | 07d8a0e142a6f97c39abbf85acbe4adc90c360b1 (diff) | |
download | mpv-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.h | 5 |
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); |