mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 07:37:07 +08:00
Bump github.com/bluenviron/mediacommon from 1.13.4 to 1.14.0 (#694)
Bumps [github.com/bluenviron/mediacommon](https://github.com/bluenviron/mediacommon) from 1.13.4 to 1.14.0. - [Commits](https://github.com/bluenviron/mediacommon/compare/v1.13.4...v1.14.0) --- updated-dependencies: - dependency-name: github.com/bluenviron/mediacommon dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
@@ -262,7 +262,9 @@ func (d *Decoder) removeAnnexB(nalus [][]byte) ([][]byte, error) {
|
||||
nalu = append([]byte{0x00, 0x00, 0x00, 0x01}, nalu...)
|
||||
}
|
||||
|
||||
return h264.AnnexBUnmarshal(nalu)
|
||||
var annexb h264.AnnexB
|
||||
err := annexb.Unmarshal(nalu)
|
||||
return annexb, err
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user