Skip to content
This repository has been archived by the owner on Sep 30, 2018. It is now read-only.

Commit

Permalink
ffmpeg: avfilter depends on avformat
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta committed Apr 15, 2012
1 parent 29091b9 commit d1e06c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/DllAvFilter.h
Expand Up @@ -25,6 +25,7 @@
#endif #endif
#include "DynamicDll.h" #include "DynamicDll.h"
#include "DllAvCodec.h" #include "DllAvCodec.h"
#include "DllAvFormat.h"
#include "DllSwResample.h" #include "DllSwResample.h"
#include "utils/log.h" #include "utils/log.h"


Expand Down Expand Up @@ -203,6 +204,7 @@ class DllAvFilter : public DllDynamic, DllAvFilterInterface
/* dependencies of libavfilter */ /* dependencies of libavfilter */
DllAvUtil m_dllAvUtil; DllAvUtil m_dllAvUtil;
DllSwResample m_dllSwResample; DllSwResample m_dllSwResample;
DllAvFormat m_dllAvFormat;


public: public:
int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name) int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name)
Expand Down Expand Up @@ -251,6 +253,8 @@ class DllAvFilter : public DllDynamic, DllAvFilterInterface
return false; return false;
if (!m_dllSwResample.Load()) if (!m_dllSwResample.Load())
return false; return false;
if (!m_dllAvFormat.Load())
return false;
return DllDynamic::Load(); return DllDynamic::Load();
} }
}; };
Expand Down

0 comments on commit d1e06c2

Please sign in to comment.