mirror of https://github.com/FFmpeg/FFmpeg.git
Some decoders may not need a writable buffer in some specific cases, but only a reference to the existing buffer with updated frame properties instead, for the purpose of returning duplicate frames. For this, the FF_REGET_BUFFER_FLAG_READONLY flag is added, which will prevent potential allocations and buffer copies when they are not needed. Signed-off-by: James Almer <jamrial@gmail.com>pull/321/head^2
parent
39f1295937
commit
9ea6d2149e
48 changed files with 58 additions and 57 deletions
Loading…
Reference in new issue