faad: optimize channel remap, avoid potential memcpy
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 20 Mar 2012 15:34:33 +0000 (16:34 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 20 Mar 2012 15:34:33 +0000 (16:34 +0100)
commit5ed4e212215bf24783eec64841194dd39f6cfb72
treea8338e0eebcbef9eb3c5f30a70a81bbedb7580b5
parentc7f9558cc42a8a75c8326f521fe6d84ba5f04a2e
faad: optimize channel remap, avoid potential memcpy

Combine the channel remap and copy in one operation. Calculate the channel remap
table only once, make a shortcut when we are not doing any remapping.
ext/faad/gstfaad.c
ext/faad/gstfaad.h