Modified how stream & work area sizes are calculated. The hardcoded values were excessively large in some cases and too small in others. This change calculated the size of the output stream buffer based on the size of a frame. The work area size is constant for all frame sizes.
Modified how stream & work area sizes are calculated. The hardcoded values were excessively large in some cases and too small in others. This change calculated the size of the output stream buffer based on the size of a frame. The work area size is constant for all frame sizes.

kfish/libshcodecs,kfish/libshcodecs