mirror of https://bitbucket.org/ausocean/av.git
mpegts: fix build
This commit is contained in:
parent
c08a2c079f
commit
e677b9a044
|
@ -28,7 +28,7 @@ LICENSE
|
||||||
package psi
|
package psi
|
||||||
|
|
||||||
type PAT struct {
|
type PAT struct {
|
||||||
PF byte // POint field
|
PF byte // Point field
|
||||||
PFB []byte // pointer filler bytes
|
PFB []byte // pointer filler bytes
|
||||||
TableID byte // Table ID
|
TableID byte // Table ID
|
||||||
SSI bool // Sectiopn syntax indicator (1 for PAT, PMT, CAT)
|
SSI bool // Sectiopn syntax indicator (1 for PAT, PMT, CAT)
|
||||||
|
@ -46,6 +46,6 @@ type PAT struct {
|
||||||
CRC32 uint32 // Checksum of table
|
CRC32 uint32 // Checksum of table
|
||||||
}
|
}
|
||||||
|
|
||||||
type (p *PAT)ToByteSlice()(output []byte){
|
func (p *PAT) ToByteSlice() (output []byte) {
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@ LICENSE
|
||||||
package psi
|
package psi
|
||||||
|
|
||||||
type PMT struct {
|
type PMT struct {
|
||||||
PF byte // POint field
|
PF byte // Point field
|
||||||
PFB []byte // pointer filler bytes
|
PFB []byte // pointer filler bytes
|
||||||
TableID byte // Table ID
|
TableID byte // Table ID
|
||||||
SSI bool // Sectiopn syntax indicator (1 for PAT, PMT, CAT)
|
SSI bool // Sectiopn syntax indicator (1 for PAT, PMT, CAT)
|
||||||
|
@ -43,5 +43,5 @@ type PMT struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *PMT) ToByteSlice() (output []byte) {
|
func (p *PMT) ToByteSlice() (output []byte) {
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue