]> git.sesse.net Git - ffmpeg/commit
lavc: deprecate avcodec_copy_context()
authorAnton Khirnov <anton@khirnov.net>
Sat, 21 May 2016 09:46:44 +0000 (11:46 +0200)
committerAnton Khirnov <anton@khirnov.net>
Mon, 23 May 2016 04:46:17 +0000 (06:46 +0200)
commit5f30ac27795f9f98043e8582ccaad8813104adc4
treec31dc7f98cce49b6b8eaf91c04dd532fb3f43978
parent14634429b915333f3612eaf41db3954222dc4aaf
lavc: deprecate avcodec_copy_context()

Since AVCodecContext contains a lot of complex state, copying a codec
context is not a well-defined operation. The purpose for which it is
typically used (which is well-defined) is copying the stream parameters
from one codec context to another. That is now possible with through the
AVCodecParameters API. Therefore, there is no reason for
avcodec_copy_context() to exist.
libavcodec/avcodec.h
libavcodec/options.c
libavcodec/version.h