ffmpeg: add libswscle ldlfags and header
This commit is contained in:
parent
37be18afca
commit
96979889d0
@ -1,7 +1,7 @@
|
|||||||
package ffmpeg
|
package ffmpeg
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo LDFLAGS: -lavformat -lavutil -lavcodec -lavresample
|
#cgo LDFLAGS: -lavformat -lavutil -lavcodec -lavresample -lswscale
|
||||||
#include "ffmpeg.h"
|
#include "ffmpeg.h"
|
||||||
void ffinit() {
|
void ffinit() {
|
||||||
av_register_all();
|
av_register_all();
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
#include <libavresample/avresample.h>
|
#include <libavresample/avresample.h>
|
||||||
#include <libavutil/opt.h>
|
#include <libavutil/opt.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <libswscale/swscale.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
AVCodec *codec;
|
AVCodec *codec;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user