Skip to content
Snippets Groups Projects
Commit 6e7e3a38 authored by James Almer's avatar James Almer
Browse files

avcodec: add a get_encode_buffer() callback to AVCodecContext


This callback is functionally the same as get_buffer2() is for decoders, and
implements for the new encode API the functionality of the old encode API had
where the user could provide their own buffers.

Reviewed-by: default avatarLynne <dev@lynne.ee>
Reviewed-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
Reviewed-by: default avatarMark Thompson <sw@jkqxz.net>
Signed-off-by: default avatarJames Almer <jamrial@gmail.com>
parent 2c96e6cb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment