]> git.sesse.net Git - ffmpeg/commit
avcodec/sonic: Don't allocate a temporary buffer for every frame
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 27 Sep 2020 09:34:34 +0000 (11:34 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 6 Nov 2020 12:57:49 +0000 (13:57 +0100)
commit992adc8aaff5ac4b146c4f6bd633870c9ba96ea0
tree2222426c69bee0da08e5ca22801211ee872ca531
parent4b4c7d6e1a700ef6b784b2f0b093e200ed049c20
avcodec/sonic: Don't allocate a temporary buffer for every frame

Instead allocate it together with the buffer that it mirrors.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/sonic.c