Skip to content

Commit b49f5c7

Browse files
klintanjihoonl
authored andcommitted
fixed undeclared CODEC_FLAG_GLOBAL_HEADER (#65)
1 parent 0077643 commit b49f5c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/libav_streamer.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#include "web_video_server/libav_streamer.h"
22
#include "async_web_server_cpp/http_reply.hpp"
33

4+
/*https://stackoverflow.com/questions/46884682/error-in-building-opencv-with-ffmpeg*/
5+
#define AV_CODEC_FLAG_GLOBAL_HEADER (1 << 22)
6+
#define CODEC_FLAG_GLOBAL_HEADER AV_CODEC_FLAG_GLOBAL_HEADER
7+
48
namespace web_video_server
59
{
610

0 commit comments

Comments
 (0)