create own namespace for ffmpeg components
This commit is contained in:
@@ -5,7 +5,7 @@ extern "C" {
|
||||
#include <libavcodec/avcodec.h>
|
||||
}
|
||||
|
||||
namespace engine {
|
||||
namespace engine::ffmpeg {
|
||||
|
||||
void CodecContext::Deleter::operator()(AVCodecContext *p) const {
|
||||
avcodec_free_context(&p);
|
||||
@@ -64,4 +64,4 @@ int CodecContext::channels() const {
|
||||
return m_ctx ? m_ctx->ch_layout.nb_channels : 0;
|
||||
}
|
||||
|
||||
} // namespace engine
|
||||
} // namespace engine::ffmpeg
|
||||
|
||||
Reference in New Issue
Block a user