avcodec/encode: restructure the old encode API
authorJames Almer <jamrial@gmail.com>
Tue, 9 Jun 2020 21:35:00 +0000 (18:35 -0300)
committerJames Almer <jamrial@gmail.com>
Thu, 18 Jun 2020 20:11:37 +0000 (17:11 -0300)
commit93016f5d1d280f9cb7856883af287fa66affc04c
tree4f479125115fb53b64b7afc9c6447d24ae441e6e
parent827d6fe73d2f5472c1c2128eb14fab6a4db29032
avcodec/encode: restructure the old encode API

Following the same logic as 061a0c14bb, this commit turns the old encode API
into a wrapper for the new one.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/encode.c
libavcodec/internal.h
libavcodec/utils.c