completed hybrid index system

This commit is contained in:
itsmattkc
2020-01-11 03:45:58 +11:00
parent 5798349f92
commit 5daf126e8d
4 changed files with 44 additions and 82 deletions
-4
View File
@@ -33,8 +33,6 @@ extern "C" {
#include "codec/decoder.h"
#include "codec/waveoutput.h"
//#define CACHE_EVERY_FRAME
/**
* @brief A Decoder derivative that wraps FFmpeg functions as on Olive decoder
*/
@@ -150,13 +148,11 @@ private:
AVPixelFormat ideal_pix_fmt_;
PixelFormat::Format native_pix_fmt_;
#ifndef CACHE_EVERY_FRAME
SwsContext* scale_ctx_;
AVPacket* pkt_;
AVFrame* frame_;
#endif
AVDictionary* opts_;