nuv: Reuse the DSPContext from RTJpegContext
authorDiego Biurrun <diego@biurrun.de>
Wed, 29 Jan 2014 17:04:55 +0000 (18:04 +0100)
committerDiego Biurrun <diego@biurrun.de>
Sat, 22 Mar 2014 13:17:29 +0000 (06:17 -0700)
commit1df0b061621b10edde87e3ab7ea83aed381c574f
tree384f82fbd80482a233f832219a9399d5d8ecc29e
parent46caba4a65237c006ab54b0c16ecc00d21dedda1
nuv: Reuse the DSPContext from RTJpegContext

There is no point in populating NuvContext with another DSPContext.

Also split static and dynamic initialization bits to avoid running the
static initialization parts over and over.
libavcodec/nuv.c
libavcodec/rtjpeg.c
libavcodec/rtjpeg.h