Fix pix_fmt for publishing to RTMP servers

This commit is contained in:
Alex X
2024-05-25 16:47:57 +03:00
parent 0bd2fcde54
commit 268629f551
4 changed files with 151 additions and 9 deletions
+4
View File
@@ -131,3 +131,7 @@ func (r *Reader) ReadSEGolomb() int32 {
func (r *Reader) Left() []byte {
return r.buf[r.pos:]
}
func (r *Reader) Pos() (int, byte) {
return r.pos - 1, r.bits
}