Skip to content

Commit dfce20e

Browse files
committed
Temporarily removed debian instructions for test
1 parent df7aa66 commit dfce20e

File tree

2 files changed

+11
-18
lines changed

2 files changed

+11
-18
lines changed

README.md

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,6 @@ On Macintosh with [homebrew](http://bew.sh/), for example:
2323

2424
```bash
2525
brew install ffmpeg chromaprint make
26-
git clone git@github.com:djthorpe/go-media.git
27-
cd go-media
28-
make
29-
```
30-
31-
On Debian Linux:
32-
33-
34-
```bash
35-
sudo apt install libavcodec-dev libavdevice-dev libavfilter-dev \
36-
libavformat-dev libavresample-dev libavutil-dev libchromaprint-dev
37-
git clone git@github.com:djthorpe/go-media.git
38-
cd go-media
39-
make
4026
```
4127

4228
There are some examples in the `cmd` folder of the main repository on how to use
@@ -47,6 +33,14 @@ the package. The various make targets are:
4733
* `make cmd` will build example command-line tools into the `build` folder;
4834
* `make clean` will remove all build artifacts.
4935

36+
For example,
37+
38+
```bash
39+
git clone git@github.com:djthorpe/go-media.git
40+
cd go-media
41+
make
42+
```
43+
5044
## Examples
5145

5246
There are two example [Command Line applications](https://github.com/mutablelogic/go-media/tree/master/cmd):

sys/ffmpeg51/avformat_core.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,9 @@ func AVFormat_avformat_get_class() *AVClass {
6060
////////////////////////////////////////////////////////////////////////////////
6161
// PUBLIC METHODS - AVSTREAM
6262

63-
//Commented out due to not compiling on debian
64-
//func AVFormat_avstream_getclass() *AVClass {
65-
// return (*AVClass)(C.av_stream_get_class())
66-
//}
63+
func AVFormat_avstream_getclass() *AVClass {
64+
return (*AVClass)(C.av_stream_get_class())
65+
}
6766

6867
func AVFormat_avformat_new_stream(oc *AVFormatContext, c *AVCodec) *AVStream {
6968
return (*AVStream)(C.avformat_new_stream((*C.struct_AVFormatContext)(oc), (*C.struct_AVCodec)(c)))

0 commit comments

Comments
 (0)