From ab318aeea84f51fa0adcfb09a8a43abc67dae1cd Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 1 Feb 2016 21:32:01 +0100 Subject: 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. --- audio/decode/dec_audio.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'audio/decode/dec_audio.h') 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); -- cgit v1.2.3