From c1cb78d574c0429aa5e3ff3a2b3886e4bc153212 Mon Sep 17 00:00:00 2001 From: bbergeron Date: Wed, 3 Apr 2024 17:32:01 -0400 Subject: Reset Git repo and use a pseudonym to sign commits I used to sign my commits with my real name and my personal email address, which I wanted scrubbed off the "B." pseudosphere. Re-creating a new git repository was safer than simpler than re-writing the history (although the latter could've also worked but, oh well). --- audio/decoder.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 audio/decoder.h (limited to 'audio/decoder.h') diff --git a/audio/decoder.h b/audio/decoder.h new file mode 100644 index 0000000..bb7f7b1 --- /dev/null +++ b/audio/decoder.h @@ -0,0 +1,16 @@ +#ifndef AUDIO_DECODER_H_ +#define AUDIO_DECODER_H_ + +#include +#include +#include + +struct Decoder { AVCodecContext *avctx; }; + +int decoder_init (struct Decoder *decoder, const AVCodecParameters *codecpar, AVDictionary **opts); +int decoder_send (struct Decoder *decoder, const AVPacket *pkt); +int decoder_convert (struct Decoder *decoder, AVFrame *out); +void decoder_free (struct Decoder *decoder); +int decoder_init_for_stream (struct Decoder *decoder, const AVStream *stream, AVDictionary **opts); + +#endif // AUDIO_DECODER_H_ -- cgit v1.2.3