]> git.sesse.net Git - ffmpeg/commit
error_resilience: move the MECmpContext initialization into ER code
authorAnton Khirnov <anton@khirnov.net>
Sat, 17 Jan 2015 16:16:20 +0000 (17:16 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 27 Jan 2015 08:07:59 +0000 (09:07 +0100)
commitcf1e0786ed64e69614760bfb4ecd7adbde8e6094
tree3f9950cdc5d877b7d21ed8de8508b75e294d7bf3
parenta7e0380497306d9723dec8440a4c52e8bf0263cf
error_resilience: move the MECmpContext initialization into ER code

Currently, it needs to be initialized by the ER caller (which is
currently either a mpegvideo decoder or h264dec). However, since none of
those decoders use MECmpContext for anything except ER, it makes more
sense to handle it purely inside ER.
libavcodec/error_resilience.c
libavcodec/error_resilience.h
libavcodec/h264.c
libavcodec/h264.h
libavcodec/h264_slice.c
libavcodec/mpegvideo.c