Skip to content

Commit dca212b

Browse files
committed
removed travis , small change to doc and comments
1 parent 8a795c2 commit dca212b

3 files changed

Lines changed: 4 additions & 12 deletions

File tree

.travis.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
## program written in [GO](https://golang.org)
66

7-
[![Build Status](https://travis-ci.com/squeeze69/vcodec.svg?branch=master)](https://travis-ci.com/squeeze69/vcodec)
8-
97
Scan a RIFF file for the "vids" section, then exit with an error level 1 if the video codec is listed on the command line. The "heavy lift" is made by the image/riff library.
108

9+
It's partially based on one of the examples in the image/riff section (the read chunk,etc...).
10+
1111
i.e.:
1212

1313
vcodec file.avi DIV3 DX50 ...

vcodec.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ func main2() {
3434
log.Fatal(err)
3535
}
3636
defer f.Close()
37+
// check for a matching codec, case insensitive
3738
defer func() {
3839
if r := recover(); r != nil {
3940
fmt.Printf("Codec: %s\n", r)
@@ -56,6 +57,7 @@ func main2() {
5657
}
5758
}
5859

60+
//scan riff for chunk data
5961
func scanriff(r *riff.Reader) error {
6062
for {
6163
chunkID, chunkLen, chunkData, err := r.Next()

0 commit comments

Comments
 (0)