diff options
Diffstat (limited to 'src/decoder_api.h')
-rw-r--r-- | src/decoder_api.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/decoder_api.h b/src/decoder_api.h index 6e011c39..4ac00142 100644 --- a/src/decoder_api.h +++ b/src/decoder_api.h @@ -36,6 +36,8 @@ #include "audio_format.h" #include "conf.h" +#include <libavutil/frame.h> + #include <stdbool.h> /** @@ -126,10 +128,8 @@ decoder_timestamp(struct decoder *decoder, double t); * @return the current command, or DECODE_COMMAND_NONE if there is no * command pending */ -enum decoder_command -decoder_data(struct decoder *decoder, struct input_stream *is, - const void *data, size_t length, - uint16_t kbit_rate); +enum decoder_command decoder_data(struct decoder *decoder, struct input_stream *is, + AVFrame *frame, uint16_t kbit_rate); /** * This function is called by the decoder plugin when it has |