prog.cpp:1:6: error: ‘VideoDecoder’ has not been declared
prog.cpp: In function ‘void DecodeThread()’:
prog.cpp:3:5: error: ‘AVPacket’ was not declared in this scope
prog.cpp:3:14: error: expected ‘;’ before ‘pkt’
prog.cpp:5:2: error: ‘uint8_t’ was not declared in this scope
prog.cpp:5:11: error: ‘data’ was not declared in this scope
prog.cpp:7:2: error: ‘uint32_t’ was not declared in this scope
prog.cpp:7:11: error: expected ‘;’ before ‘h’
prog.cpp:9:6: error: ‘_pkt_queue’ was not declared in this scope
prog.cpp:9:23: error: ‘pkt’ was not declared in this scope
prog.cpp:12:9: error: ‘pkt’ was not declared in this scope
prog.cpp:15:2: error: ‘_pkt_pts’ was not declared in this scope
prog.cpp:15:22: error: ‘_video_stream’ was not declared in this scope
prog.cpp:21:52: error: ‘_av_frame’ was not declared in this scope
prog.cpp:21:77: error: ‘avcodec_decode_video2’ was not declared in this scope
prog.cpp:24:5: error: ‘LOG’ was not declared in this scope
prog.cpp:24:10: error: expected ‘;’ before string constant
prog.cpp:30:5: error: ‘VideoFrame’ was not declared in this scope
prog.cpp:30:16: error: expected ‘;’ before ‘video_frame’
prog.cpp:32:5: error: ‘h’ was not declared in this scope
prog.cpp:33:5: error: ‘w’ was not declared in this scope
prog.cpp:35:5: error: ‘video_frame’ was not declared in this scope
prog.cpp:35:43: error: ‘fast_alloc’ was not declared in this scope
prog.cpp:39:75: error: ‘WritePlane’ was not declared in this scope
prog.cpp:44:47: error: ‘GetFramerateDelay’ was not declared in this scope
prog.cpp:46:10: error: ‘_frame_queue’ was not declared in this scope
prog.cpp:48:29: error: ‘fast_free’ was not declared in this scope
prog.cpp:51:25: error: ‘av_free_packet’ was not declared in this scope
prog.cpp:63:21: error: ‘av_free_packet’ was not declared in this scope