channels and channel layout matchs
fix audio decode error if a packet can not be decoded once
end packet should be empty while it was last packet data before