ffmpegdecoder: removed all old code to clean up
This commit is contained in:
@@ -34,8 +34,6 @@ extern "C" {
|
||||
#include "codec/waveoutput.h"
|
||||
#include "project/item/footage/videostream.h"
|
||||
|
||||
//#define USE_VIDEO_INDEX
|
||||
|
||||
/**
|
||||
* @brief A Decoder derivative that wraps FFmpeg functions as on Olive decoder
|
||||
*/
|
||||
@@ -117,12 +115,8 @@ private:
|
||||
|
||||
AVPacket* pkt_;
|
||||
|
||||
#ifdef USE_VIDEO_INDEX
|
||||
AVFrame* frame_;
|
||||
#else
|
||||
AVFrame* frames_[2];
|
||||
AVFrame* last_retrieved_frame_;
|
||||
#endif
|
||||
|
||||
AVDictionary* opts_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user