- Removed AVFrame from S302MContext
- Removed legacy avcodec_encode_audio interface.
- Removed unnecessary sanity checks
- Allocate/check packet using ff_alloc_packet2
Updates s302menc.c to only use the encode2 interface.