Permalink
Browse files

ffmpeg: avfilter depends on avformat

  • Loading branch information...
1 parent 29091b9 commit d1e06c28d3eb6cd689b8cbc5b96babe81707baa7 @FernetMenta FernetMenta committed with FernetMenta Apr 15, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/DllAvFilter.h
View
@@ -25,6 +25,7 @@
#endif
#include "DynamicDll.h"
#include "DllAvCodec.h"
+#include "DllAvFormat.h"
#include "DllSwResample.h"
#include "utils/log.h"
@@ -203,6 +204,7 @@ class DllAvFilter : public DllDynamic, DllAvFilterInterface
/* dependencies of libavfilter */
DllAvUtil m_dllAvUtil;
DllSwResample m_dllSwResample;
+ DllAvFormat m_dllAvFormat;
public:
int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name)
@@ -251,6 +253,8 @@ class DllAvFilter : public DllDynamic, DllAvFilterInterface
return false;
if (!m_dllSwResample.Load())
return false;
+ if (!m_dllAvFormat.Load())
+ return false;
return DllDynamic::Load();
}
};

0 comments on commit d1e06c2

Please sign in to comment.