]> git.sesse.net Git - ffmpeg/commit
avcodec/roqvideo: Use dedicated context for encoder
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 27 Feb 2021 14:42:33 +0000 (15:42 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 1 Mar 2021 05:04:46 +0000 (06:04 +0100)
commit1a4a5fb640dda45bd88097c2f9142cc19af29da9
tree19743ef85017c24d9155c8c5cbe6f8e6bb6cdc82
parent4cb989e83631c801718723ad95367fdd561e0ae0
avcodec/roqvideo: Use dedicated context for encoder

Up until now, the RoQ video decoder and encoder used the same context;
and said context contained several fields that are only used by the
encoder. This commit changes this and uses a dedicated context for the
encoder; it contains the common context as first element in order to use
functions common to the de- and encoder.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/roqvideo.h
libavcodec/roqvideoenc.c