codec/h264/h264dec/slice.go: modularise SliceHeader and SliceData

Issue #113 resolved
Saxon Milton created an issue

SliceHeader and SliceData actually contains fields from other syntax section specified in the specifications. These could probably go in types of their own. This would also lead into simplify the NewSliceData and NewSliceContext functions if we have a few smaller constructor functions that call on each other. Not only this; testing will be much easier.

Comments (1)

  1. Log in to comment