diff --git a/include/playback_hal.h b/include/playback_hal.h index 7b23057..1b6454d 100644 --- a/include/playback_hal.h +++ b/include/playback_hal.h @@ -22,6 +22,10 @@ #include #include +extern "C" { +#include +} + /* * This is actually the max number that could be returned by * FindAllPids() / FindAllSubs(). @@ -65,6 +69,9 @@ public: void GetMetadata(std::vector /*&keys*/, std::vector /*&values*/){} void GetPts(uint64_t &/*pts*/){} bool SetSubtitlePid(int /*pid*/){return false;} + AVFormatContext *GetAVFormatContext(){return NULL;} + void ReleaseAVFormatContext(){} + // cPlayback(int num = 0); ~cPlayback();