Merged in fix-package-import-mod (pull request #215)

codec/h264: Fix package, import paths and remove go module stuff

Approved-by: kortschak <dan@kortschak.io>
This commit is contained in:
Saxon Milton 2019-07-19 10:48:14 +00:00
commit 269b607606
25 changed files with 28 additions and 40 deletions

View File

@ -1,8 +0,0 @@
module github.com/ausocean/h264decode
go 1.12
require (
github.com/icza/bitio v0.0.0-20180221120200-b25b30b42508
github.com/pkg/errors v0.8.1
)

View File

@ -1,4 +0,0 @@
github.com/icza/bitio v0.0.0-20180221120200-b25b30b42508 h1:2LdkN1icT8cEFyB95fUbPE0TmQL9ZOjUv9MNJ1kg3XE=
github.com/icza/bitio v0.0.0-20180221120200-b25b30b42508/go.mod h1:1+iKpsBoI5fsqBTrjxjM81vidVQcxXCmDrM9vc6EU2w=
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=

View File

@ -1,7 +1,7 @@
package h264
package h264dec
import (
"github.com/ausocean/h264decode/h264/bits"
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
"github.com/pkg/errors"
)

View File

@ -1,4 +1,4 @@
package h264
package h264dec
import "testing"

View File

@ -1,4 +1,4 @@
package h264
package h264dec
// NALU types, as defined in table 7-1 in specifications.
const (

View File

@ -1,4 +1,4 @@
package h264
package h264dec
import (
"errors"

View File

@ -8,7 +8,7 @@ DESCRIPTION
AUTHORS
Saxon Nelson-Milton <saxon@ausocean.org>, The Australian Ocean Laboratory (AusOcean)
*/
package h264
package h264dec
import (
"testing"

View File

@ -1,4 +1,4 @@
package h264
package h264dec
type MN struct {
M, N int

View File

@ -1,7 +1,7 @@
package h264
package h264dec
import (
"github.com/ausocean/h264decode/h264/bits"
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
"github.com/pkg/errors"
)

View File

@ -11,12 +11,12 @@ AUTHORS
mrmod <mcmoranbjr@gmail.com>
*/
package h264
package h264dec
import (
"math"
"github.com/ausocean/h264decode/h264/bits"
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
"github.com/pkg/errors"
)

View File

@ -9,13 +9,13 @@ AUTHOR
Saxon Nelson-Milton <saxon@ausocean.org>, The Australian Ocean Laboratory (AusOcean)
*/
package h264
package h264dec
import (
"bytes"
"testing"
"github.com/ausocean/h264decode/h264/bits"
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
)
// TestReadUe checks that readUe correctly parses an Exp-Golomb-coded element

View File

@ -1,9 +1,9 @@
package h264
package h264dec
import (
"math"
"github.com/ausocean/h264decode/h264/bits"
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
"github.com/pkg/errors"
)

View File

@ -1,4 +1,4 @@
package h264
package h264dec
import "errors"

View File

@ -1,9 +1,9 @@
package h264
package h264dec
import (
"fmt"
"github.com/ausocean/h264decode/h264/bits"
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
)
const (

View File

@ -1,11 +1,11 @@
package h264
package h264dec
import (
"fmt"
"io"
"os"
"github.com/ausocean/h264decode/h264/bits"
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
"github.com/pkg/errors"
)

View File

@ -1,4 +1,4 @@
package h264
package h264dec
import (
// "github.com/nareix/joy4/av"
@ -10,7 +10,7 @@ import (
"os"
"os/signal"
"github.com/ausocean/h264decode/h264/bits"
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
)
// InitialNALU indicates the start of a h264 packet

View File

@ -1,11 +1,11 @@
package h264
package h264dec
import (
"bytes"
"fmt"
"math"
"github.com/ausocean/h264decode/h264/bits"
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
"github.com/pkg/errors"
)

View File

@ -1,4 +1,4 @@
package h264
package h264dec
import "testing"

View File

@ -1,11 +1,11 @@
package h264
package h264dec
import (
"bytes"
"fmt"
"strings"
"github.com/ausocean/h264decode/h264/bits"
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
"github.com/pkg/errors"
)

View File

@ -1,4 +1,4 @@
package h264
package h264dec
type StateTransx struct {
TransIdxLPS, TransIdxMPS int