avuidec: convert to refcounted frames
bfi: fix compilation
bintext: convert to refcounted frames