Fix enc/dec mismatch in ext-partition and cdef BUG=aomedia:455 Change-Id: I97ecab4f01417734c83a9b8886f145236c9b38a5