git.libav.org Git - libav.git/rss log
Libav master git repository
Les articles publiés sur le site
-
dump : Drop unused variable
21 mai 2016, par Diego Biurrun -
get_bits : Drop some TRACE-level debug code
21 mai 2016, par Diego Biurrun -
lavc : document that avcodec_close() should not be used
21 mai 2016, par Anton Khirnovlavc: document that avcodec_close() should not be used We cannot deprecate it until the new parser API is in place, because of the way libavformat works. But the majority of the users can already simply replace it with avcodec_free_context(), which will simplify the transition once it is finally deprecated.
-
lavc : deprecate avcodec_get_context_defaults3()
21 mai 2016, par Anton Khirnovlavc: deprecate avcodec_get_context_defaults3() This function is supposed to "reset" a codec context to a clean state so that it can be opened again. The only reason it exists is to allow using AVStream.codec as a decoding context (after it was already opened/used/closed by avformat_find_stream_info()). Since that behaviour is now deprecated, there is no reason for this function to exist anymore.
-
lavc : deprecate avcodec_copy_context()
21 mai 2016, par Anton Khirnovlavc: 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.