Skip to content

Commit

Permalink
ffmpeg: add libswscle ldlfags and header
Browse files Browse the repository at this point in the history
  • Loading branch information
nareix committed Aug 16, 2016
1 parent 37be18a commit 9697988
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cgo/ffmpeg/ffmpeg.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ffmpeg

/*
#cgo LDFLAGS: -lavformat -lavutil -lavcodec -lavresample
#cgo LDFLAGS: -lavformat -lavutil -lavcodec -lavresample -lswscale
#include "ffmpeg.h"
void ffinit() {
av_register_all();
Expand Down
1 change: 1 addition & 0 deletions cgo/ffmpeg/ffmpeg.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <libavresample/avresample.h>
#include <libavutil/opt.h>
#include <string.h>
#include <libswscale/swscale.h>

typedef struct {
AVCodec *codec;
Expand Down

0 comments on commit 9697988

Please sign in to comment.