On 1/4/21 9:34 pm, Zane van Iperen wrote:
The block size is hardcoded, so the buffer size is always known.
Statically allocate the buffer on the stack.

Signed-off-by: Zane van Iperen <z...@zanevaniperen.com>
---
  libavcodec/adpcmenc.c | 7 ++++---
  1 file changed, 4 insertions(+), 3 deletions(-)


Ping on parts 2 and 3.

My concern with part 3 is the re-initialisation of fields from extradata. I'm 
not sure
if it should be done on only init, or on both init and flush.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to