Commit Graph

3 Commits

Author SHA1 Message Date
Saxon 4c04cc033a codec/mjpeg/jpeg.go: renamed fields of putBuffer struct 2020-01-03 19:38:30 +10:30
Saxon 7c8ba0ae4b codec/mjpeg/utils.go: using BigEndian.Uint16 in get16 2020-01-03 17:15:06 +10:30
Saxon 398543ac8e codec/mjpeg: tidying up
Separated my code from code that was ported from ffmpeg (differen copyright). Also added utils.go file to house the putBuffer and bytestream types. Reduced copying and use of bytes.Buffer.
Instead expanded putBuffer functionality so that I can use this throughout process (reduce copying from buffer to buffer).
2020-01-03 17:15:06 +10:30